After installing FLAC 1.1.3 beta1 on Slackware (gcc 3.4.6) I tried recompiling vorbis-tools 1.1.1, but I get this error:
easyflac.o(.text+0x547): In function `EasyFLAC__init':
: undefined reference to `OggFLAC__stream_decoder_init'
easyflac.o(.text+0x1e1): In function `EasyFLAC__set_read_callback':
: undefined reference to `OggFLAC__stream_decoder_set_read_callback'
easyflac.o(.text+0x1f4): In function `EasyFLAC__set_read_callback':
: undefined reference to `FLAC__stream_decoder_set_read_callback'
easyflac.o(.text+0x221): In function `EasyFLAC__set_write_callback':
: undefined reference to `OggFLAC__stream_decoder_set_write_callback'
easyflac.o(.text+0x234): In function `EasyFLAC__set_write_callback':
: undefined reference to `FLAC__stream_decoder_set_write_callback'
easyflac.o(.text+0x261): In function `EasyFLAC__set_metadata_callback':
: undefined reference to `OggFLAC__stream_decoder_set_metadata_callback'
easyflac.o(.text+0x274): In function `EasyFLAC__set_metadata_callback':
: undefined reference to `FLAC__stream_decoder_set_metadata_callback'
easyflac.o(.text+0x2a1): In function `EasyFLAC__set_error_callback':
: undefined reference to `OggFLAC__stream_decoder_set_error_callback'
easyflac.o(.text+0x2b4): In function `EasyFLAC__set_error_callback':
: undefined reference to `FLAC__stream_decoder_set_error_callback'
easyflac.o(.text+0x2dd): In function `EasyFLAC__set_client_data':
: undefined reference to `OggFLAC__stream_decoder_set_client_data'
easyflac.o(.text+0x2ec): In function `EasyFLAC__set_client_data':
: undefined reference to `FLAC__stream_decoder_set_client_data'
easyflac.o(.text+0x56a): In function `EasyFLAC__init':
: undefined reference to `FLAC__stream_decoder_init'
collect2: ld returned 1 exit status
make[2]: *** [ogg123] Error 1
make[2]: Leaving directory `/tmp/vorbis-tools-1.1.1/ogg123'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vorbis-tools-1.1.1'
make: *** [all] Error 2
Any idea what this is about?
Also when compiling mpd (music player daemon) I get an error:
In file included from inputPlugins/_flac_common.c:26:
inputPlugins/_flac_common.h:33:42: FLAC/seekable_stream_decoder.h: No such file or directory
In file included from inputPlugins/_flac_common.c:26:
inputPlugins/_flac_common.h:57: error: syntax error before "FLAC__StreamDecoderErrorStatus"
inputPlugins/_flac_common.c:190: warning: type defaults to `int' in declaration of `FLAC__StreamDecoderErrorStatus'
inputPlugins/_flac_common.c:190: error: syntax error before "status"
inputPlugins/_flac_common.c:192: warning: no previous prototype for 'flac_error_common_cb'
inputPlugins/_flac_common.c: In function `flac_error_common_cb':
inputPlugins/_flac_common.c:193: error: `data' undeclared (first use in this function)
inputPlugins/_flac_common.c:193: error: (Each undeclared identifier is reported only once
inputPlugins/_flac_common.c:193: error: for each function it appears in.)
inputPlugins/_flac_common.c:196: error: `status' undeclared (first use in this function)
inputPlugins/_flac_common.c:197: error: `FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC' undeclared (first use in this function)
inputPlugins/_flac_common.c:198: error: `plugin' undeclared (first use in this function)
inputPlugins/_flac_common.c:200: error: `FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER' undeclared (first use in this function)
inputPlugins/_flac_common.c:203: error: `FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH' undeclared (first use in this function)
make[3]: *** [mpd-_flac_common.o] Error 1
make[3]: Leaving directory `/tmp/mpd-0.12.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mpd-0.12.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mpd-0.12.1'
make: *** [all] Error 2
Looks like a headerfile is missing?