Comix <acominu@xxxxxxxxxx> writes: > I'm proud to announce a new stable release of Hydrogen Drum Machine!! Still problems compiling with gcc-2.95.4 (Debian woody)... source='JackDriver.cpp' object='JackDriver.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -O3 -c -o JackDriver.o JackDriver.cpp JackDriver.cpp: In function `int jackDriverSampleRate(unsigned int, void *)': JackDriver.cpp:36: implicit declaration of function `int sprintf(...)' JackDriver.cpp: In method `int JackDriver::init(unsigned int)': JackDriver.cpp:275: implicit declaration of function `int getpid(...)' JackDriver.cpp:321: implicit declaration of function `int snprintf(...)' make[3]: *** [JackDriver.o] Error 1 make[3]: Leaving directory `/y/src/hydrogen-0.9.1/lib/drivers' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/y/src/hydrogen-0.9.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/y/src/hydrogen-0.9.1' make: *** [all] Error 2 This patch seems to solve that problem... --- lib/drivers/JackDriver.cpp~ Sun Nov 28 08:52:38 2004 +++ lib/drivers/JackDriver.cpp Sun Nov 28 21:53:37 2004 @@ -26,6 +26,8 @@ #ifdef JACK_SUPPORT #include "../Hydrogen.h" +#include <stdio.h> +#include <unistd.h> unsigned long jack_server_sampleRate = 0; jack_nframes_t jack_server_bufferSize = 0; Next it fails here (I've got raptor-1.2.0 compiled from source)... source='LadspaFX.cpp' object='LadspaFX.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -O3 -c -o LadspaFX.o LadspaFX.cpp In file included from /usr/local/include/lrdf.h:8, from LadspaFX.cpp:36: /usr/local/include/raptor.h:213: type specifier omitted for parameter /usr/local/include/raptor.h:213: parse error before `*' /usr/local/include/raptor.h:214: type specifier omitted for parameter /usr/local/include/raptor.h:214: parse error before `*' /usr/local/include/raptor.h:215: type specifier omitted for parameter /usr/local/include/raptor.h:215: parse error before `*' /usr/local/include/raptor.h:225: type specifier omitted for parameter /usr/local/include/raptor.h:225: parse error before `*' /usr/local/include/raptor.h:232: `FILE' was not declared in this scope /usr/local/include/raptor.h:232: `stream' was not declared in this scope /usr/local/include/raptor.h:232: parse error before `*' /usr/local/include/raptor.h:263: `FILE' was not declared in this scope /usr/local/include/raptor.h:263: `stream' was not declared in this scope /usr/local/include/raptor.h:263: parse error before `unsigned' make[3]: *** [LadspaFX.o] Error 1 make[3]: Leaving directory `/y/src/hydrogen-0.9.1/lib/fx' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/y/src/hydrogen-0.9.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/y/src/hydrogen-0.9.1' make: *** [all] Error 2 ./configure seemed happy with my liblrdf-0.3.7. Any suggestions? -- joq