*BSD News Article 66129


Return to BSD News archive

#! rnews 2087 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!winternet.com!newsfeed.concentric.net!news.sojourn.com!news.eecs.umich.edu!panix!imci5!imci4!newsfeed.internetmci.com!news.msfc.nasa.gov!bcm.tmc.edu!newshost.convex.com!cnn.exu.ericsson.se!erinews.ericsson.se!news.seinf.abb.se!news.mdh.se!columba.udac.uu.se!newsfeed.sunet.se!news01.sunet.se!sunic!news99.sunet.se!cph-1.news.DK.net!dkuug!dknet!dde.dde.dk!berta.dde.dk!news
From: Søren Schmidt <ssc@pip.dknet.dk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux compatibility: binaries, libraries and .o files
Date: Wed, 17 Apr 1996 13:41:32 -0700
Organization: Dansk Data Elektronik A/S
Lines: 24
Message-ID: <3175577C.50AD@pip.dknet.dk>
References: <4ku1g2$7sn@pixar.com>
NNTP-Posting-Host: sga-pc.dde.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win16; I)

James Williams wrote:
> 
> I'm trying to use a 3D graphics package under FreeBSD 2.1R that consists
> of some linux binaries and a library.  The binaries seem to run fine,
> however, I've had trouble compiling programs that want to use the library.
> Is that supposed to work?  I tried unpacking the library into .o files then
> remaking it and that worked better.  However, some functions still cause
> a SIGSEGV.  It seems to be varargs functions that fail, specifically
> vfprintf.  Any ideas?  If I can't fix this, I'll have to run Linux, so the
> stakes are high...
> 
> Thanks!

Hmm, are you trying to build a Linux binary or a FreeBSD binary ??

If you are trying to build a Linux binary, you should get ahold of the
compiler, assembler, linker & probably some libs from a linux system and
then install them in /compat/linux, that way it should work (I've done
that on a -current system). 
I you are trying to build a FreeBSD binary out of it, I need ALOT more
information on what that library is supposed to do etc etc...

(please respond to sos@FreeBSD.org, this is not my primary account for
FreeBSD related things)