*BSD News Article 80967


Return to BSD News archive

#! rnews 3514 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news-out.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!uunet!news-in2.uu.net!news-m01.ny.us.ibm.net!news-s01.ca.us.ibm.net!usenet
From: "W Mark Maynard II" <maynardm@poboxes.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux/Elf Emulation
Date: 16 Oct 1996 22:11:41 GMT
Organization: DTI Internet Solutions
Lines: 66
Message-ID: <01bbbbae$c31d46c0$43a048a6@packardbell>
References: <32647535.167EB0E7@mybutt.com>
NNTP-Posting-Host: slip166-72-160-67.sc.us.ibm.net
X-Newsreader: Microsoft Internet News 4.70.1155

Actually, the problem is quite simple: FreeBSD 2.1.5 doesn't support Linux
ELF binaries. It only support the old a.out binaries. But, not to worry,
this feature was added in 2.2, so just get a copy of the lastest 2.2-SNAP
release and you should be on your way.
Hope this helps.
--
Mark Maynard
FreeBSD Systems Administrator
DTI Internet Solutions
Spatanburg, SC, USA
maynardm@POBoxes.com
*---------------------------------------------------------------------------
-----------------------*
|   " The man that hath no music in himself, nor is not mov'd        |
|     with concord of sweet sounds, is fit for treason, stratagems,  |
|     and spoils... let no such man be trusted. - Mark the music."   |
|                                                                          
                         |
|			          -William Shakespeare         |
*---------------------------------------------------------------------------
-------------------------*

The God Of Life <kane@mybutt.com> wrote in article
<32647535.167EB0E7@mybutt.com>...
> Recent projects have brought me to attempt to implement Linux
> emulation on to my server. The primary reason for this is to run XQuake. 
> I followed all available literature and manuals on the subject and
> installed the library port as well as recompiled the kernel for "options
> COMPAT_LINUX" and with no avail. Here is some required info. 
> 
> > uname -v
> FreeBSD 2.1.5-RELEASE #0: Tue Oct 15 02:23:34 CDT 1996    
> 
> > ls /compat/linux/lib
> ld-linux.so.1           libXaw.so.6             libcurses.so.1.0.0
> ld-linux.so.1.7.3       libXaw.so.6.0           libdl.so.1.7.3
> ld.so                   libXpm.so.4             libgr.so.1
> libX11.so.3             libXpm.so.4.3           libgr.so.1.3
> libX11.so.3.1.0         libXt.so.3              libm.so.4
> libX11.so.6             libXt.so.3.1.0          libm.so.4.5.26
> libX11.so.6.0           libXt.so.6              libm.so.5.0.0
> libXIE.so.6             libXt.so.6.0            libtermcap.so.2.0.0
> libXIE.so.6.0           libc.so.4               libvga.so.1
> libXaw.so.3             libc.so.4.5.26          libvga.so.1.2.0
> libXaw.so.3.1.0         libc.so.5.0.9
> 
> > cat /etc/sysconfig | grep linux
> linux=YES
> 
> > modstat
> Type     Id Off Loadaddr Size Info     Rev Module Name
> EXEC      0   3 f091d000 0018 f0922000   1 linux_emulator
> 
> > xquake
> /home/kane/xquake: Exec format error. Wrong Architecture.
> 
>   If you have any info available on my problem please respond. Am I
> missing ELF compatibility. Is it because of these lines in my kernal
> precompile config?
>   machine         "i386"
>   cpu             "I586_CPU" 
> or am I just not going to be able to run it. Knowing FreeBSD there
> should be a way.
> 
> Thanx
>