Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 12:17:36 -0500
From:      "Philip M. Gollucci" <pgollucci@riderway.com>
To:        Schiz0 <schiz0phrenic21@gmail.com>
Cc:        "Philip M. Gollucci" <philip@ridecharge.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Kernel Compile Error
Message-ID:  <474DA2B0.5010709@riderway.com>
In-Reply-To: <8d23ec860711280854t6edb341fuef3d0881a0e0a3b5@mail.gmail.com>
References:  <8d23ec860711280454x72f3fa64k10ed8ee8fc33f7c7@mail.gmail.com>	 <474D7156.6090502@riderway.com> <8d23ec860711280854t6edb341fuef3d0881a0e0a3b5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Schiz0 wrote:
> On Nov 28, 2007 8:47 AM, Philip M. Gollucci <pgollucci@riderway.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474DA2B0.5010709>