GNOME Bugzilla – Bug 751515
gstflacdec.c won't compile on Debian Jessie AMD64
Last modified: 2015-07-15 19:14:47 UTC
Created attachment 306129 [details] make_output make -C flac make[3]: Går till katalogen ”/home/per/tmp/test/gst-plugins-good-1.5.2/ext/flac” CC libgstflac_la-gstflac.lo CC libgstflac_la-gstflacdec.lo gstflacdec.c: In function 'gst_flac_dec_start': gstflacdec.c:185:3: error: unknown type name 'FLAC__StreamDecoderInitStatus' FLAC__StreamDecoderInitStatus s; More output attached.
Do you have libflac installed (including headers) ? Typically, /usr/include/FLAC/stream_decoder.h. If so, is there the string FLAC__StreamDecoderInitStatus in this file ? If you just installed libflac, did you rerun configure to get it to be detected and the proper variables set ?
(In reply to Vincent Penquerc'h from comment #1) > Do you have libflac installed (including headers) ? > Typically, /usr/include/FLAC/stream_decoder.h. > If so, is there the string FLAC__StreamDecoderInitStatus in this file ? > If you just installed libflac, did you rerun configure to get it to be > detected and the proper variables set ? I guess it was my fault. I had two versions of stream_decoder.h installed, the one I had in /usr/local did not have the string FLAC__StreamDecoderInitStatus. I still have one version of stream_decoder.h in /usr/include which has the string mentioned. Alas I am too lazy to recompile everything again at the moment. I trust that it will work if I stick to the Debian package version of libflac.
(In reply to Per Gunnarsson from comment #2) > (In reply to Vincent Penquerc'h from comment #1) > > Do you have libflac installed (including headers) ? > > Typically, /usr/include/FLAC/stream_decoder.h. > > If so, is there the string FLAC__StreamDecoderInitStatus in this file ? > > If you just installed libflac, did you rerun configure to get it to be > > detected and the proper variables set ? > > I guess it was my fault. I had two versions of stream_decoder.h installed, > the one I had in /usr/local did not have the string > FLAC__StreamDecoderInitStatus. > > I still have one version of stream_decoder.h in /usr/include which has the > string mentioned. Alas I am too lazy to recompile everything again at the > moment. I trust that it will work if I stick to the Debian package version > of libflac. Wait I decided to compilse it anyway just to see.
I tried again and now it compiled.