Hi Rizzen,

The compile error message tells you all your need to know:

usr/local/lib/libode.a(box.o): relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with -fPIC

So.... you need to recompile using -fPIC.  This is what the OSG and
most of dependencies I know of use when compiling under 64bit,
however, some occasionally don't use -fPIC and then you have to go
chase down the build options and add it.

Robert.


On Tue, Dec 8, 2009 at 4:31 AM, Rizzen <[email protected]> wrote:
> Hi,
>
> I busy building PVLE, Sukender's project that uses OSG, yet obtain an
> error that we have no idea what the cause of the error is as we don't
> understand what the error means. I posted on ODE's website too, searched
> the web about the error, yet not obtaining any explanation for error.
> Any help would be appreciated so we can resolve the problem.
>
> Hardware is Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz, 8 GB RAM
> Software is OpenSuse 11.2 x86 64bit, using gcc (SUSE Linux) 4.4.1
> [gcc-4_4-branch revision 150839], etc
> Build is 64 bit
>
> Error:
> Linking CXX shared library ../Lib/libPVLE.so
> /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld:
> /usr/local/lib/libode.a(box.o): relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with -fPIC
> /usr/local/lib/libode.a: could not read symbols: Bad value
>
> Thanx
> Rizzen
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to