[PD] pd-etended AMD64 build

IOhannes m zmoelnig zmoelnig at iem.at
Sat Nov 10 17:16:34 CET 2007


Justin Robert wrote:
 > Thanks Hannes, I actually did get 0.39 pd-extended
 > working now. but still having issure when I try to
 > compile 0.40-3

ever tried tables?
you will get a broken pd (even though it might compile fine)

please believe me when i say that you _have_ to use 0.41 to get happy.
(well, i have worked quite some time with pd-0.40 on my 64bit system; it
is fine as long as you don't need tables, and probably data-structures)

however, why would anyone want to install a known-to-be-broken version
if there is a known-to-work version?


 > It seems to be having trouble with bonk~
 > here's the error:
 >
 > cd ../extra/bonk~;make
 > make[1]: Entering directory
 > `/home/justin/Desktop/pd-0.40-3/extra/bonk~'
 > cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC
 > -m32 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused
 > -Wno-parentheses -Wno-switch  -I../../src -o bonk~.o
 > -c bonk~.c
 > cc -m32 -export_dynamic -shared -o bonk~.pd_linux
 > bonk~.o -lc -lm
 > /usr/bin/ld: skipping incompatible
 > /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.so
 > when searching for -lc
 > /usr/bin/ld: skipping incompatible
 > /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.a
 > when searching for -lc
 > /usr/bin/ld: skipping incompatible
 > /usr/bin/../lib/libc.so when searching for -lc
 > /usr/bin/ld: skipping incompatible
 > /usr/bin/../lib/libc.a when searching for -lc
 > /usr/bin/ld: skipping incompatible /usr/lib/libc.so
 > when searching for -lc
 > /usr/bin/ld: skipping incompatible /usr/lib/libc.a
 > when searching for -lc
 > /usr/bin/ld: cannot find -lc
 > collect2: ld returned 1 exit status
 > make[1]: *** [bonk~.pd_linux] Error 1
 > make[1]: Leaving directory
 > `/home/justin/Desktop/pd-0.40-3/extra/bonk~'
 > make: *** [externs] Error 2
 >
 > Thanks for all the help,


you are not trouble having with bonk~ alone but with all externals in
./extra
bonk~ just happens to be the first in the alphabetic list and therefore
is the one that fails first...


anyhow, your problem is obvious that "you" are telling the compiler to
enforce building a 32bit version of the externals (via the "-m32" flag),
which is not such a good idea if you don't have 32bit...

you should be fine once you have all occurences of "-m32" in
./extra/makefile (there should be at least 2: one in LINUXCFLAGS and one
in the linker-flags)

fmasdr-
IOhannes





More information about the Pd-list mailing list