*BSD News Article 90632


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!homer.alpha.net!not-for-mail
From: Richard Pennington <rich@introl.com>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: i386 netbsd 1.1, ELF, and Linux
Date: Sat, 08 Mar 1997 17:40:58 +0000
Organization: Introl Corporation
Lines: 120
Message-ID: <3321A4AA.4011A32F@introl.com>
References: <331FDC81.159D@us.oracle.com> <5fp18e$69v@mail.wins.uva.nl> <5fqr22$9f@vixen.cso.uiuc.edu>
NNTP-Posting-Host: rdp.introl.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; NetBSD 1.2B i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5582

eric richard haszlakiewicz wrote:
> 
> Frank van der Linden (frank@wins.uva.nl) wrote:
> : >>file foo
> : >"ELF 32-bit LSB executable, Intel 80386, version 1"
> :
> : >I have COMPAT_SVR4 and COMPAT_LINUX turned on in my kernel.
> :
> : For statically linked ELF binaries, you should turn off COMPAT_SVR4;
> : it will get in the way of COMPAT_LINUX.
> :
> : If you keep seeing bad system calls or exec format errors, you'll...
> 
>         hmm.. in a similar excersize, I'm running 1.2-current and
> trying to run xquake.  I have COMPAT_LINUX, EXEC_ELF32 on, and SVR4 off.
> Same problem.  Anyone know how to get it to work?  Or if not, why it
> doesn't work?
> 
> eric
> haszlaki@uiuc.edu

I run xquake under 1.2 current. This is how my /emul/linux tree looks:

/emul/linux
/emul/linux/lib
/emul/linux/lib/ld-linux.so.1
/emul/linux/lib/ld-linux.so.1.7.3
/emul/linux/lib/ld-linux.so.1.8.1
/emul/linux/lib/ld.so
/emul/linux/lib/ld.so.1.8.1
/emul/linux/lib/libc.so.4
/emul/linux/lib/libc.so.4.7.2
/emul/linux/lib/libc.so.5
/emul/linux/lib/libc.so.5.4.2
/emul/linux/lib/libcurses.so.0
/emul/linux/lib/libcurses.so.0.1.2
/emul/linux/lib/libcurses.so.1
/emul/linux/lib/libcurses.so.1.0.0
/emul/linux/lib/libdl.so
/emul/linux/lib/libdl.so.1
/emul/linux/lib/libdl.so.1.7.3
/emul/linux/lib/libdl.so.1.8.1
/emul/linux/lib/libe2fs.so.1
/emul/linux/lib/libe2fs.so.1.0
/emul/linux/lib/libe2p.so.1
/emul/linux/lib/libe2p.so.1.0
/emul/linux/lib/libet.so.1
/emul/linux/lib/libet.so.1.0
/emul/linux/lib/libm.so.4
/emul/linux/lib/libm.so.4.6.27
/emul/linux/lib/libm.so.5
/emul/linux/lib/libm.so.5.0.0
/emul/linux/lib/libm.so.5.0.6
/emul/linux/lib/libss.so.1
/emul/linux/lib/libss.so.1.0
/emul/linux/lib/libtermcap.so.2
/emul/linux/lib/libtermcap.so.2.0.0
/emul/linux/etc
/emul/linux/etc/ld.so.cache
/emul/linux/etc/ld.so.conf
/emul/linux/usr
/emul/linux/usr/X11R6/lib
/emul/linux/usr/X11R6/lib/libFS.a
/emul/linux/usr/X11R6/lib/libICE.so
/emul/linux/usr/X11R6/lib/libICE.so.6
/emul/linux/usr/X11R6/lib/libICE.so.6.0
/emul/linux/usr/X11R6/lib/libSM.so
/emul/linux/usr/X11R6/lib/libSM.so.6
/emul/linux/usr/X11R6/lib/libSM.so.6.0
/emul/linux/usr/X11R6/lib/libX11.so
/emul/linux/usr/X11R6/lib/libX11.so.6
/emul/linux/usr/X11R6/lib/libX11.so.6.0
/emul/linux/usr/X11R6/lib/libXExExt.a
/emul/linux/usr/X11R6/lib/libXIE.so
/emul/linux/usr/X11R6/lib/libXIE.so.6
/emul/linux/usr/X11R6/lib/libXIE.so.6.0
/emul/linux/usr/X11R6/lib/libXau.a
/emul/linux/usr/X11R6/lib/libXaw.so
/emul/linux/usr/X11R6/lib/libXaw.so.6
/emul/linux/usr/X11R6/lib/libXaw.so.6.0
/emul/linux/usr/X11R6/lib/libXdmcp.a
/emul/linux/usr/X11R6/lib/libXext.so
/emul/linux/usr/X11R6/lib/libXext.so.6
/emul/linux/usr/X11R6/lib/libXext.so.6.0
/emul/linux/usr/X11R6/lib/libXi.so
/emul/linux/usr/X11R6/lib/libXi.so.6
/emul/linux/usr/X11R6/lib/libXi.so.6.0
/emul/linux/usr/X11R6/lib/libXmu.so
/emul/linux/usr/X11R6/lib/libXmu.so.6
/emul/linux/usr/X11R6/lib/libXmu.so.6.0
/emul/linux/usr/X11R6/lib/libXpm.a
/emul/linux/usr/X11R6/lib/libXpm.so.4
/emul/linux/usr/X11R6/lib/libXpm.so.4.3
/emul/linux/usr/X11R6/lib/libXt.so
/emul/linux/usr/X11R6/lib/libXt.so.6
/emul/linux/usr/X11R6/lib/libXt.so.6.0
/emul/linux/usr/X11R6/lib/libXtst.so
/emul/linux/usr/X11R6/lib/libXtst.so.6
/emul/linux/usr/X11R6/lib/libXtst.so.6.0
/emul/linux/usr/X11R6/lib/liblbxXext.a
/emul/linux/usr/X11R6/lib/liboldX.a
/emul/linux/tmp

I'm sure that some of these libraries are unnecessary for quake but
you do need the right dynamic loader, etc.

I run xquake only as a server. To run as a client you have to make sure
your xserver is set for 8 bits per pixal.

Good luck,

-Rich

-- 
Richard Pennington		Introl Corporation, Milwaukee, WI USA
Email: rich@introl.com		Phone: +1 414-273-6100	Fax: +1 414-273-6106
				US and Canada: 1 800-327-7171
Cross development tools for the 68HC05, 68HC08, 6809, 68HC11, 68HC12,
68HC16,
and 68XXX:			http://www.introl.com	ftp://ftp.introl.com