[Fink-devel] libsndfile1-1.0.17-2 compile failure on 10.5/Intel
libsndfile1-1.0.17-2 won't compile on 10.5/Intel, failing with: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W - Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad- function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/ Headers/FlatCarbon -c xi.c -o xi.o /dev/null 21 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W -Wall -Wdeclaration-after- statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes - Wcast-align -Wcast-qual -Wnested-externs -Wbad-function-cast -Wwrite- strings -pipe -fpascal-strings -I/Developer/Headers/FlatCarbon -c -o flac.lo flac.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W - Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad- function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/ Headers/FlatCarbon -c flac.c -fno-common -DPIC -o .libs/flac.o flac.c:63: error: syntax error before 'FLAC__SeekableStreamDecoder' flac.c:63: warning: no semicolon at end of struct or union flac.c:64: warning: type defaults to 'int' in declaration of 'fse' flac.c:64: warning: data definition has no type or storage class flac.c:77: error: syntax error before '}' token flac.c:77: warning: type defaults to 'int' in declaration of 'FLAC_PRIVATE' flac.c:77: warning: data definition has no type or storage class flac.c:111: error: syntax error before 'sf_flac_read_callback' flac.c:111: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:111: error: syntax error before '*' token flac.c:111: warning: type defaults to 'int' in declaration of 'sf_flac_read_callback' flac.c:111: warning: function declaration isn't a prototype flac.c:111: warning: data definition has no type or storage class flac.c:112: error: syntax error before 'sf_flac_seek_callback' flac.c:112: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:112: error: syntax error before '*' token flac.c:112: warning: type defaults to 'int' in declaration of 'sf_flac_seek_callback' flac.c:112: warning: function declaration isn't a prototype flac.c:112: warning: data definition has no type or storage class flac.c:113: error: syntax error before 'sf_flac_tell_callback' flac.c:113: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:113: error: syntax error before '*' token flac.c:113: warning: type defaults to 'int' in declaration of 'sf_flac_tell_callback' flac.c:113: warning: function declaration isn't a prototype flac.c:113: warning: data definition has no type or storage class flac.c:114: error: syntax error before 'sf_flac_length_callback' flac.c:114: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:114: error: syntax error before '*' token flac.c:114: warning: type defaults to 'int' in declaration of 'sf_flac_length_callback' flac.c:114: warning: function declaration isn't a prototype flac.c:114: warning: data definition has no type or storage class flac.c:115: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:115: error: syntax error before '*' token flac.c:115: warning: function declaration isn't a prototype flac.c:116: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:116: error: syntax error before '*' token flac.c:116: warning: function declaration isn't a prototype flac.c:117: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:117: error: syntax error before '*' token flac.c:117: warning: function declaration isn't a prototype flac.c:118: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:118: error: syntax error before '*' token flac.c:118: warning: function declaration isn't a prototype flac.c:121: error: syntax error before 'sf_flac_enc_seek_callback' flac.c:121: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamEncoder' flac.c:121: error: syntax error before '*' token flac.c:121: warning: type defaults to 'int' in declaration of 'sf_flac_enc_seek_callback' flac.c:121: warning: function declaration isn't a prototype flac.c:121: warning: data definition has no type or storage class flac.c:125: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamEncoder' flac.c:125: error: syntax error before '*' token flac.c:125: warning: function declaration isn't a prototype flac.c: In function 'flac_buffer_copy': flac.c:170: error: 'pflac' undeclared (first use in this function) flac.c:170: error: (Each undeclared identifier is reported only once flac.c:170: error: for each function it appears in.) flac.c:170: error: syntax error before ')' token flac.c: At top level:
Re: [Fink-devel] libsndfile1-1.0.17-2 compile failure on 10.5/Intel
On Saturday 23 February 2008 01:38:45 pm Kevin Horton wrote: libsndfile1-1.0.17-2 won't compile on 10.5/Intel, failing with: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W - Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad- function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/ Headers/FlatCarbon -c xi.c -o xi.o /dev/null 21 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W -Wall -Wdeclaration-after- statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes - Wcast-align -Wcast-qual -Wnested-externs -Wbad-function-cast -Wwrite- strings -pipe -fpascal-strings -I/Developer/Headers/FlatCarbon -c -o flac.lo flac.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W - Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad- function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/ Headers/FlatCarbon -c flac.c -fno-common -DPIC -o .libs/flac.o flac.c:63: error: syntax error before 'FLAC__SeekableStreamDecoder' flac.c:63: warning: no semicolon at end of struct or union flac.c:64: warning: type defaults to 'int' in declaration of 'fse' flac.c:64: warning: data definition has no type or storage class flac.c:77: error: syntax error before '}' token flac.c:77: warning: type defaults to 'int' in declaration of 'FLAC_PRIVATE' flac.c:77: warning: data definition has no type or storage class flac.c:111: error: syntax error before 'sf_flac_read_callback' flac.c:111: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:111: error: syntax error before '*' token flac.c:111: warning: type defaults to 'int' in declaration of 'sf_flac_read_callback' flac.c:111: warning: function declaration isn't a prototype flac.c:111: warning: data definition has no type or storage class flac.c:112: error: syntax error before 'sf_flac_seek_callback' flac.c:112: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:112: error: syntax error before '*' token flac.c:112: warning: type defaults to 'int' in declaration of 'sf_flac_seek_callback' flac.c:112: warning: function declaration isn't a prototype flac.c:112: warning: data definition has no type or storage class flac.c:113: error: syntax error before 'sf_flac_tell_callback' flac.c:113: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:113: error: syntax error before '*' token flac.c:113: warning: type defaults to 'int' in declaration of 'sf_flac_tell_callback' flac.c:113: warning: function declaration isn't a prototype flac.c:113: warning: data definition has no type or storage class flac.c:114: error: syntax error before 'sf_flac_length_callback' flac.c:114: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:114: error: syntax error before '*' token flac.c:114: warning: type defaults to 'int' in declaration of 'sf_flac_length_callback' flac.c:114: warning: function declaration isn't a prototype flac.c:114: warning: data definition has no type or storage class flac.c:115: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:115: error: syntax error before '*' token flac.c:115: warning: function declaration isn't a prototype flac.c:116: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:116: error: syntax error before '*' token flac.c:116: warning: function declaration isn't a prototype flac.c:117: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:117: error: syntax error before '*' token flac.c:117: warning: function declaration isn't a prototype flac.c:118: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamDecoder' flac.c:118: error: syntax error before '*' token flac.c:118: warning: function declaration isn't a prototype flac.c:121: error: syntax error before 'sf_flac_enc_seek_callback' flac.c:121: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamEncoder' flac.c:121: error: syntax error before '*' token flac.c:121: warning: type defaults to 'int' in declaration of 'sf_flac_enc_seek_callback' flac.c:121: warning: function declaration isn't a prototype flac.c:121: warning: data definition has no type or storage class flac.c:125: warning: type defaults to 'int' in declaration of 'FLAC__SeekableStreamEncoder' flac.c:125: error: syntax error before '*' token flac.c:125: warning: function declaration isn't a prototype flac.c: In function 'flac_buffer_copy': flac.c:170: error: 'pflac' undeclared (first use in this function) flac.c:170: error: (Each undeclared identifier is reported only once flac.c:170: error: for each