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

Jonathan Horne freebsd at dfwlp.com
Fri Nov 2 07:55:43 PDT 2007


Quoting Boris Samorodov <bsam at ipt.ru>:

> On Fri, 02 Nov 2007 09:16:30 -0500 Jonathan Horne 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,
>
> From /sys/conf/NOTES:
> -----
> # SCTP is a NEW transport protocol defined by
> # RFC2960 updated by RFC3309 and RFC3758.. and
> # soon to have a new base RFC and many many more
> # extensions. This release supports all the extensions
> # including many drafts (most about to become RFC's).
> # It is the premeier SCTP implementation in the NET
> # and is quite well tested.
> #
> # Note YOU MUST have both INET and INET6 defined.
> # you don't have to enable V6, but SCTP is
> # dual stacked and so far we have not teased apart
> # the V6 and V4.. since an association can span
> # both a V6 and V4 address at the SAME time :-)
> -----
>
>> and addition of 'options SMP' (and, the ident).
>
>
> WBR
> --
> Boris Samorodov (bsam)
> Research Engineer, http://www.ipt.ru Telephone & Internet SP
> FreeBSD committer, http://www.FreeBSD.org The Power To Serve
>

well i appear to have fallen prey to the oldest trick in the book...  
so remind me not to get involved in land wars in asia.  :)

also, if i would have just 'read' the GENERIC config file before i  
started editing it, i would have noticed that 'options SMP' is now  
already included!

*slaps forehead!*

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com

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



More information about the freebsd-questions mailing list