Hi Athos, this is because the "-Werror" flag tells gcc to make all warnings into errors. In the makefile, try removing this flag from the LINUXCFLAGS line.
Patrick
On Sun, Jun 26, 2011 at 8:12 PM, athos bacchiocchi athos.bacchiocchi@gmail.com wrote:
i would like to sync pd and hydrogen using jack transport. i found an old object called "jack_transport" and tried to compile it, but i got an error due to a function which is now deprecated. Here's the output:
athos@athos-laptop:~/Pure Data/jack-transport$ make cc -DPD -O3 -fPIC -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g -I./pd-source-042/pd/src -o jack_transport.o -c jack_transport.c cc1: warnings being treated as errors jack_transport.c: In function ‘jack_transport_connect’: jack_transport.c:47: error: ‘jack_client_new’ is deprecated (declared at /usr/include/jack/jack.h:122) make: *** [jack_transport.pd_linux] Errore 1
is there either a way to fix this, or another object i could use or another method to achieve what i need?
thanks, athos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list