[gst-devel] Patch: building gst-plugins-good against libcdio 0.78.1

Tim Müller t.i.m at zen.co.uk
Sun Dec 10 19:05:40 CET 2006


On Tue, 2006-11-21 at 08:05 +0000, Chris Clayton wrote:

Hi Chris,

> I've just tried to build gst-plugins-good against libcdio 0.78.1 and got a few
> errors like this one:
> 
>  i386-pc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -DGST_DISABLE_DEPRECATED -O3 -march=i386 -fno-strength-reduce -MT libgstcdio_la-gstcdio.lo -MD -MP -MF .deps/libgstcdio_la-gstcdio.Tpo -c gstcdio.c  -fPIC -DPIC -o .libs/libgstcdio_la-gstcdio.o
> In file included from gstcdiocddasrc.c:78:
> gstcdio.h:30:5: error: floating constant in preprocessor expression
> In file included from gstcdio.c:25:
> gstcdio.h:30:5: error: floating constant in preprocessor expression
> gstcdio.c:32:6: error: floating constant in preprocessor expression

> The error happens because in libcdio-0.78.1, LIBCDIO_VERSION_NUM is defined as
> 78.1. I made this patch to get the build to complete. I'm a real novice with
> autotools, so it's a bit of a hack, but the patch should at least set you on
> the road to a proper fix.
>  (...)

Thanks for the patch, but I don't think it's really needed, since there
was apparently a libcdio-0.78.2 release which fixed this just a few days
after 0.78.1.

 Cheers
  -Tim






More information about the gstreamer-devel mailing list