patrick a écrit : > hi, > > i am trying to build pd-extended for 64-bit. > > OSCx > sendOSC.c: In function ‘sendOSC_settypetags’: > sendOSC.c:186: warning: cast from pointer to integer of different size > cc -g -O2 -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1 > -I../libOSC -I../../pd/src -I../../../pd/src -I../src -I../libOSC > -I../../pd/src -I../../../pd/src -I../src -c -o htmsocket.o htmsocket.c > htmsocket.c:107: warning: no previous prototype for ‘IsAddressMulticast’ > cc -g -O2 -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1 > -I../libOSC -I../../pd/src -I../../../pd/src -I../src -I../libOSC > -I../../pd/src -I../../../pd/src -I../src -c -o OSC-system-dependent.o > OSC-system-dependent.c > OSC-system-dependent.c: In function ‘fatal_error’: > OSC-system-dependent.c:65: warning: implicit declaration of function ‘exit’ > OSC-system-dependent.c:65: warning: incompatible implicit declaration of > built-in function ‘exit’ > cc -Wl,-export_dynamic -shared -o sendOSC.pd_linux sendOSC.o htmsocket.o > OSC-system-dependent.o -L../../../pd/bin -lpd -lc -lm ../libOSC/libOSC.a > /usr/bin/ld: sendOSC.o: relocation R_X86_64_32 against `a local symbol' > can not be used when making a shared object; recompile with -fPIC > sendOSC.o: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[4]: *** [sendOSC.pd_linux] Error 1 > make[4]: Leaving directory `/home/pat/src/pure-data/externals/OSCx/src' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/home/pat/src/pure-data/externals/OSCx' > make[2]: *** > [/home/pat/src/pure-data/externals/OSCx/src/OSCroute.pd_linux] Error 2 > > > gem2pdp > gcc -export_dynamic -shared -o gem2pdp.pd_linux gem2pdp.o yuv.o -lm > /usr/bin/ld: gem2pdp.o: relocation R_X86_64_32 against `a local symbol' > can not be used when making a shared object; recompile with -fPIC > gem2pdp.o: could not read symbols: Bad value > > > cyclone > /usr/bin/ld: hammer/accum.o: relocation R_X86_64_32 against `a local > symbol' can not be used when making a shared object; recompile with -fPIC > hammer/accum.o: could not read symbols: Bad value > > > pddp > /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 > pddplink.o: could not read symbols: Bad value > > > toxy > /usr/bin/ld: tot.o: relocation R_X86_64_32 against `a local symbol' can > not be used when making a shared object; recompile with -fPIC > tot.o: could not read symbols: Bad value > > > pidip > /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 > modules/pdp_aging.o: could not read symbols: Bad value > > > i compiled extended with pd 0.41 test 10 not patched. > the question is: recompile with -fPIC i would like to try it. where > should i modify the Makefile? > pat
add -fPIC to the CFLAGS into the makefile of the respective external, and please send the diff to the bug tracker of pd-extended with "diff -uw oldfile newfile > file.diff or wait for the developer to fix this thanks for report, I'll give a try on my ubuntu64 computer _______________________________________________ PD-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
