From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 17:17:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 542C216A419 for ; Wed, 28 Nov 2007 17:17:39 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from EXHUB015-3.exch015.msoutlookonline.net (exhub015-3.exch015.msoutlookonline.net [207.5.72.95]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8E713C469 for ; Wed, 28 Nov 2007 17:17:39 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.744.0; Wed, 28 Nov 2007 09:17:38 -0800 Message-ID: <474DA2B0.5010709@riderway.com> Date: Wed, 28 Nov 2007 12:17:36 -0500 From: "Philip M. Gollucci" Organization: Riderway Inc. User-Agent: Thunderbird 2.0.0.6 (X11/20070919) MIME-Version: 1.0 To: Schiz0 References: <8d23ec860711280454x72f3fa64k10ed8ee8fc33f7c7@mail.gmail.com> <474D7156.6090502@riderway.com> <8d23ec860711280854t6edb341fuef3d0881a0e0a3b5@mail.gmail.com> In-Reply-To: <8d23ec860711280854t6edb341fuef3d0881a0e0a3b5@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" , "freebsd-questions@freebsd.org" Subject: Re: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 17:17:39 -0000 Schiz0 wrote: > On Nov 28, 2007 8:47 AM, Philip M. Gollucci wrote: >> Schiz0 wrote: >>> Hey, >>> >>> I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code >>> (src-all) and built world. >>> I then tried to "make buildkernel", and it ran for a little while, >>> then gave the following error and stopped: >>> >>> http://schiz0.securityexploits.com/make.buildkernel.out >>> The error is at the bottom - that is the log of the entire buildkernel process. >> I see no error -- looks like you didnt' copy enough of it. >> use -DNO_CLEAN to skip all the rm -f stuff at the start when you post >> the new output. >> linux_ipc.o(.text+0x8e4):/usr/src/sys/compat/linux/linux_ipc.c:583: undefined reference to `__semctl'^M linux_ipc.o(.text+0x918): In function `linux_msgsnd':^M /usr/src/sys/compat/linux/linux_ipc.c:600: undefined reference to `msgsnd'^M linux_ipc.o(.text+0x94e): In function `linux_msgrcv':^M /usr/src/sys/compat/linux/linux_ipc.c:619: undefined reference to `msgrcv'^M linux_ipc.o(.text+0x970): In function `linux_msgget':^M /usr/src/sys/compat/linux/linux_ipc.c:632: undefined reference to `msgget'^M linux_ipc.o(.text+0x9d2): In function `linux_msgctl':^M /usr/src/sys/compat/linux/linux_ipc.c:650: undefined reference to `kern_msgctl'^M linux_ipc.o(.text+0xa4d): In function `linux_shmat':^M /usr/src/sys/compat/linux/linux_ipc.c:680: undefined reference to `shmat'^M linux_ipc.o(.text+0xaae): In function `linux_shmdt':^M /usr/src/sys/compat/linux/linux_ipc.c:699: undefined reference to `shmdt'^M linux_ipc.o(.text+0xad6): In function `linux_shmget':^M /usr/src/sys/compat/linux/linux_ipc.c:714: undefined reference to `shmget'^M linux_ipc.o(.text+0xb18): In function `linux_shmctl':^M /usr/src/sys/compat/linux/linux_ipc.c:733: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xb68):/usr/src/sys/compat/linux/linux_ipc.c:748: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xbb0):/usr/src/sys/compat/linux/linux_ipc.c:761: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xc00):/usr/src/sys/compat/linux/linux_ipc.c:773: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xc7c):/usr/src/sys/compat/linux/linux_ipc.c:792: undefined reference to `kern_shmctl'^M linux_ipc.o(.text+0xcd2):/usr/src/sys/compat/linux/linux_ipc.c:808: more undefined references to `kern_shmctl' follow^M Add these 3 to your kernel config file near the end. Don't use the -DNO_CLEAN when you build this time. That was just to cut down on the output in the log file (or when you intentionally don't want to delete the build from the previous attempt or success) options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.