Building a kernel with SCTP support

Vlad GALU dudu at dudu.ro
Sun Jun 24 18:31:35 UTC 2007


   Hi list, I have SCTP, SCTP_DEBUG and SCTP_HIGH_SPEED defined in my
kernel configuration file. However, it looks that the SCTP source
files aren't even built, so the linking fails with

-- cut here --
linking kernel.debug
uipc_syscalls.o(.text+0x31a): In function `sctp_generic_recvmsg':
../../../kern/uipc_syscalls.c:2642: undefined reference to `sctp_sorecvmsg'
uipc_syscalls.o(.text+0x251e): In function `sctp_generic_sendmsg_iov':
../../../kern/uipc_syscalls.c:2521: undefined reference to `sctp_lower_sosend'
uipc_syscalls.o(.text+0x276c): In function `sctp_generic_sendmsg':
../../../kern/uipc_syscalls.c:2415: undefined reference to `sctp_lower_sosend'
uipc_syscalls.o(.text+0x2abd): In function `sctp_peeloff':
../../../kern/uipc_syscalls.c:2279: undefined reference to `sctp_can_peel_off'
uipc_syscalls.o(.text+0x2bfa):../../../kern/uipc_syscalls.c:2316:
undefined reference to `sctp_do_peeloff'
rtsock.o(.text+0xb62): In function `rt_newaddrmsg':
../../../net/rtsock.c:896: undefined reference to `sctp_addr_change'
in_proto.o(.data+0x150): undefined reference to `sctp_input'
in_proto.o(.data+0x160): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x168): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x178): undefined reference to `sctp_init'
in_proto.o(.data+0x190): undefined reference to `sctp_drain'
in_proto.o(.data+0x198): undefined reference to `sctp_usrreqs'
in_proto.o(.data+0x1b8): undefined reference to `sctp_input'
in_proto.o(.data+0x1c8): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x1d0): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x1f8): undefined reference to `sctp_drain'
in_proto.o(.data+0x200): undefined reference to `sctp_usrreqs'
in_proto.o(.data+0x220): undefined reference to `sctp_input'
in_proto.o(.data+0x230): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x238): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x260): undefined reference to `sctp_drain'
in_proto.o(.data+0x268): undefined reference to `sctp_usrreqs'
*** Error code 1
-- and here --

   Do I need to define additional flags in my config file?


-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-current mailing list