Date: Wed, 31 Jul 2002 06:04:22 -0700 (PDT) From: David Wolfskill <david@catwhisker.org> To: freebsd-stable@FreeBSD.ORG, jschlesn@physik.TU-Berlin.DE Subject: Re: make buildkernel problem Message-ID: <200207311304.g6VD4Mk8081375@bunrab.catwhisker.org> In-Reply-To: <20020731145955.A1313@physik.TU-Berlin.DE>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Wed, 31 Jul 2002 14:59:55 +0200 >From: Jan Schlesner <jschlesn@physik.TU-Berlin.DE> >I have a problem by building a kernel. I've cvsupped today. A "make >buildworld" works fine. By doing a "make buildkernel" the following >problem occur: >===> if_ppp >... >In file included from >/export/src/FreeBSD/FreeBSD-stable/src/sys/modules/if_ppp/../../net/ppp_deflate.c:37: >@/net/zlib.h:961: conflicting types for `crc32' >@/sys/systm.h:116: previous declaration of `crc32' >@/net/zlib.h:961: warning: redundant redeclaration of `crc32' in same >scope >@/sys/systm.h:116: warning: previous declaration of `crc32' >*** Error code 1 Right. I (just recently) sent Warner a note about it. The following patch allowed my kernel to build & boot, but I don't use PPP, so I haven't actually tested the functionality: Index: sys/sys/systm.h =================================================================== RCS file: /cvs/freebsd/src/sys/sys/systm.h,v retrieving revision 1.111.2.15 diff -u -r1.111.2.15 systm.h --- sys/sys/systm.h 31 Jul 2002 09:08:34 -0000 1.111.2.15 +++ sys/sys/systm.h 31 Jul 2002 12:36:32 -0000 @@ -113,7 +113,6 @@ void cpu_boot __P((int)); void cpu_rootconf __P((void)); extern uint32_t crc32_tab[]; -uint32_t crc32(const void *buf, size_t size); void init_param1 __P((void)); void init_param2 __P((int physpages)); void tablefull __P((const char *)); [The patch does a partial backout of an MFC.] Cheers, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between Microsoft and the discipline of systems administration, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207311304.g6VD4Mk8081375>