From owner-freebsd-questions Fri Sep 12 12:56:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03935 for questions-outgoing; Fri, 12 Sep 1997 12:56:59 -0700 (PDT) Received: from atlantis.nconnect.net (root@atlantis.nconnect.net [207.227.50.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA03926 for ; Fri, 12 Sep 1997 12:56:55 -0700 (PDT) Received: from nconnect.net (arabian.microxp.com [207.227.65.13]) by atlantis.nconnect.net (8.8.4/8.7.3) with ESMTP id PAA00700 for ; Fri, 12 Sep 1997 15:01:25 -0500 (CDT) Message-ID: <34199F4A.92AB3973@nconnect.net> Date: Fri, 12 Sep 1997 15:00:10 -0500 From: randyd Reply-To: randyd@nconnect.net Organization: Computer Specialists X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: Compiling against Linux Libs?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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?? :) --- Randall D DuCharme Systems Engineer Novell, Microsoft, and UNIX Networking Support Computer Specialists BSDI Internet Success Partners 414-253-9998 414-253-9919 (fax) BSD/OS Authorized Resellers