[PD-dev] [LONG] Building extended on amd64

Hans-Christoph Steiner hans at at.or.at
Thu Oct 1 04:16:06 CEST 2009


On Sep 30, 2009, at 5:49 PM, András Murányi wrote:

>
>
> On Wed, Sep 30, 2009 at 10:17 PM, <martin.peach at sympatico.ca> wrote:
> You need to install the fftw3-dev package.
>
> Martin
>
> muranyia wrote:
>
>
> # sudo make install
> ...
> cc -DPD -I/home/muranyia/Download/0.41/pd/src -Wall -W -ggdb -I/home/ 
> muranyia/Download/0.41/Gem/src -I/home/muranyia/Download/0.41/ 
> externals/pdp/include -DUNIX -Dunix -DDL_OPEN -fPIC -O2 -funroll- 
> loops -fomit-frame-pointer -o "/home/muranyia/Download/0.41/ 
> externals/bsaylor/partconv~.o" -c "/home/muranyia/Download/0.41/ 
> externals/bsaylor/partconv~.c"
> /home/muranyia/Download/0.41/externals/bsaylor/partconv~.c:34:19:  
> error: fftw3.h: No such file or directory
> /home/muranyia/Download/0.41/externals/bsaylor/partconv~.c:51:  
> error: expected specifier-qualifier-list before ‘fftwf_complex’
> ...
>
>
>
> Thanks! Without root i'm still getting those access denied errors,  
> as root it goes as far as this:
>
> gcc -o ../bin/accum.pd_linux -Wall -W -Wstrict-prototypes -Wno- 
> unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame- 
> pointer -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
> collect2: ld returned 1 exit status
> make[3]: *** [../bin/accum.pd_linux] Error 1
> make[3]: Leaving directory `/home/muranyia/Download/0.41/externals/ 
> miXed/cyclone'
> make[2]: *** [cyclone] Error 2
> make[2]: Leaving directory `/home/muranyia/Download/0.41/externals'
> make[1]: *** [externals_install] Error 2
> make[1]: Leaving directory `/home/muranyia/Download/0.41/packages'
> make: *** [install] Error 2

It seems that -fPIC isn't being set for cyclone.  In packages/ 
linux_make/Makefile, try adding -fPIC to OPT_CFLAGS. You should also  
be setting AMD64 flags there.

.hc


----------------------------------------------------------------------------

As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously.         - Benjamin Franklin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090930/f572fb5d/attachment.htm>


More information about the Pd-dev mailing list