Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2000 15:19:41 -0700
From:      "Bharat Mediratta" <bharat@sinia.com>
To:        <freebsd-stable@freebsd.org>
Subject:   GENERIC 4.0 kernel compile fails on in_cksum.c
Message-ID:  <NDBBIHDGOLLHCKPDEJKAIEGJCCAA.bharat@sinia.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIHDGOLLHCKPDEJKAIEGJCCAA.bharat>