I am trying to build Flac 1.1.0. Version 1.0.3 built without any problems on this system, but 1.0.4 and 1.1.0 fail during the `make' step. I ran `./configure' without any extra flags, then ran `make'. The following is the errors that make outputs: file_decoder.c:60: parse error before "FLAC__FileDecoderWriteCallback" file_decoder.c:60: warning: no semicolon at end of struct or union file_decoder.c:61: warning: type defaults to `int' in declaration of `metadata_callback' file_decoder.c:61: warning: data definition has no type or storage class file_decoder.c:62: parse error before "error_callback" file_decoder.c:62: warning: type defaults to `int' in declaration of `error_callback' file_decoder.c:62: warning: data definition has no type or storage class file_decoder.c:67: parse error before '}' token file_decoder.c:67: warning: type defaults to `int' in declaration of `FLAC__FileDecoderPrivate' file_decoder.c:67: warning: data definition has no type or storage class file_decoder.c:75: syntax error before "const" file_decoder.c:93: syntax error before "FLAC__FileDecoder" file_decoder.c: In function `FLAC__file_decoder_new': file_decoder.c:110: parse error before ')' token file_decoder.c:117: dereferencing pointer to incomplete type file_decoder.c:118: dereferencing pointer to incomplete type file_decoder.c:125: dereferencing pointer to incomplete type file_decoder.c: At top level: file_decoder.c:134: syntax error before "void" file_decoder.c: In function `FLAC__file_decoder_delete': file_decoder.c:143: dereferencing pointer to incomplete type file_decoder.c: At top level: file_decoder.c:156: syntax error before "FLAC__FileDecoderState" file_decoder.c: In function `FLAC__file_decoder_init':
What compiler+version are you using? --- "Svend S. Sorensen" <ssorensen@fastmail.fm> wrote:> I am trying to build Flac 1.1.0. Version 1.0.3 built without any > problems on this system, but 1.0.4 and 1.1.0 fail during the `make' > step. I ran `./configure' without any extra flags, then ran `make'. > The following is the errors that make outputs: > > file_decoder.c:60: parse error before > "FLAC__FileDecoderWriteCallback" > file_decoder.c:60: warning: no semicolon at end of struct or union > file_decoder.c:61: warning: type defaults to `int' in declaration of > `metadata_callback' > file_decoder.c:61: warning: data definition has no type or storage > class > file_decoder.c:62: parse error before "error_callback" > file_decoder.c:62: warning: type defaults to `int' in declaration of > `error_callback' > file_decoder.c:62: warning: data definition has no type or storage > class > file_decoder.c:67: parse error before '}' token > file_decoder.c:67: warning: type defaults to `int' in declaration of > `FLAC__FileDecoderPrivate' > file_decoder.c:67: warning: data definition has no type or storage > class > file_decoder.c:75: syntax error before "const" > file_decoder.c:93: syntax error before "FLAC__FileDecoder" > file_decoder.c: In function `FLAC__file_decoder_new': > file_decoder.c:110: parse error before ')' token > file_decoder.c:117: dereferencing pointer to incomplete type > file_decoder.c:118: dereferencing pointer to incomplete type > file_decoder.c:125: dereferencing pointer to incomplete type > file_decoder.c: At top level: > file_decoder.c:134: syntax error before "void" > file_decoder.c: In function `FLAC__file_decoder_delete': > file_decoder.c:143: dereferencing pointer to incomplete type > file_decoder.c: At top level: > file_decoder.c:156: syntax error before "FLAC__FileDecoderState" > file_decoder.c: In function `FLAC__file_decoder_init':__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com