Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2005 17:55:32 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        "Jamie Ann P. Zamodio" <japz20@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd kernel 'make' failed : "undefined reference to..."
Message-ID:  <20050226045532.GC60761@osiris.chen.org.nz>
In-Reply-To: <20050225235245.27465.qmail@web50304.mail.yahoo.com>
References:  <20050225235245.27465.qmail@web50304.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@chen.org.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards



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