From owner-freebsd-stable Tue May 30 15:19:49 2000 Delivered-To: freebsd-stable@freebsd.org Received: from sinia.com (c2.sinia.com [64.14.20.140]) by hub.freebsd.org (Postfix) with ESMTP id 3B2B837B514 for ; Tue, 30 May 2000 15:19:43 -0700 (PDT) (envelope-from bharat@sinia.com) Received: from shadow ([10.0.4.29]) by sinia.com (8.9.3/8.9.3) with SMTP id PAA33698 for ; Tue, 30 May 2000 15:21:19 -0700 (PDT) (envelope-from bharat@sinia.com) From: "Bharat Mediratta" To: Subject: GENERIC 4.0 kernel compile fails on in_cksum.c Date: Tue, 30 May 2000 15:19:41 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, guys -- I've seen this problem posted before to this mailing list, but I was unable to find the answer in either the FreeBSD or the Geocrawler indicies of this mailing list. So I'm trying again. I am trying to upgrade my 3.4 box to 4.0. I just cvsup'd the latest source with this supfile (I've cvsup'd several times, so I think that rules out cvsup conflicting with a putback): *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix *default compress src-all cvs-crypto ports-all tag=. My compiler: # cc --version 2.7.2.3 Then, I followed these directions: # cd /usr/src/sys/i386/conf # config GENERIC # cd ../../compile/GENERIC # make depend # make It always dies with: cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-exte rns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuni nitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. - I../.. -I../../../include -D_KERNEL -include opt_global.h -elf ../../i386/i386/in_cksum.c ../../i386/i386/in_cksum.c: In function `in_cksum': ../../i386/i386/in_cksum.c:238: `__func__' undeclared (first use this function) ../../i386/i386/in_cksum.c:238: (Each undeclared identifier is reported only once ../../i386/i386/in_cksum.c:238: for each function it appears in.) ../../i386/i386/in_cksum.c: In function `in_cksum_skip': ../../i386/i386/in_cksum.c:426: `__func__' undeclared (first use this function) *** Error code 1 What am I doing wrong? Thanks! -Bharat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message