From owner-freebsd-questions@FreeBSD.ORG Sat Feb 26 04:55:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B1E816A4CE for ; Sat, 26 Feb 2005 04:55:33 +0000 (GMT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 311D343D1F for ; Sat, 26 Feb 2005 04:55:33 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 805A95643E; Sat, 26 Feb 2005 17:55:32 +1300 (NZDT) Date: Sat, 26 Feb 2005 17:55:32 +1300 From: Jonathan Chen To: "Jamie Ann P. Zamodio" Message-ID: <20050226045532.GC60761@osiris.chen.org.nz> References: <20050225235245.27465.qmail@web50304.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050225235245.27465.qmail@web50304.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: freebsd kernel 'make' failed : "undefined reference to..." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 04:55:33 -0000 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 ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards