Hi,
still the same problem, but it seems harder to fix:
g++ -fPIC -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
patco
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
ola,
i added -fPIC in pidip's Makefile, you can try it from here: http://ydegoyon.free.fr/pidip-0.12.20.tar.gz
suerte, sevy
patco wrote:
Hi,
still the same problem, but it seems harder to fix:
g++ -fPIC -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
patco
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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...
--- Yves Degoyon ydegoyon@free.fr a écrit :
ola,
i added -fPIC in pidip's Makefile, you can try it from here: http://ydegoyon.free.fr/pidip-0.12.20.tar.gz
suerte, sevy
patco wrote:
Hi,
still the same problem, but it seems harder to fix:
g++ -fPIC -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
patco
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
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