Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2007 15:34:45 +0100
From:      =?iso-8859-1?b?U+liYXN0aWVu?= LEFEVRE <sebastien@domunix.org>
To:        freebsd-questions@freebsd.org
Subject:   KERNEL 7.0 COMPILATION
Message-ID:  <20071118153445.uvpqy5zce88o0skg@groupware.domunix.org>

next in thread | raw e-mail | index | archive | help
Hi,

When i compile KERNEL (FreeBSD 7.0 Realease Beta 2) with this options:

options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=3D100

options IPDIVERT

device if_bridge

device pf
device pflog
device pfsync

I have this error.


MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh GENERIC
cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs =20
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline =20
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  =20
-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL =20
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common =20
-finline-limit=3D8000 --param inline-unit-growth=3D100 --param =20
large-function-growth=3D1000  -mno-align-long-strings =20
-mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 =20
-mno-sse3 -ffreestanding -Werror  vers.c
linking kernel.debug
uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg':
/usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to =20
`sctp_sorecvmsg'
uipc_syscalls.o(.text+0x21a2): In function `sctp_generic_sendmsg_iov':
/usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to =20
`sctp_lower_sosend'
uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg':
/usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to =20
`sctp_lower_sosend'
uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff':
/usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to =20
`sctp_can_peel_off'
uipc_syscalls.o(.text+0x28e6):/usr/src/sys/kern/uipc_syscalls.c:2279: =20
undefined reference to `sctp_do_peeloff'
rtsock.o(.text+0xb7d): In function `rt_newaddrmsg':
/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?

Thanks,

S=E9bastien


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071118153445.uvpqy5zce88o0skg>