[PD] compiling external in Linux

Jaime Oliver jaime.oliver2 at gmail.com
Tue Jul 8 00:40:11 CEST 2008


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080707/0ad6ad17/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 560 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080707/0ad6ad17/attachment.obj>


More information about the Pd-list mailing list