Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 1997 17:15:49 +0000
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Compiling against Linux Libs?? 
Message-ID:  <199709131715.RAA16526@peedub.muc.de>
In-Reply-To: Your message of "Sat, 13 Sep 1997 06:20:27 %2B0200." <Pine.BSF.3.96.970912212005.17774J-100000@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White writes:
>On Fri, 12 Sep 1997, randyd wrote:
>
>> Greetings,
>> 
>> I'm trying to see if I can get the Linux version of the Solid RDBMS
>> running
>> on my 3.0-current system.  After running brandelf -t Linux in the
>> ~solid/bin
>> directory I was able to get the binaries to work and start the server. 
>> In 
>> trying to compile a client app against their library I get this....
>> 
>> cc -I. -I../../include -DSS_UNIX adhoc.c ../../lib/scllux22.a -lm   -o
>> adhoc
>> ld: ../../lib/scllux22.a(): bad magic
>> *** Error code 1
>> 
>> Stop.
>> 
>> I've looked in man pages and mail archives but can't track down the
>> missing link.
>> What's the solution??  :)
>
>Find someone's Linux box to compile it on?  The emulator can execute Linux
>but our cc still looks for BSD libs.
>

if you're running a reasonably up-to-date version try using the Linux
cross-development port (/usr/ports/devel/linux_devel).

---
Gary Jennejohn
Home - garyj@muc.de
Work - gjennejohn@frt.dec.com





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