Friday, May 16, 2008

in_proto.o(.data+0xa8): undefined reference to `sctp_input'

disable INET6 cause a *** Error code 1 while building freebsd kernel.

in_proto.o(.data+0xa8): undefined reference to `sctp_input'

the solution is to disable SCTP as well.

#options SCTP # Stream Control Transmission Protocol

From: William Grzybowski

Date: 2007-08-28 23:25:59


On 8/28/07, Yuri Pankov  wrote:
>
> On Tue, Aug 28, 2007 at 05:15:56PM -0300, William Grzybowski wrote:
> > Hi,
> >
> > I am getting some errors about sctp while i build kernel from today...
> > Could it be happening because i created a src.conf file disablind bind,
> > ipv6, ipfilter, kerberos and sendmail ? (i dont think so, but it was the
> > only thing which i modified...)
> >
> > uipc_syscalls.o(.text+0x341): In function `sctp_generic_recvmsg':
> > /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to
> > `sctp_sorecvmsg'
> > uipc_syscalls.o(.text+0x86c): In function `sctp_peeloff':
> > /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
> > `sctp_can_peel_of
> > f'
> > uipc_syscalls.o(.text+0xa7a):/usr/src/sys/kern/uipc_syscalls.c:2279:
> > undefined r
> > eference to `sctp_do_peeloff'
> > uipc_syscalls.o(.text+0xdf0): In function `sctp_generic_sendmsg_iov':
> > /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
> > `sctp_lower_sosen
> > d'
> > uipc_syscalls.o(.text+0x109a): In function `sctp_generic_sendmsg':
> > /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
> > `sctp_lower_sosen
> > d'
> > rtsock.o(.text+0x123b): In function `rt_newaddrmsg':
> > /usr/src/sys/net/rtsock.c:896: undefined reference to `sctp_addr_change'
> > in_proto.o(.data+0xa8): undefined reference to `sctp_input'
> > in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput'
> > in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput'
> > in_proto.o(.data+0xbc): undefined reference to `sctp_init'
> > in_proto.o(.data+0xc8): undefined reference to `sctp_drain'
> > in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs'
> > in_proto.o(.data+0xdc): undefined reference to `sctp_input'
> > in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput'
> > in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput'
> > in_proto.o(.data+0xfc): undefined reference to `sctp_drain'
> > in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs'
> > in_proto.o(.data+0x110): undefined reference to `sctp_input'
> > in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput'
> > in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput'
> > in_proto.o(.data+0x130): undefined reference to `sctp_drain'
> > in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs'
> > *** Error code 1
> >
> >
> > Bye.
> >
> >
> > --
> > William Grzybowski
> > ------------------------------------------
> > Jabber: william88 at gmail dot com
> > Msn: william.grz at hotmail dot com
> > Curitiba/PR - Brazil
>
> As you haven't provided your kernel config, please check if this thread
> looks
> related:
> http://lists.freebsd.org/pipermail/free … 14515.html


Sorry, i forgot to send my conf...
The build error was my mistake, i forgot that sctp needs INET6, even if you
dont will use V6...

My apologize :)

Thanks.

--
William Grzybowski
------------------------------------------
Jabber: william88 at gmail dot com
Curitiba/PR - Brazil
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listin … sd-current
To unsubscribe, send any mail to "freebsd-current-"

No comments: