From owner-freebsd-questions Sat Sep 13 08:16:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA08666 for questions-outgoing; Sat, 13 Sep 1997 08:16:11 -0700 (PDT) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA08661 for ; Sat, 13 Sep 1997 08:16:08 -0700 (PDT) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.8.7/8.6.9) with ESMTP id RAA16526 for ; Sat, 13 Sep 1997 17:15:50 GMT Message-Id: <199709131715.RAA16526@peedub.muc.de> X-Mailer: exmh version 2.0zeta 7/24/97 To: freebsd-questions@freebsd.org Subject: Re: Compiling against Linux Libs?? Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 13 Sep 1997 06:20:27 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 13 Sep 1997 17:15:49 +0000 From: Gary Jennejohn Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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