GNOME Bugzilla – Bug 138852
Problem compiling gst-plugins 0.8.0
Last modified: 2004-12-22 21:47:04 UTC
[...] Making all in vcd gmake[3]: Entering directory `/tmp/gst-plugins-0.8.0/sys/vcd' if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/local/include/gstreamer-0.8 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -s -O3 -march=i686 -MT libgstvcdsrc_la-vcdsrc.lo -MD -MP -MF ".deps/libgstvcdsrc_la-vcdsrc.Tpo" \ -c -o libgstvcdsrc_la-vcdsrc.lo `test -f 'vcdsrc.c' || echo './'`vcdsrc.c; \ then mv -f ".deps/libgstvcdsrc_la-vcdsrc.Tpo" ".deps/libgstvcdsrc_la-vcdsrc.Plo"; \ else rm -f ".deps/libgstvcdsrc_la-vcdsrc.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/local/include/gstreamer-0.8 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -s -O3 -march=i686 -MT libgstvcdsrc_la-vcdsrc.lo -MD -MP -MF .deps/libgstvcdsrc_la-vcdsrc.Tpo -c vcdsrc.c -fPIC -DPIC -o .libs/libgstvcdsrc_la-vcdsrc.o In file included from /usr/include/linux/cdrom.h:14, from vcdsrc.c:35: /usr/include/asm/byteorder.h:14: error: syntax error before "__u32" /usr/include/asm/byteorder.h:28: error: syntax error before "__u64" In file included from /usr/include/linux/byteorder/little_endian.h:11, from /usr/include/asm/byteorder.h:57, from /usr/include/linux/cdrom.h:14, from vcdsrc.c:35: /usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/include/linux/byteorder/swab.h:160: error: syntax error before "__u64" gmake[3]: *** [libgstvcdsrc_la-vcdsrc.lo] Error 1 gmake[3]: Leaving directory `/tmp/gst-plugins-0.8.0/sys/vcd' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/gst-plugins-0.8.0/sys' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/gst-plugins-0.8.0' gmake: *** [all] Error 2
This bug is most likely a bug with your kernel headers package. On my Debian unstable box /usr/include/asm/byteorder.h includes /usr/include/asm/types.h, which defines those types. It definitely isn't a GStreamer bug.
Ok seems to be a kernel problem... sorry
Seems fixed with kernel 2.6.5