Subject: problems with current 19.02.1996 source tree
To: None <current-users@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: current-users
Date: 02/19/1996 17:59:28
Hello!

With the current 19.02.1996 source tree I got the following problems:

1) /src/sbin/mount_nfs:
cc -O -DNFS  -Werror  -c /amd/home/milano/source/netbsd-src/sbin/mount_nfs/mount
_nfs.c
/amd/home/milano/source/netbsd-src/sbin/mount_nfs/mount_nfs.c:93: mntopts.h: No 
such file or directory
*** Error code 1

2) kernel compile:
  a) /src/sys/netinet/in_proto.c trys to #include <netinet/mroute.h>
     which does not exist, I fixed that with:
*** ./sys/netinet/in_proto.c-orig       Fri Feb 16 14:34:07 1996
--- ./sys/netinet/in_proto.c    Sun Feb 18 14:23:24 1996
***************
*** 80,86 ****
  #endif /* EON */
  
  #ifdef MROUTING
! #include <netinet/mroute.h>
  #endif /* MROUTING */
  
  extern        struct domain inetdomain;
--- 80,86 ----
  #endif /* EON */
  
  #ifdef MROUTING
! #include <netinet/ip_mroute.h>
  #endif /* MROUTING */
  
  extern        struct domain inetdomain;


  b) /src/sys/netinet/raw_ip.c does not declare local int error, I fixed that
     with:
*** ./sys/netinet/raw_ip.c-orig Fri Feb 16 14:34:13 1996
--- ./sys/netinet/raw_ip.c      Mon Feb 19 17:17:04 1996
***************
*** 204,209 ****
--- 204,210 ----
        struct mbuf **m;
  {
        register struct inpcb *inp = sotoinpcb(so);
+       int error = 0;
  
        if (level != IPPROTO_IP) {
                if (m != 0 && *m != 0)


So had anyone else those problems too and know the "official" fixes, especially
for point 1)?

Thanx for any help in advance!

Greets
      Thorsten