Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
Linking error in Ubuntu Linux
Author Message
desmoteo Offline
Junior Member

Posts: 4
Joined: May 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-24-2010 03:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
desmoteo Offline
Junior Member

Posts: 4
Joined: May 2010
Reputation: 0
Post: #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 File(s)
.gz  make.log.gz (Size: 12.45 KB / Downloads: 4)
08-24-2010 09:04 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-25-2010 12:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
desmoteo Offline
Junior Member

Posts: 4
Joined: May 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)