freebsd kernel 'make' failed : "undefined reference to..."

Jonathan Chen jonc at chen.org.nz
Sat Feb 26 04:55:33 GMT 2005


On Fri, Feb 25, 2005 at 03:52:44PM -0800, Jamie Ann P. Zamodio wrote:
> Help!
> 
> I'm a UNIX newbie trying to compile a custom kernel
> with modifications for TCP purposes. My system is
> FreeBSD 4.3 running on i386. My 'make depend' works
> fine, but when I geto to 'make', the following error
> occurs:
> 
> tcp_usrreq.o: In function 'tcp6_connect':
> /usr/src/sys/compile/MYKERNEL/../../netinet/tcp_usrreq.c(text+0xfa5):
> undefined reference to 'tcpstat'

The obvious answer is that you've stuffed up your kernel-config file.
Why don't you start with a copy of the GENERIC file and *gradually*
trim your file until you get a working version that satisfies your
needs?

Alternatively you can post your config-file here and hope that we can
spot the error.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards


More information about the freebsd-questions mailing list