All pastes #505540 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-23 16:45 UTC
rendered paste body
bennyp@Medium-Brain jack_capture-0.9.4 $ make
sh gen_setformat_c.sh >setformat.c
gcc -O3 jack_capture.c -DVERSION=\"0.9.4\" -o jack_capture -ljack -lsndfile -Wall
jack_capture.c:30:21: error: sndfile.h: No such file or directory
jack_capture.c:289: error: parse error before '*' token
jack_capture.c:289: warning: type defaults to 'int' in declaration of 'soundfile'
jack_capture.c:289: warning: data definition has no type or storage class
In file included from jack_capture.c:294:
setformat.c:1: error: parse error before '*' token
setformat.c: In function 'setformat':
setformat.c:2: error: 'sf_info' undeclared (first use in this function)
setformat.c:2: error: (Each undeclared identifier is reported only once
setformat.c:2: error: for each function it appears in.)
setformat.c:3: error: 'SF_FORMAT_WAV' undeclared (first use in this function)
jack_capture.c: In function 'open_soundfile':
jack_capture.c:300: error: 'SF_INFO' undeclared (first use in this function)
jack_capture.c:300: error: parse error before 'sf_info'
jack_capture.c:301: error: 'sf_info' undeclared (first use in this function)
jack_capture.c:305: error: 'SF_FORMAT_WAV' undeclared (first use in this function)
jack_capture.c:313: error: 'SF_FORMAT_PCM_U8' undeclared (first use in this function)
jack_capture.c:315: error: 'SF_FORMAT_PCM_16' undeclared (first use in this function)
jack_capture.c:317: error: 'SF_FORMAT_PCM_24' undeclared (first use in this function)
jack_capture.c:319: error: 'SF_FORMAT_PCM_32' undeclared (first use in this function)
jack_capture.c:326: error: 'SF_FORMAT_FLOAT' undeclared (first use in this function)
jack_capture.c:337: warning: implicit declaration of function 'sf_open'
jack_capture.c:337: error: 'SFM_WRITE' undeclared (first use in this function)
jack_capture.c:337: warning: assignment makes pointer from integer without a cast
jack_capture.c:339: warning: implicit declaration of function 'sf_strerror'
jack_capture.c:339: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
jack_capture.c: In function 'close_soundfile':
jack_capture.c:347: warning: implicit declaration of function 'sf_close'
jack_capture.c: In function 'disk_write':
jack_capture.c:381: warning: implicit declaration of function 'sf_writef_float'
jack_capture.c:384: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
jack_capture.c: In function 'main':
jack_capture.c:851: warning: passing argument 2 of 'jack_set_buffer_size_callback' from incompatible pointer type
make: *** [jack_capture] Error 1