After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751515 - gstflacdec.c won't compile on Debian Jessie AMD64
gstflacdec.c won't compile on Debian Jessie AMD64
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.5.2
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-25 19:42 UTC by Per Gunnarsson
Modified: 2015-07-15 19:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make_output (1.85 KB, text/plain)
2015-06-25 19:42 UTC, Per Gunnarsson
Details

Description Per Gunnarsson 2015-06-25 19:42:59 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.
Comment 1 Vincent Penquerc'h 2015-07-15 14:20:00 UTC
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 ?
Comment 2 Per Gunnarsson 2015-07-15 17:28:58 UTC
(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.
Comment 3 Per Gunnarsson 2015-07-15 18:02:47 UTC
(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.
Comment 4 Per Gunnarsson 2015-07-15 19:14:47 UTC
I tried again and now it compiled.