Ask a Question related to FreeBSD, Design and Development.
-
Jamie Ann P. Zamodio #1
freebsd kernel 'make' failed : "undefined reference to..."
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.
[url]http://baseball.fantasysports.yahoo.com/[/url]
Jamie Ann P. Zamodio Guest
-
#25622 [Opn->Bgs]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
ID: 25622 Updated by: sniper@php.net Reported By: cube660 at verizon dot net -Status: Open +Status: ... -
#25622 [Fbk->Opn]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
ID: 25622 User updated by: cube660 at verizon dot net Reported By: cube660 at verizon dot net -Status: Feedback... -
#25622 [Opn->Fbk]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
ID: 25622 Updated by: iliaa@php.net Reported By: cube660 at verizon dot net -Status: Open +Status: ... -
#25622 [Opn]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
ID: 25622 User updated by: cube660 at verizon dot net Reported By: cube660 at verizon dot net Status: Open Bug... -
#25622 [NEW]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
From: cube660 at verizon dot net Operating system: Windows XP PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug... -
Jonathan Chen #2
Re: freebsd kernel 'make' failed : "undefined reference to..."
On Fri, Feb 25, 2005 at 03:52:44PM -0800, Jamie Ann P. Zamodio wrote:
The obvious answer is that you've stuffed up your kernel-config file.> 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'
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
Jonathan Chen Guest
-
Jason Henson #3
Re: freebsd kernel 'make' failed : "undefined reference to..."
On 02/25/05 18:52:44, Jamie Ann P. Zamodio wrote:
You are not trying to add anything from a newer release to your older> 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!
>
4.3 kernel conf file are you? Like pf or something?
Jason Henson Guest



Reply With Quote

