Date: Mon, 03 May 2004 14:11:42 -0400 From: Jason Andresen <jandrese@mitre.org> To: Robert Huff <roberthuff@rcn.com>, current@freebsd.org Subject: Re: Buildkernel dies building linprocfs Message-ID: <40968B5E.6030909@mitre.org> In-Reply-To: <16534.35268.381658.904582@jerusalem.litteratus.org> References: <16534.35268.381658.904582@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff wrote: > Existing system is: > > FreeBSD jerusalem.litteratus.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: > Mon Mar 8 12:27:03 EST 2004 > > When compiling a new kernel from source updated at midnight > EST (config file is appended), build dies thus: > > touch hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > sh /usr/src/sys/conf/newvers.sh JERUSALEM > cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c > linking kernel.debug > linprocfs.o: In function `linprocfs_init': > /usr/src/sys/compat/linprocfs/linprocfs.c:1013: undefined reference to `procfs_docurproc' > /usr/src/sys/compat/linprocfs/linprocfs.c:1035: undefined reference to `procfs_notsystem' > /usr/src/sys/compat/linprocfs/linprocfs.c:1035: undefined reference to `procfs_doprocfile' > /usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_candebug' > /usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_attr' > /usr/src/sys/compat/linprocfs/linprocfs.c:1039: undefined reference to `procfs_doprocmem' > *** Error code 1 > > I'm sure it's All My Fault, but can't seem to figure out what's > broken. Looked in NOTES and GENERIC, no help. > Try adding: options PROCFS # Process Filesystem to your kernel config. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40968B5E.6030909>