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

2009-10-05 Thread Hans-Christoph Steiner


On Oct 4, 2009, at 9:19 PM, András Murányi wrote:




2009/10/5 Hans-Christoph Steiner h...@at.or.at

On Oct 4, 2009, at 4:02 PM, András Murányi wrote:





x86_64. I also tried it without if/endif, cyclone still ignored it.



Try sticking it directly in externals/miXed/Makefile.common.

.hc


Thanks and sorry for bugging you because this one was also  
described on the wiki.


Its ok to keep bugging, that's what the list is for.  Plus you are  
helping to get the 64-bit stuff ironed out.  Here you're problem is  
simple, you don't have ladspa installed:


/home/muranyia/Download/0.41/externals/build/src/../../plugin~/ 
jload.c:17:20: error: ladspa.h: No such file or directory


I believe the package is called 'ladspa-sdk', but you can see a  
listing here for Debian/Ubuntu:


http://puredata.info/docs/developer/Debian

.hc

Cool. We're here now:

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 - 
DIEMTAB_SINGLE_OBJ -o /home/muranyia/Download/0.41/externals/iem/ 
iem_tab/src/tab_add_scalar.o -c /home/muranyia/Download/0.41/ 
externals/iem/iem_tab/src/tab_add_scalar.c
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c: In function ‘tab_add_scalar_list’:
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c:85: error: incompatible types in assignment
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c:105: error: invalid operands to binary +
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c: At top level:
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c:69: warning: unused parameter ‘s’
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c:119: warning: unused parameter ‘x’
/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.c:123: warning: unused parameter ‘s’
make[2]: *** [/home/muranyia/Download/0.41/externals/iem/iem_tab/src/ 
tab_add_scalar.o] Error 1

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


Andras


I forgot to mention, you can also remove a library from the build  
process when it fails, so in externals/Makefile, look for TARGETS and  
remove iem_tab for now, to go on to the next step.


.hc




I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.  - Martin  
Luther King, Jr.



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-10-03 Thread Hans-Christoph Steiner


On Oct 2, 2009, at 1:06 PM, András Murányi wrote:




2009/10/2 Hans-Christoph Steiner h...@at.or.at

On Oct 1, 2009, at 7:34 PM, András Murányi wrote:




2009/10/1 IOhannes m zmoelnig zmoel...@iem.at
András Murányi wrote:
 Thanks! Without root i'm still getting those access denied  
errors, as root



most likely because you checked out as root, which results in files
being owned by root and not you.
simple fix is:
% cd /home/muranyia/Download/0.41/
% chown -R muranyia .

imho, you should do this before anything else and then continue to  
work

as user.


I didn't check out as root but it seems a previous 'sudo make  
install' messed up the build directory. Chown didn't help, so i  
deleted the whole source and checked it out again - problem gone.



Never run any builds as root, its a good way to mess things up.  :)


Of course we don't. Only if things don't work, and the target is  
called 'install', we might have the false impression that we need  
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

like the others and the error message have said: recompile with - 
fPIC.

you will have to clean the build first (make clean), in order to make
the added -fPIC copiler flag have any affect on the created  
object files.



Make clean got into and endless loop, had to delete source again :o/

I also took a look at this doc:
http://support.amd.com/us/Processor_TechDocs/32035.pdf
...and decided to add this to the Makefile:



Which Makefile?  It should be 0.41/packages/linux_make/Makefile

Yes


When you run 'uname -m'  what does it tell you?

x86_64. I also tried it without if/endif, cyclone still ignored it.



Try sticking it directly in externals/miXed/Makefile.common.

.hc







# AMD64
ifeq ($(TARGET_PLATFORM),x86_64)
OPT_CFLAGS += -march=k8 -fPIC
OPT_CFLAGS += -O3 -ffast-math
endif

...which concluded at this:

make[3]: Entering directory `/home/muranyia/Download/0.41/externals/ 
miXed/cyclone'
gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno- 
switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . - 
I ../../../pd/src -I ../shared   -c -o hammer/accum.o hammer/accum.c
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

Sadly i don't have the skills to dive into this by myself, so again  
i'm hoping for your advice.


For whatever reason, the OPT_FLAGS didn't get set for cyclone again,  
since its the same error.  Let's find that reason (see above  
questions).


.hc


Thanks! Andras








Making boring techno music is really easy with modern tools, he
says, but with live coding, boring techno is much harder. - Chris  
McCormick





___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-10-02 Thread András Murányi
2009/10/2 Hans-Christoph Steiner h...@at.or.at


 On Oct 1, 2009, at 7:34 PM, András Murányi wrote:



 2009/10/1 IOhannes m zmoelnig zmoel...@iem.at

 András Murányi wrote:
  Thanks! Without root i'm still getting those access denied errors, as
 root


 most likely because you checked out as root, which results in files
 being owned by root and not you.
 simple fix is:
 % cd /home/muranyia/Download/0.41/
 % chown -R muranyia .

 imho, you should do this before anything else and then continue to work
 as user.


 I didn't check out as root but it seems a previous 'sudo make install'
 messed up the build directory. Chown didn't help, so i deleted the whole
 source and checked it out again - problem gone.



 Never run any builds as root, its a good way to mess things up.  :)


Of course we don't. Only if things don't work, and the target is called
'install', we might have the false impression that we need 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

 like the others and the error message have said: recompile with -fPIC.
 you will have to clean the build first (make clean), in order to make
 the added -fPIC copiler flag have any affect on the created object
 files.


 Make clean got into and endless loop, had to delete source again :o/

 I also took a look at this doc:
 http://support.amd.com/us/Processor_TechDocs/32035.pdf
 ...and decided to add this to the Makefile:



 Which Makefile?  It should be 0.41/packages/linux_make/Makefile


Yes



 When you run 'uname -m'  what does it tell you?


x86_64. I also tried it without if/endif, cyclone still ignored it.


 # AMD64
 ifeq ($(TARGET_PLATFORM),x86_64)
 OPT_CFLAGS += -march=k8 -fPIC
 OPT_CFLAGS += -O3 -ffast-math
 endif


 ...which concluded at this:

 make[3]: Entering directory
 `/home/muranyia/Download/0.41/externals/miXed/cyclone'
 gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
 -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . -I ../../../pd/src -I
 ../shared   -c -o hammer/accum.o hammer/accum.c
 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


 Sadly i don't have the skills to dive into this by myself, so again i'm
 hoping for your advice.


  For whatever reason, the OPT_FLAGS didn't get set for cyclone again,
 since its the same error.  Let's find that reason (see above questions).

 .hc


