Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 16:00:19 -0700 (PDT)
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        questions@FreeBSD.org
Subject:   compiling with a linux dependency
Message-ID:  <Pine.BSF.4.21.0005061554430.7029-100000@manatee.mammalia.org>

next in thread | raw e-mail | index | archive | help
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 quadric.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 -ltk82 -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
           
ribout.o(.text+0x4a6): undefined reference to `stderr'
ribout.o(.text+0x4da): undefined reference to `__strtol_internal'
/usr/local/lib/libribout.a(ribout.o): In function `output_tvpairs_v':
ribout.o(.text+0x86e): undefined reference to `stderr'
/usr/local/lib/libribout.a(ribout.o): In function `output_tvpairs':
ribout.o(.text+0xa4e): undefined reference to `stderr'
/usr/local/lib/libribout.a(ribout.o): In function `RiPatchMesh':
ribout.o(.text+0x1352): undefined reference to `stderr'
/usr/local/lib/libribout.a(ribout.o): In function `RiBegin':
ribout.o(.text+0x2c93): undefined reference to `stderr'
ribout.o(.text+0x2ccd): undefined reference to `stderr'
/usr/local/lib/libribout.a(ribout.o)(.text+0x2d13): more undefined references to `stderr' follow
/usr/local/lib/libribout.a(ribout.o): In function `RiBegin':
ribout.o(.text+0x2d2a): undefined reference to `stdout'
/usr/local/lib/libribout.a(ribout.o): In function `RiEnd':
ribout.o(.text+0x2df0): undefined reference to `stdout'
/usr/local/lib/libribout.a(ribout.o): In function `RiProcedural':
ribout.o(.text+0x33e1): undefined reference to `stderr'
/usr/local/lib/libribout.a(riboutv.o): In function `RiPatchMeshV':
riboutv.o(.text+0xd5f): undefined reference to `stderr'
/usr/local/lib/libribout.a(slcargs.o): In function `readident':
slcargs.o(.text+0x8c): undefined reference to `__ctype_b'
slcargs.o(.text+0x151): undefined reference to `__ctype_b'
/usr/local/lib/libribout.a(slcargs.o): In function `read_slc_token':
slcargs.o(.text+0x36a): undefined reference to `__ctype_b'
slcargs.o(.text+0x3fc): undefined reference to `__ctype_b'
slcargs.o(.text+0x45b): undefined reference to `__ctype_b'
/usr/local/lib/libribout.a(slcargs.o)(.text+0x4ba): more undefined references to `__ctype_b' follow
/usr/local/lib/libribout.a(slcargs.o): In function `SLC_SetDSOShader':
slcargs.o(.text+0x832): undefined reference to `__strdup'
slcargs.o(.text+0x93f): undefined reference to `stderr'
slcargs.o(.text+0x9a5): undefined reference to `__strdup'
slcargs.o(.text+0xb25): undefined reference to `__strdup'
/usr/local/lib/libribout.a(slcargs.o): In function `SLC_SetShader':
slcargs.o(.text+0xde4): undefined reference to `stderr'
slcargs.o(.text+0xea7): undefined reference to `stderr'
slcargs.o(.text+0xfb7): undefined reference to `stderr'
slcargs.o(.text+0x10da): undefined reference to `__strdup'
slcargs.o(.text+0x134d): undefined reference to `__strdup'
slcargs.o(.text+0x13dc): undefined reference to `__strtol_internal'
slcargs.o(.text+0x1496): undefined reference to `__strtod_internal'
slcargs.o(.text+0x1616): undefined reference to `__strtod_internal'
slcargs.o(.text+0x168c): undefined reference to `__strtod_internal'
slcargs.o(.text+0x16cb): undefined reference to `__strtod_internal'
slcargs.o(.text+0x1717): undefined reference to `__strdup'
slcargs.o(.text+0x1795): undefined reference to `__strtod_internal'
slcargs.o(.text+0x180b): undefined reference to `__strdup'
/usr/local/lib/libribout.a(findpath.o): In function `find_path':
findpath.o(.text+0x97): undefined reference to `__ctype_b'
/usr/local/lib/libribout.a(findpath.o): In function `find_path2':
findpath.o(.text+0x238): undefined reference to `__ctype_b'
/usr/local/lib/libribout.a(findpath.o): In function `find_dso':
findpath.o(.text+0x37e): undefined reference to `stderr'
/usr/local/lib/libribout.a(findpath.o): In function `dir_from_searchpath':
findpath.o(.text+0x3d4): undefined reference to `__ctype_b'
*** Error code 1

Stop in /usr/home/rjoseph/downloads/mops/src.

Am I barking up the wrong tree trying to make this work?



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?Pine.BSF.4.21.0005061554430.7029-100000>