[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 
se/plugins/archivepak/archive.os build/release/plugins/archivepak/pak.os 
-Lbuild/release/libs -Llibs -lcmdlib
./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
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 
        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 
File "SConscript", line 194, in ?

Has anyone gotten this to work?
Help is appreciated!

    --Patrik Jakobsson

More information about the Gtkradiant mailing list