Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Linking error in Ubuntu Linux
desmoteo Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2010
Reputation: 0
#1
Linking error in Ubuntu Linux

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?
08-24-2010, 01:32 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#2
RE: Linking error in Ubuntu Linux

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.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
08-24-2010, 03:06 PM
Website Find
desmoteo Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2010
Reputation: 0
#3
RE: Linking error in Ubuntu Linux

(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!


Attached Files
.gz   make.log.gz (Size: 12.45 KB / Downloads: 123)
08-24-2010, 09:04 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#4
RE: Linking error in Ubuntu Linux

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.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
08-25-2010, 12:41 AM
Website Find
desmoteo Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2010
Reputation: 0
#5
RE: Linking error in Ubuntu Linux

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
08-25-2010, 05:12 PM
Find




Users browsing this thread: 1 Guest(s)