Re: [PD] Problems - Compiling External in Linux 64 bits
Hallo! i`m trying to compile de obj1 external (that comes with PD source) in a Fedora 5 64 bits environment and I'm getting the following error message: cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o obj1.o -c obj1.c ld -export_dynamic -shared -o obj1.pd_linux obj1.o -lc -lm ld: obj1.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC obj1.o: could not read symbols: Bad value make: *** [obj1.pd_linux] Error 1 Extra info about the system: 2.6.18-1.2239.fc5 #1 SMP Fri Nov 10 12:51:06 EST 2006 x86_64 x86_64 x86_64 GNU/Linux Can somebody help me?! You have to use -fPIC in the CC-Flags ! But this should be fixed in cvs too ... LG Georg ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Problems - Compiling External in Linux 64 bits
Hi everybody! i`m trying to compile de obj1 external (that comes with PD source) in a Fedora 5 64 bits environment and I'm getting the following error message: cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o obj1.o -c obj1.c ld -export_dynamic -shared -o obj1.pd_linux obj1.o -lc -lm ld: obj1.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC obj1.o: could not read symbols: Bad value make: *** [obj1.pd_linux] Error 1 Extra info about the system: 2.6.18-1.2239.fc5 #1 SMP Fri Nov 10 12:51:06 EST 2006 x86_64 x86_64 x86_64 GNU/Linux Can somebody help me?! Thanks!!! Leandro ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list