[Gtkradiant] GtkRadiant and x86_64 linux

Patrik Jakobsson xpatrikx at home.se
Mon Jul 25 13:19:03 CDT 2005


Hi, I don't know if this has been discussed before but since the mailing 
list archives are gone...
Im trying to compile GtkRadiant (SVN Checkout Mon Jul 25 20:14:33) for 
x86_64 linux (slamd64).
I ran into some trouble:

scons: Building targets ...
g++ -Wl,-fini,fini_stub -L. -static-libgcc -ldl -shared -o 
build/release/archivepak.so build/release/plugins/archivepak/plugin.os 
build/relea
se/plugins/archivepak/archive.os build/release/plugins/archivepak/pak.os 
-Lbuild/release/libs -Llibs -lcmdlib
/usr/lib/gcc/x86_64-slackware-linux/3.4.3/../../../../x86_64-slackware-linux/bin/ld: 
./libstdc++.a(tree.o): relocation R_X86_64_PC32 against
`std::_Rb_tree_increment(std::_Rb_tree_node_base*)' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-slackware-linux/3.4.3/../../../../x86_64-slackware-linux/bin/ld: 
final link failed: Bad value
collect2: ld returned 1 exit status

I also get a couple of these:

scons: warning: Two different environments were specified for target 
tools/quake3/common/imagelib.o,
        but they appear to have the same action: gcc -W -Wall 
-Wcast-align -Wcast-qual -Wno-unused-parameter -O2 `xml2-config 
--cflags` `pkg-
config glib-2.0 --cflags` `libpng-config --cflags` -c -o 
tools/quake3/common/imagelib.o 
/usr/local/src/GtkRadiant/tools/quake3/common/imageli
b.c
File "SConscript", line 194, in ?

Has anyone gotten this to work?
Help is appreciated!

    --Patrik Jakobsson



More information about the Gtkradiant mailing list