From owner-freebsd-stable Wed Jul 31 6: 4:34 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 649DD37B43A for ; Wed, 31 Jul 2002 06:04:23 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8E9443E31 for ; Wed, 31 Jul 2002 06:04:22 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g6VD4Mc9081376; Wed, 31 Jul 2002 06:04:22 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g6VD4Mk8081375; Wed, 31 Jul 2002 06:04:22 -0700 (PDT) Date: Wed, 31 Jul 2002 06:04:22 -0700 (PDT) From: David Wolfskill Message-Id: <200207311304.g6VD4Mk8081375@bunrab.catwhisker.org> To: freebsd-stable@FreeBSD.ORG, jschlesn@physik.TU-Berlin.DE Subject: Re: make buildkernel problem In-Reply-To: <20020731145955.A1313@physik.TU-Berlin.DE> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Date: Wed, 31 Jul 2002 14:59:55 +0200 >From: Jan Schlesner >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