[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Error compiling kdelibs4_snapshot on AMD64
From:       Peter Hedlund <peter () peterandlinda ! com>
Date:       2006-05-18 20:02:05
Message-ID: 200605181302.05727.peter () peterandlinda ! com
[Download RAW message or body]

Hi,

After updating to the latest snapshot I can no longer compile kdelibs on my 
AMD64 computer. On my x86 it works fine. I have been able to build previous 
snapshots on both machines.

Linking CXX shared library ../lib/libkdecore.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: 
CMakeFiles/kdecore.dir/kglobal.o: relocation R_X86_64_PC32 against 
`KGlobal::_locale' can not be used when making a shared object; recompile 
with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: 
final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdecore.so.5.0.0] Error 1
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make: *** [all] Error 2

The "recompile with -fPIC" seems bogus to me since that's the default.

gcc is gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
kernel is 2.6.16-gentoo-r7

Any help would be appreciated.

Thanks,
Peter

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic