Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 15:52:44 -0800 (PST)
From:      "Jamie Ann P. Zamodio" <japz20@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   freebsd kernel 'make' failed : "undefined reference to..."
Message-ID:  <20050225235245.27465.qmail@web50304.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 error repeats for other tcp*.o files, like
tcp_output.o, tcp_subr.o, tcp_timer.o, and even
in6_proto.o. There are undefined references to
'tcp_mssopt', 'tcp_delack_enabled', 'tcp_ccgen',
'tcb', 'tcbinfo', 'M_TSEGQ', 'tcp_mss', and
'tcp6_input'. Most are common to the tcp*.o files.

What should I do?? Googling gives me different answers
for this error, answers I don't even understand.
Anyway if you could help I would be really grateful. Thanks!


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Sports - Sign up for Fantasy Baseball. 
http://baseball.fantasysports.yahoo.com/



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