| Summary: | 4.6-STABLE kernel build breaks in sys/net/zlib.c | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Mark Peglow <mrp> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.6-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Fixed in rev. 1.7.2.1 src/sys/net/zlib.h. |
After doing a cvsup this morning, the build of the kernel breaks at: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/net/zlib.c In file included from /usr/src/sys/net/zlib.c:58: /usr/src/sys/sys/systm.h:116: conflicting types for `crc32' /usr/src/sys/net/zlib.h:961: previous declaration of `crc32' /usr/src/sys/sys/systm.h:116: warning: redundant redeclaration of `crc32' in same scope /usr/src/sys/net/zlib.h:961: warning: previous declaration of `crc32' *** Error code 1 Stop in /usr/obj/usr/src/sys/EUROPA. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Two hours earlier, the system rebuilt fine (I noticed the problem when rebuilding other systems and I used mine to verify that it was a problem). The following changes may have some effect on this: Checkout src/sys/libkern/crc32.c Edit src/sys/sys/systm.h Add delta 1.111.2.15 2002.07.31.09.08.34 imp from this cvs commit: imp 2002/07/31 02:08:35 PDT Modified files: (Branch: RELENG_4) sys/conf files sys/sys systm.h Added files: (Branch: RELENG_4) sys/libkern crc32.c Log: MFC: phk's crc32 stuff + one typo fix. Stuff depending on this will be merged shortly. Revision Changes Path 1.340.2.108 +2 -1 src/sys/conf/files 1.1.2.1 +107 -0 src/sys/libkern/crc32.c (new) 1.111.2.15 +2 -0 src/sys/sys/systm.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message As this occured between the first build of the kernel and the second. How-To-Repeat: cvsup and make buildkernel after this commit (I use cvsup6).