Linking error in Ubuntu Linux - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html) +--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html) +--- Thread: Linking error in Ubuntu Linux (/thread-3674.html) |
Linking error in Ubuntu Linux - desmoteo - 08-24-2010 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? RE: Linking error in Ubuntu Linux - Urkle - 08-24-2010 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. RE: Linking error in Ubuntu Linux - desmoteo - 08-24-2010 (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! RE: Linking error in Ubuntu Linux - Urkle - 08-25-2010 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. RE: Linking error in Ubuntu Linux - desmoteo - 08-25-2010 Hi Adding libpthread solved the pthread issues. Actually the problem with Newton was that I was linking with gold instead that with ld. Thanks |