Hi,
gcc -o ../bin/pddplink.pd_linux -fPIC -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DUNIX -I . -I ../../../pd/src -I ../shared -export_dynamic -shared pddplink.o ../shared/common/loud.o ../shared/common/os.o /usr/bin/ld: pddplink.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
After fixing all dependencies, with pidip, here comes again the famous missing "-fPIC flag", I've also tried to place it everywhere in the makefile.
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:
Hi,
gcc -o ../bin/pddplink.pd_linux -fPIC -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DUNIX -I . -I ../../../pd/src -I ../shared -export_dynamic -shared pddplink.o ../shared/common/loud.o ../shared/common/os.o /usr/bin/ld: pddplink.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
"-fPIC" is needed at compile time, not at linking time (the gcc-line you are giving is doing linkage!) you have to "make clean" first, so all the .o files which were compiled without "-fPIC" will be re-compiled with this flag enabled.
I've also tried to place it everywhere in the makefile.
not very sophisticated....
mfg.asd.r IOhannes
--- IOhannes m zmoelnig zmoelnig@iem.at a écrit :
"-fPIC" is needed at compile time, not at linking time (the gcc-line you are giving is doing linkage!) you have to "make clean" first, so all the .o files which were compiled without "-fPIC" will be re-compiled with this flag enabled.
The make clean has radically fixed the problem, I will try to rememeber for the next time... Thanks.
CDR wrote: <<cool. i couldnt get my ToXy stuff to work without pd crashing after 2 <<or 3 seconds of clicking around... with weird memory-related errors <<pointing to the internals of PD's type system..
Weird, all the MiXed stuff merely works both under win32 linux32 and linux64 I have the same bugs with the ix widgets...
<<should have stuck with windows ;)
:-D
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