Hello all,

I am trying to compile a simple external (non-signal one) in Fedora in the following way:

I put a folder with the .c file, m_pd.h and the makefile (attached) in the extra folder, then cd into that folder and then type make pd_linux and get the following error. I'd appreciate pointers to this. I just compiled this in OSX and it worked correctly (equivalent process and make pd_darwin)

best,

Jaime


ERROR Message:

[joliverl@maquina analista]$ make pd_linux
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o analista.o -c analista.c
ld -export_dynamic  -shared -o analista.pd_linux analista.o -lc -lm
ld: analista.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
analista.o: could not read symbols: Bad value
make: *** [analista.pd_linux] Error 1