[PD-dev] hammer/accum error on AMD64

Hans-Christoph Steiner hans at eds.org
Wed Nov 30 07:26:44 CET 2005


The first AMD64 issue:

gcc -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   -c  
-o hammer/accum.o hammer/accum.c
gcc -o  
/home/users/e/ei/eighthave/cvs/pure-data/packages/linux_make/build// 
usr/local/lib/pd/extra/cyclone/accum.pd_linux -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 hammer/accum.o
/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


Shouldn't all externals be compiled with -fPIC on Linux?  I know  
Darwin/Mac OS X compiles DLLs as -fPIC by default.

.hc

________________________________________________________________________ 
____

                   ¡El pueblo unido jamás será vencido!




More information about the Pd-dev mailing list