Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2000 15:24:39 -0500
From:      Michael Chin-Yuan Wu <keichii@peorth.iteration.net>
To:        R Joseph Wright <rjoseph@mammalia.org>
Cc:        questions@FreeBSD.org
Subject:   Re: compiling with a linux dependency
Message-ID:  <20000507152439.C41480@peorth.iteration.net>
In-Reply-To: <Pine.BSF.4.21.0005061554430.7029-100000@manatee.mammalia.org>; from rjoseph@mammalia.org on Sat, May 06, 2000 at 04:00:19PM -0700
References:  <Pine.BSF.4.21.0005061554430.7029-100000@manatee.mammalia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<path to libribout.a>
during Mops configure
[usually with --with-extra-lib=<path> 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




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