Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 1997 22:25:41 +0200 (CEST)
From:      Leif Neland <root@leif.roskildebc.dk>
To:        freebsd-questions@freebsd.org
Subject:   Can't compile current kernel
Message-ID:  <Pine.BSF.3.96.970912221741.1334A-100000@leif.roskildebc.dk>

next in thread | raw e-mail | index | archive | help
I have cvsup'ed the current kernel-source, I think, here is the
cvsup-file:
-------------------------------------------
*default host=cvsup.de.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
src-base
src-bin
src-contrib
src-etc
src-gnu
src-include
src-lib
src-libexec
src-release
src-sbin
src-share
src-sys
src-tools
src-usrbin
src-usrsbin
------------------------------
But I get this error, when I try to compile a GENERIC kernel:

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include -DFAILSAFE -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -include o
pt_global.h  ../../pci/if_de.c
../../pci/if_de.c: In function `tulip_addr_filter':
../../pci/if_de.c:2921: storage size of `step' isn't known
../../pci/if_de.c:2979: warning: implicit declaration of function `ETHER_FIRST_MULTI'
../../pci/if_de.c:2981: dereferencing pointer to incomplete type
../../pci/if_de.c:2981: dereferencing pointer to incomplete type
../../pci/if_de.c:2982: dereferencing pointer to incomplete type
../../pci/if_de.c:2989: warning: implicit declaration of function `ETHER_NEXT_MULTI'
../../pci/if_de.c:3030: dereferencing pointer to incomplete type
../../pci/if_de.c:3030: dereferencing pointer to incomplete type
../../pci/if_de.c:3031: dereferencing pointer to incomplete type
../../pci/if_de.c:3032: dereferencing pointer to incomplete type
../../pci/if_de.c:3033: dereferencing pointer to incomplete type
../../pci/if_de.c: In function `tulip_ifioctl':
../../pci/if_de.c:4313: warning: implicit declaration of function `ether_addmulti'
../../pci/if_de.c:4315: warning: implicit declaration of function `ether_delmulti'
../../pci/if_de.c: In function `tulip_pci_attach':
../../pci/if_de.c:5067: request for member `cfg1' in something not a structure or union
../../pci/if_de.c:5067: request for member `cfg1' in something not a structure or union
*** Error code 1

Stop.
--------------------------------------------------------------------------
I have also tried a "make world" in /usr/src, but it stops here:
--------------------------------------------------------------------------
===> sys/i386/boot/biosboot
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -DDO_BAD144 -DVESA_SUPPORT -I/usr/src/sys/i386/boot/biosboot/../../.. -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -DCOMCONSOLE=0x3F8 -DCONSPEED=9600   -c /usr/src/sys/i386/boot/biosboot/table.c
In file included from /usr/src/sys/i386/boot/biosboot/boot.h:34,
                 from /usr/src/sys/i386/boot/biosboot/table.c:53:
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:163: parse error before `ufs_daddr_t'
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:163: warning: no semicolon at end of struct or union
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:164: warning: data definition has no type or storage class
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:165: parse error before `fs_iblkno'
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:165: warning: data definition has no type or storage class
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:166: parse error before `fs_dblkno'
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:166: warning: data definition has no type or storage class
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:206: parse error before `fs_csaddr'
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:206: warning: data definition has no type or storage class
/usr/src/sys/i386/boot/biosboot/../../../ufs/ffs/fs.h:248: parse error before `}'
In file included from /usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/inode.h:45,
                 from /usr/src/sys/i386/boot/biosboot/boot.h:36,
                 from /usr/src/sys/i386/boot/biosboot/table.c:53:
/usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/dinode.h:86: parse error before `ufs_daddr_t'
/usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/dinode.h:86: warning: no semicolon at end of struct or union
/usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/dinode.h:87: warning: data definition has no type or storage class
/usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/dinode.h:94: parse error before `}'
In file included from /usr/src/sys/i386/boot/biosboot/boot.h:36,
                 from /usr/src/sys/i386/boot/biosboot/table.c:53:
/usr/src/sys/i386/boot/biosboot/../../../ufs/ufs/inode.h:94: field `i_din' has incomplete type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

---------------------------------------------------------------------------
What now?

Leif Neland





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970912221741.1334A-100000>