Re: Hung laptop now will not boot 7.0-RC1

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Wed, 9 Jan 2008 20:14:57 -0600
On 1/9/08, Darran <darranc_at_deejc.net> wrote:
> Hi Scot,
>
> Thanks for your advice, unfortunately it didn't work as I had the 64 bit
> driver and it appears that it causes major problems and so I rebuilt it.
> Now I have a completely different problem, I have done make buildworld and
> it appeared to build ok (this is a fresh install) I edited my
> /usr/src/sys/amd64/KERNELCONF and called it MYKERNEL and setup a link from
> my root folder, I did make buildkernel from usr/src and it failed with :
>
> MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64
> -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
> --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -Werror  vers.c
> linking kernel.debug
> uipc_syscalls.o(.text+0x3e1): In function `sctp_generic_recvmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to
> `sctp_sorecvmsg'
> uipc_syscalls.o(.text+0x22ad): In function `sctp_generic_sendmsg_iov':
> /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
> `sctp_lower_sosend'
> uipc_syscalls.o(.text+0x2599): In function `sctp_generic_sendmsg':
> /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
> `sctp_lower_sosend'
> uipc_syscalls.o(.text+0x271f): In function `sctp_peeloff':
> /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
> `sctp_can_peel_off'
> uipc_syscalls.o(.text+0x28e4):/usr/src/sys/kern/uipc_syscalls.c:2279:
> undefined reference to `sctp_do_peeloff'
> rtsock.o(.text+0xc36): In function `rt_newaddrmsg':
> /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change'
> in_proto.o(.data+0x150): undefined reference to `sctp_input'
> in_proto.o(.data+0x160): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0x168): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0x178): undefined reference to `sctp_init'
> in_proto.o(.data+0x190): undefined reference to `sctp_drain'
> in_proto.o(.data+0x198): undefined reference to `sctp_usrreqs'
> in_proto.o(.data+0x1b8): undefined reference to `sctp_input'
> in_proto.o(.data+0x1c8): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0x1d0): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0x1f8): undefined reference to `sctp_drain'
> in_proto.o(.data+0x200): undefined reference to `sctp_usrreqs'
> in_proto.o(.data+0x220): undefined reference to `sctp_input'
> in_proto.o(.data+0x230): undefined reference to `sctp_ctlinput'
> in_proto.o(.data+0x238): undefined reference to `sctp_ctloutput'
> in_proto.o(.data+0x260): undefined reference to `sctp_drain'
> in_proto.o(.data+0x268): undefined reference to `sctp_usrreqs'
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/MYKERNEL.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> I have some files on my web site that might be needed and I can get any more
> if needed :
>
> FreeBSD  7.0-RC1 FreeBSD 7.0-RC1 #1: Tue Jan  8 18:11:41 GMT 2008
> root_at_:/usr/obj/usr/src/sys/GENERIC  amd64
>
> The full build script is at www.deejc.net/freebsd/kernelbuild
> Demsg = www.deejc.net/freebsd/dmesg
> Make.conf = www.deejc.net/freebsd/make
> Kernel conf - www.deejc.net/freebsd/MYKERNEL

options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol

Here is the error in your kernel config file.  The SCTP option
requires both INET and INET6.

Scot
Received on Thu Jan 10 2008 - 01:14:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC