KERNEL 7.0 COMPILATION

Norberto Meijome freebsd at meijome.net
Sun Nov 18 20:01:47 PST 2007


On Sun, 18 Nov 2007 15:34:45 +0100
Sébastien LEFEVRE <sebastien at domunix.org> wrote:

> /usr/src/sys/net/rtsock.c:897: 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
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> 
> Why?

Hi Sebastien,
If you look closely at all the errors, they all refer to SCTP , which is a newish protocol. It was added by default to 7.0's tree. I suspect you are using an old kernel config file, and you don't have that option, and 7's IPFW needs it.

look in /usr/src/sys/conf/NOTES  for how it is defined :)

good luck,
B
_________________________
{Beto|Norberto|Numard} Meijome

"I'm not afraid of dying, I just don't want to be there when it happens."
  Woody Allen

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.


More information about the freebsd-questions mailing list