atom feed4 messages in org.freebsd.freebsd-stableUnable to build kernel
FromSent OnAttachments
Kevin ObermanAug 8, 2008 1:04 pm.Other
Mike TancsaAug 8, 2008 1:33 pm 
Erik TrulssonAug 8, 2008 1:40 pm 
Kevin ObermanAug 8, 2008 2:04 pm 
Subject:Unable to build kernel
From:Kevin Oberman (ober@es.net)
Date:Aug 8, 2008 1:04:24 pm
List:org.freebsd.freebsd-stable
Attachments:
IBM-T43 - 6k

Today I was unable to build a new kernel for 7-Stable. It dies when linking the kernel, seemingly because of not finding the definitions for some nfs stuff. I don't use nfs and always exclude both server and client from my kernel. (Long config attached, if the list does not strip it.)

MAKE=make sh /usr/src/sys/conf/newvers.sh IBM-T43 cc -c -O -pipe -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 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel.debug nlm_advlock.o(.text+0x11a8): In function `nlm_advlock_internal': /usr/src/sys/nlm/nlm_advlock.c:225: undefined reference to `nfs_vinvalbuf' nlm_advlock.o(.text+0x1243):/usr/src/sys/nlm/nlm_advlock.c:236: undefined reference to `nfs_ticks' nlm_prot_impl.o(.text+0x29a1): In function `nlm_syscall': /usr/src/sys/nlm/nlm_prot_impl.c:1482: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x29a7):/usr/src/sys/nlm/nlm_prot_impl.c:1483: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x29b1):/usr/src/sys/nlm/nlm_prot_impl.c:1484: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x29b7):/usr/src/sys/nlm/nlm_prot_impl.c:1485: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x29cf):/usr/src/sys/nlm/nlm_prot_impl.c:1490: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x29d5):/usr/src/sys/nlm/nlm_prot_impl.c:1491: undefined reference to `nfs_reclaim_p' *** Error code 1

Stop in /usr/obj/usr/src/sys/IBM-T43. *** Error code 1

Stop in /usr/src. *** Error code 1

Stop in /usr/src.

Time spent in user mode (CPU seconds) : 307.737s Time spent in kernel mode (CPU seconds) : 34.429s Total time : 8:12.87s CPU utilisation (percentage) : 69.4% Times the process was swapped : 0 Times of major page faults : 233 Times of minor page faults : 4231547 Exit 1

I see no other reports of anything. Any ideas?

Thanks,