Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2002 01:04:56 -0800 (PST)
From:      Chris Phillips <chris@selkie.org>
To:        freebsd-questions@freebsd.org
Subject:   Issue compiling kernel after cvsup and make buildworld
Message-ID:  <Pine.BSF.4.21.0202060058540.162-100000@shell.bchosting.com>

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

I've already upgraded seven machines from 4.4-STABLE to 4.5-STABLE.  These
all went off without a hitch.  I've just installed 4.4-RELEASE on two new
machines (I don't have the 4.5 ISO yet) and did the cvsup, did a make
buildworld and then went to do the kernel with 
'make buildkernel KERNCONF=KERNELNAME' and I get this error.

touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh KERNELNAME
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  vers.c
linking kernel
if_fxp.o: In function `fxp_attach':
if_fxp.o(.text+0x9b4): undefined reference to `ether_output'
if_fxp.o(.text+0x9f3): undefined reference to `ether_ifattach'
if_fxp.o: In function `fxp_detach':
if_fxp.o(.text+0xba5): undefined reference to `ether_ifdetach'
if_fxp.o: In function `fxp_intr':
if_fxp.o(.text+0x1ac3): undefined reference to `ether_input'
if_fxp.o: In function `fxp_ioctl':
if_fxp.o(.text+0x32ab): undefined reference to `ether_ioctl'
igmp.o: In function `igmp_sendpkt':
igmp.o(.text+0x5f9): undefined reference to `loif'
ip_output.o: In function `ip_mloopback':
ip_output.o(.text+0x1b62): undefined reference to `if_simloop'
*** Error code 1

Stop in /usr/obj/usr/src/sys/KERNELNAME.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I'm not much of a hacker but my guess is that there is something wrong
with the fxp driver?  I usually get the standard Intel 10/100 cards but I
was given the Intel 10/100 cards with 3DES/IPsec on them this time.  Could
this be causing the problem?  Ideas?

Thanks!

-Chris Phillips

P.S.  Please cc: me as I am not on this list.  Thanks again!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0202060058540.162-100000>