[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Enigma-devel] CVS: compilation problem
From: |
Ralf Westram |
Subject: |
Re: [Enigma-devel] CVS: compilation problem |
Date: |
Sun, 25 May 2003 14:22:50 +0200 |
User-agent: |
Mutt/1.5.4i |
Hi,
>>> I cannot link because of 100s of unresolved symbols (all about iostreams).
> Definitely. Somehow I invoked gcc3.2 in the new directory.
> Now it works.
It stopped working again.
I think I tracked the problem down, but I don't know how to fix it.
The configure scripts inserts
-L/usr/lib -Wl,-rpath,/usr/lib
infront of the SDL librieries in the linker call.
My gcc 2.95 resides in /opt/gcc-2.95. Normally it links fine (no
iostream unresolveds), but due to the above additions it fails - I
guess because it links against some gcc3.2-lib in /usr/lib.
Executing the linker manually without '-L/usr/lib -Wl,-rpath,/usr/lib'
fixes the problem.
Wouldn't it be correct behavior to insert the path for SDL
libraries only if it is NOT equal to '/usr/lib'?
If yes, where can this be fixed?
cu
Ralf
--
Currently enjoying 'Speeka - Bitter Twisted Tounge'