RELENG_6 buildkernel is broken for me

Abdullah Ibn Hamad Al-Marri wearabnet at yahoo.ca
Sun Oct 21 12:57:53 PDT 2007


Hello,

I did fresh buildworld then tried to build my kernel.

:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh VB
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -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 -ffreestanding -Werror  vers.c
linking kernel
procfs.o(.text+0x254): In function `procfs_init':
: undefined reference to `pfs_create_link'
procfs.o(.text+0x268): In function `procfs_init':
: undefined reference to `pfs_create_dir'
procfs.o(.text+0x283): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x29c): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2bb): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2d1): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2f0): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x309): more undefined references to `pfs_create_file' follow
procfs.o(.text+0x3d8): In function `procfs_init':
: undefined reference to `pfs_create_link'
procfs.o(.text+0x3fb): In function `_procfs_mount':
: undefined reference to `pfs_mount'
procfs.o(.text+0x410): In function `_procfs_init':
: undefined reference to `pfs_init'
procfs.o(.text+0x424): In function `_procfs_uninit':
: undefined reference to `pfs_uninit'
procfs.o(.data+0xa8): undefined reference to `pfs_unmount'
procfs.o(.data+0xac): undefined reference to `pfs_root'
procfs.o(.data+0xb4): undefined reference to `pfs_statfs'
*** Error code 1

Stop in /usr/obj/usr/src/sys/VB.
*** Error code 1

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

Stop in /usr/src.

This is just few minutes ago csup.

Here is my make.conf

PPP_NOSUID=true         # to build ppp with normal permissions
NO_BLUETOOTH=true       # do not build Bluetooth related stuff
NO_I4B=true             # do not build isdn4bsd package
NO_KERBEROS=true        # do not build and install Kerberos 5 (KTH Heimdal)
NO_LPR=true             # do not build lpr and related programs
NO_MODULES=true         # do not build modules with the kernel
NO_USB=true             # do not build usbd(8) and related programs
NO_ATM=true             # do not build ATM related programs and libraries
NO_GAMES=true           # do not build games (games/ subdir)
NO_UUCP=true             # do not build uucp related programs
MODULES_WITH_WORLD=true # do not build modules when building kernel
WITHOUT_X11=true        # don't build X11 dependencies in ports


 
Regards, 
-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-stable mailing list