Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2007 09:54:48 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: i keep getting this when i buildkernel on 7.0 beta 1.5...
Message-ID:  <20071102095448.k9e9ar0esk448ows@webmail.dfwlp.org>
In-Reply-To: <65962063@srv.sem.ipt.ru>
References:  <200711012020.10917.freebsd@dfwlp.com> <64215875@srv.sem.ipt.ru> <20071102091630.ubd3b3fw834swwcs@webmail.dfwlp.org> <65962063@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru>:

> On Fri, 02 Nov 2007 09:16:30 -0500 Jonathan Horne wrote:
>
>> Quoting Boris Samorodov <bsam@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=3Dzlib.ko.symbols zlib.ko.de=
bug
>> >> zlib.ko
>> >> 1 error
>> >> *** Error code 2
>> >> 1 error
>> >> *** Error code 2
>> >> 1 error
>> >> [root@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@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to  =20
>> "freebsd-questions-unsubscribe@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... =20
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 =20
started editing it, i would have noticed that 'options SMP' is now =20
already included!

*slaps forehead!*

cheers,
--=20
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd@dfwlp.com

----------------------------------------------------------------
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?20071102095448.k9e9ar0esk448ows>