patco wrote:
alo, Thank you for the fast answer, here is the result:
g++ -export_dynamic -shared -o pidip.pd_linux modules/*.o system/*.o /usr/lib/libtheora.a /usr/lib/libogg.a /usr/lib/libvorbis.a /usr/lib/libvorbisenc.a -lbz2 -lz -ldl -lmp3lame -logg -lvorbis -lvorbisenc -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm -L/usr/X11R6/lib -lMagick -lMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib /usr/bin/ld: modules/pdp_aging.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
:((
I will try to find another place for the -fPIC flag during the night...
i don't know the answer, but chances are very high, that one of the libraries you are linking against is the problem. however i have no idea which one. for some libs, debian offers versions compiled with "-fPIC" (e.g. in Gem you need to link against "-lftgl_pic" instead of "-lftgl" on x86_64) just try to clean up the libs (remove duplicate entries) and look out whether there are any pic-versions lying around on your hd... (or search pdp_aging for anyhting that could cause the problem)
mfg.asdr. IOhannes