i keep getting this when i buildkernel on 7.0 beta 1.5...

David Yeske dyeske at gmail.com
Fri Nov 2 07:57:28 PDT 2007


On 11/2/07, Jonathan Horne <freebsd at dfwlp.com> wrote:
> Quoting Boris Samorodov <bsam at ipt.ru>:
>
> > On Thu, 1 Nov 2007 20:20:10 -0500 Jonathan Horne wrote:
> >
> >> awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld
> >> export_syms | xargs -J% objcopy % zlib.kld
> >> ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
> >> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
> >> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug
> >> zlib.ko
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> [root at athena /usr/src]#
> >
> >
> >> anyone able to tell me wha to do?
> >
> > Remove a "-j" option from the make command and get a real error
> > message.
> >
> >
> > WBR
> > --
> > Boris Samorodov (bsam)
> > Research Engineer, http://www.ipt.ru Telephone & Internet SP
> > FreeBSD committer, http://www.FreeBSD.org The Power To Serve
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
>
> without the -j, this is where i appear to be hanging up:
>
> uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to
> `sctp_sorecvmsg'
> uipc_syscalls.o(.text+0x21a2): In function `sctp_generic_sendmsg_iov':
> /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
> `sctp_lower_sosend'
> uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
> `sctp_lower_sosend'
> uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff':
> /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
> `sctp_can_peel_off'
> uipc_syscalls.o(.text+0x28e6):/usr/src/sys/kern/uipc_syscalls.c:2279:
> 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/HPDC7100.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> anything i can do to get around that?  the only thing in my kernel
> config that differs from GENERIC, is the removal of the INET6 line,
> and addition of 'options SMP' (and, the ident).
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> freebsd at dfwlp.com
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

Try removing the following from your kernel

options         SCTP                    # Stream Control Transmission Protocol


More information about the freebsd-questions mailing list