From owner-freebsd-current@FreeBSD.ORG Mon May 3 11:11:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BAF116A4CE for ; Mon, 3 May 2004 11:11:58 -0700 (PDT) Received: from smtp-bedford.mitre.org (smtp-bedford-x.mitre.org [192.160.51.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B86743D48 for ; Mon, 3 May 2004 11:11:57 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i43IBol24005 for ; Mon, 3 May 2004 14:11:50 -0400 Received: from mailsrv2a (mailsrv2a.mitre.org [129.83.221.56]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i43IBhX23880; Mon, 3 May 2004 14:11:43 -0400 Received: from mitre.org (mm112324-2k.mitre.org [128.29.3.25]) by mailsrv2a.mitre.org (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTPA id <0HX500DQPH7I65@mailsrv2a.mitre.org>; Mon, 03 May 2004 14:11:42 -0400 (EDT) Date: Mon, 03 May 2004 14:11:42 -0400 From: Jason Andresen In-reply-to: <16534.35268.381658.904582@jerusalem.litteratus.org> To: Robert Huff , current@freebsd.org Message-id: <40968B5E.6030909@mitre.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 References: <16534.35268.381658.904582@jerusalem.litteratus.org> Subject: Re: Buildkernel dies building linprocfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 18:11:58 -0000 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