From owner-freebsd-questions Sun May 7 13:25:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 2B59C37BC2F for ; Sun, 7 May 2000 13:24:47 -0700 (PDT) (envelope-from keichii@iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 253485C55; Sun, 7 May 2000 15:24:39 -0500 (CDT) Date: Sun, 7 May 2000 15:24:39 -0500 From: Michael Chin-Yuan Wu To: R Joseph Wright Cc: questions@FreeBSD.org Subject: Re: compiling with a linux dependency Message-ID: <20000507152439.C41480@peorth.iteration.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from rjoseph@mammalia.org on Sat, May 06, 2000 at 04:00:19PM -0700 X-FreeBSD-Header: This is a subliminal message from the vast FreeBSD conspiracy project. X-Operating-System: FreeBSD peorth.iteration.net 4.0-STABLE FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 06, 2000 at 04:00:19PM -0700, R Joseph Wright scribbled: | I'm trying to compile a 3d modeling program called Mops. It depends upon | some libraries which are only available as linux binaries. I get this | error message: | | g++ action.o bbc.o box.o clipsel.o custom.o error.o extrude.o hier.o level.o icurve.o instance.o lights.o misc.o mops.o nb.o nurbs.o nurbutil.o prop.o quadr ic.o quat.o read.o revolve.o shader.o skin.o sweep.o tags.o undo.o wrib.o write .o /usr/local/lib/tk8.2/Togl-1.5/togl.o -rdynamic -o mopssh -L/usr/local/lib -l tk82 -L/usr/local/lib -ltcl82 -lMesaGLU -lMesaGL -L/usr/X11R6/lib -lXmu -lXext -lX11 -L/usr/local/lib -lribout -lm | /usr/local/lib/libtcl82.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() | misc.o: In function `mops_gettmp_tcmd': | misc.o(.text+0xdf0): warning: tempnam() possibly used unsafely; consider using mkstemp() | /usr/local/lib/libribout.a(ribout.o): In function `dl_add': | ^^^^^^^^^^^ | This is the linux binary ---end quoted text--- compile the stuff in /usr/compat/linux, install the library in /usr/compat/linux and set the library path to /usr/compat/linux/ during Mops configure [usually with --with-extra-lib= or something similiar] Read the Mops "configure" to find out how you should set it -- +-------------------------------------------------------------------+ | keichii@peorth.iteration.net | | keichii@bsdconspiracy.net - Yes, this is a conspiracy. | +-------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message