Thanks! Andras
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-10-01 Thread IOhannes m zmoelnig
András Murányi wrote:
 Thanks! Without root i'm still getting those access denied errors, as root


most likely because you checked out as root, which results in files
being owned by root and not you.
simple fix is:
% cd /home/muranyia/Download/0.41/
% chown -R muranyia .

imho, you should do this before anything else and then continue to work
as user.

 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

like the others and the error message have said: recompile with -fPIC.
you will have to clean the build first (make clean), in order to make
the added -fPIC copiler flag have any affect on the created object files.

fgmasrd
IOhannes



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-10-01 Thread András Murányi
2009/10/1 IOhannes m zmoelnig zmoel...@iem.at

 András Murányi wrote:
  Thanks! Without root i'm still getting those access denied errors, as
 root


 most likely because you checked out as root, which results in files
 being owned by root and not you.
 simple fix is:
 % cd /home/muranyia/Download/0.41/
 % chown -R muranyia .

 imho, you should do this before anything else and then continue to work
 as user.


I didn't check out as root but it seems a previous 'sudo make install'
messed up the build directory. Chown didn't help, so i deleted the whole
source and checked it out again - problem gone.



  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

 like the others and the error message have said: recompile with -fPIC.
 you will have to clean the build first (make clean), in order to make
 the added -fPIC copiler flag have any affect on the created object files.


Make clean got into and endless loop, had to delete source again :o/

I also took a look at this doc:
http://support.amd.com/us/Processor_TechDocs/32035.pdf
...and decided to add this to the Makefile:

# AMD64
 ifeq ($(TARGET_PLATFORM),x86_64)
 OPT_CFLAGS += -march=k8 -fPIC
 OPT_CFLAGS += -O3 -ffast-math
 endif


...which concluded at this:

make[3]: Entering directory
 `/home/muranyia/Download/0.41/externals/miXed/cyclone'
 gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
 -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . -I ../../../pd/src -I
 ../shared   -c -o hammer/accum.o hammer/accum.c
 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


Sadly i don't have the skills to dive into this by myself, so again i'm
hoping for your advice.

Thanks,

Andras
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-10-01 Thread Hans-Christoph Steiner


On Oct 1, 2009, at 7:34 PM, András Murányi wrote:




2009/10/1 IOhannes m zmoelnig zmoel...@iem.at
András Murányi wrote:
 Thanks! Without root i'm still getting those access denied errors,  
as root



most likely because you checked out as root, which results in files
being owned by root and not you.
simple fix is:
% cd /home/muranyia/Download/0.41/
% chown -R muranyia .

imho, you should do this before anything else and then continue to  
work

as user.


I didn't check out as root but it seems a previous 'sudo make  
install' messed up the build directory. Chown didn't help, so i  
deleted the whole source and checked it out again - problem gone.



Never run any builds as root, its a good way to mess things up.  :)




 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

like the others and the error message have said: recompile with -fPIC.
you will have to clean the build first (make clean), in order to make
the added -fPIC copiler flag have any affect on the created object  
files.



Make clean got into and endless loop, had to delete source again :o/

I also took a look at this doc:
http://support.amd.com/us/Processor_TechDocs/32035.pdf
...and decided to add this to the Makefile:



Which Makefile?  It should be 0.41/packages/linux_make/Makefile

When you run 'uname -m'  what does it tell you?


# AMD64
ifeq ($(TARGET_PLATFORM),x86_64)
OPT_CFLAGS += -march=k8 -fPIC
OPT_CFLAGS += -O3 -ffast-math
endif

...which concluded at this:

make[3]: Entering directory `/home/muranyia/Download/0.41/externals/ 
miXed/cyclone'
gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno- 
switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . - 
I ../../../pd/src -I ../shared   -c -o hammer/accum.o hammer/accum.c
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

Sadly i don't have the skills to dive into this by myself, so again  
i'm hoping for your advice.


For whatever reason, the OPT_FLAGS didn't get set for cyclone again,  
since its the same error.  Let's find that reason (see above questions).


.hc




kill your television


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-09-30 Thread martin.peach

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’
...


  ___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-09-30 Thread András Murányi
On Wed, Sep 30, 2009 at 10:17 PM, martin.pe...@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


Andras
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


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

2009-09-30 Thread Hans-Christoph Steiner


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




On Wed, Sep 30, 2009 at 10:17 PM, martin.pe...@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



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev