Frictional Games Forum (read-only)

Full Version: Linking error in Ubuntu Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I've been trying to compile Overture on Ubuntu Linux 10.04 32 bit, with gcc version 4.4.3. The compilation seems OK for HPL and OALwrapper. At the linking stage of Penumbra I get the following error (actually a long list of errors of this kind):


/usr/bin/ld: error: /home/desmoteo/OuvertureSource/PenumbraOverture/../dependencies/lib/linux/libNewton.a(Newton.o): invalid section group 66 refers to earlier section 6

Any suggestion?
Can you provide more of the output?? And also verify the files in the dependencies were extracted correctly. I just went and rebuild the current code using GCC 4.4.4 (Fedora 13) and it all worked fine.
(08-24-2010, 03:06 PM)Urkle Wrote: [ -> ]Can you provide more of the output?? And also verify the files in the dependencies were extracted correctly. I just went and rebuild the current code using GCC 4.4.4 (Fedora 13) and it all worked fine.

OK here it comes the full output!
Try adding pthreads to the oust of libraries linked to the Overture.bin in the CMakeLists.txt file in the PenumbraOverture project. For the weird link errors with newton, I have no clue.. I have never seen that error before and doing a google search on the error comes back with this post:-)

Did you recheck to make sure you downloaded e dependencies zip and it extracted correctly?? My guess is the file is corrupt.
Hi

Adding libpthread solved the pthread issues. Actually the problem with Newton was that I was linking with gold instead that with ld. Shy

Thanks