Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2002 14:56:09 -0600
From:      Scott Long <scott_long@btc.adaptec.com>
To:        vbrammer@comcast.net
Cc:        freebsd-stable@freebsd.org
Subject:   Re: linux emulation
Message-ID:  <20020615205608.GB33373@hollin.btc.adaptec.com>
In-Reply-To: <001101c214ae$df4807e0$7e00a8c0@freebsd.bogus>
References:  <001101c214ae$df4807e0$7e00a8c0@freebsd.bogus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 15, 2002 at 04:54:42PM -0400, vbrammer@comcast.net wrote:
> Hi,
> 
> Ive been having a problem getting linux compatability working on
>  -Stable builds. This is the output Ive gotten on 2 builds, the last one
> 
> today, the first one about 3 weeks ago.
> 
> touch hack.c
> cc -elf -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh /usr/src/sys/conf/newvers.sh PCP01840552PCS 
> cc -c -O -pipe -march=pentium -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- 
> -I. -I/usr/src/sys -I/usr/src/sys/../include
> -I/usr/src/sys/contrib/ipfilter  
> -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
> vers.c
> linking kernel
> linux_ipc.o: In function `linux_semctl':
> linux_ipc.o(.text+0x3e5): undefined reference to `seminfo'
> linux_ipc.o(.text+0x3ff): undefined reference to `seminfo'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/pcp01840552pcs.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> pcp01840552pcs#
> 
> 
> Any help would be appreciated.
> 
> Vince
> 

You need to (re-)enable the SYSV IPC/SHM/SEM options in your kernel
config.  See the GENERIC config file.

Scott

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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