From owner-freebsd-questions Fri Sep 12 21:20:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA02075 for questions-outgoing; Fri, 12 Sep 1997 21:20:42 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts6-line5.uoregon.edu [128.223.150.35]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA02066 for ; Fri, 12 Sep 1997 21:20:36 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id VAA17836; Fri, 12 Sep 1997 21:20:27 -0700 (PDT) Date: Fri, 12 Sep 1997 21:20:27 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: randyd cc: questions@FreeBSD.ORG Subject: Re: Compiling against Linux Libs?? In-Reply-To: <34199F4A.92AB3973@nconnect.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo