|
From: Braden M. <br...@en...> - 2010-11-01 07:07:23
|
On Thu, 2010-10-28 at 14:55 +0200, Philip Lamb wrote:
> Hi all,
>
> I've just now made an attempt to compile OpenVRML 0.18.6 under Mac OS X 10.6 i386 (cross-compiling on an x86_64 host). To tackle the first part of the compile, I've configured with:
>
> ./configure --build="i386-apple-darwin" CFLAGS="-arch i386" CXXFLAGS="-arch i386" CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib" --without-x --disable-dependency-tracking --with-libjs JS_CFLAGS="-I/sw/include/js -DXP_UNIX" --disable-script-node-java --disable-xembed --disable-player --disable-mozilla-plugin
>
> Required dependencies are being provided by Fink packages, in particular boost v1.41.0.
>
> The build falls over during the link phase of libopenvrml, with missing boost symbols (see make output below). It looks like it needs boost_system linked in, but its not included in the link inputs.
>
> Anything obvious I'm missing, or a quick fix that can be recommended?
configure [whatever else] LIBS=-lboost_system-mt
The MacPorts folks ran into this, too. For a while, I wasn't sure
whether it was a bug in OpenVRML's build or the Darwin linker; Mac OS X
is the *only* place I know about this problem. But I now think it *is*
a bug in OpenVRML's build; and I'll commit a fix soon.
I'm surprised that this hasn't shown up on Linux in light of some
relatively recent changes to the GNU linker. But it hasn't.
--
Braden McDaniel <br...@en...>
|