Assuming the warnings you get are trivial, just remove the -Werror flag from /home/thomasgreg/creb-0.9.0/modules/Makefile.
Martin
Thomas Greg Corcoran wrote:
Dear pd-list,
I am having a nice time with pd.
I just suffer this sort of thing when I try to make the creb 0.90 external under ubuntu (which is just debian-linux-stuff I guess)
I type this in terminal after doing $/./configure in the creb directory i unpacked from tarball:
$/make
****************then output is as follows**************************
make -C system make[1]: Entering directory
/home/thomasgreg/creb-0.9.0/system' cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o setup.o -c setup.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o envelope_util.o -c envelope_util.c make[1]: Leaving directory
/home/thomasgreg/creb-0.9.0/system' make -C modules make[1]: Entering directory/home/thomasgreg/creb-0.9.0/modules' cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o ead.o -c ead.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o ear.o -c ear.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o eadsr.o -c eadsr.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o dist.o -c dist.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o tabreadmix.o -c tabreadmix.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o xfm.o -c xfm.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o qmult.o -c qmult.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o qnorm.o -c qnorm.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o cheby.o -c cheby.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o abs.o -c abs.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o ramp.o -c ramp.c cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o dwt.o -c dwt.c cc1: warnings being treated as errors dwt.c: In function 'dwt_permutation': dwt.c:193: warning: format '%d' expects type 'int', but argument 2 has type 't_int' dwt.c:193: warning: format '%d' expects type 'int', but argument 3 has type 'long int' dwt.c:195: warning: format '%d' expects type 'int', but argument 2 has type 't_int' dwt.c:195: warning: format '%d' expects type 'int', but argument 3 has type 'long int' dwt.c: In function 'dwt_filter': dwt.c:243: warning: assignment from incompatible pointer type dwt.c:248: warning: assignment from incompatible pointer type make[1]: *** [dwt.o] Error 1 make[1]: Leaving directory
/home/thomasgreg/creb-0.9.0/modules' make: *** [current] Error 2
so I dunno...
.. a fellow called Pun Chik posted this problem a while ago (december 2004) .. but there was no solution... maybe it is such a silly problem that is easily overcome.. (none-the-less it be wrecking my head more than the usual linux woe.)
If anybody has some idea I am very much appreciating..
Thanks-a-million,
Thomasgregory.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list