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

Jason Henson jason at ec.rr.com
Sat Feb 26 06:16:19 GMT 2005


On 02/25/05 18:52:44, 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 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!
>

You are not trying to add anything from a newer release to your older  
4.3 kernel conf file are you?  Like pf or something?



More information about the freebsd-questions mailing list