gst-plugins compilation fails on 2.8.2.1 in video4linux directory (errors in gstv4lelement.c)



Hi guys,

After successfully passed the mozilla compilation step, I am able to reproduce
the problem (with 2.8.2.1) I was encountering with 2.8.2 in gst-plugins.

Makefile and configuration are pristine from 2.8.2.1 archive.
Compilation fails in the v4l (video4linux I think) directory with the following
error :

gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/include -I/usr/X11R6/include
-I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/include/gstreamer-0.8
-I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/include/glib-2.0
-I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/lib/glib-2.0/include
-I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -I/usr/X11R6/include
-I/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/include -I/usr/X11R6/include
-L/folk/vrubiolo/InstalledProgs/GARNOME-2.8.2.1/lib -L/usr/X11R6/lib -O2 -pipe
-MT libgstvideo4linux_la-gstv4lelement.lo -MD -MP -MF
.deps/libgstvideo4linux_la-gstv4lelement.Tpo -c gstv4lelement.c  -fPIC -DPIC -o
.libs/libgstvideo4linux_la-gstv4lelement.o
gstv4lelement.c:85:1: directives may not be used inside a macro argument
gstv4lelement.c:84:42: unterminated argument list invoking macro "g_assert"
gstv4lelement.c: In function `gst_v4l_iface_supported':
gstv4lelement.c:86: `g_assert' undeclared (first use in this function)
gstv4lelement.c:86: (Each undeclared identifier is reported only once
gstv4lelement.c:86: for each function it appears in.)
gstv4lelement.c:86: syntax error before "iface_type"
make[7]: *** [libgstvideo4linux_la-gstv4lelement.lo] Error 1
make[7]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gst-plugins/work/main.d/gst-plugins-0.8.6/sys/v4l'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gst-plugins/work/main.d/gst-plugins-0.8.6/sys'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gst-plugins/work/main.d/gst-plugins-0.8.6'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gst-plugins/work/main.d/gst-plugins-0.8.6'
make[3]: *** [build-work/main.d/gst-plugins-0.8.6/Makefile] Error 2
make[3]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gst-plugins'
make[2]: *** [../../desktop/gst-plugins/cookies/main.d/install] Error 2
make[2]: Leaving directory
`/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop/gnome-media'
make[1]: *** [paranoid-install] Error 2
make[1]: Leaving directory `/folk/vrubiolo/Archives/garnome-2.8.2.1/desktop'
make: *** [paranoid-install] Error 2

Note that the configure step did not stop at the v4l point so I _might_ not be
missing libraries (attaching log of configure script).

Thanks for the information/pointers you may give,

Vincent

PS : I did a search on the list archives and on Google and found no trace of the
problem/error. Seems like some patches were incorporated som time ago (aroung
end of march or so) to correct compilation problems with v4l but I don't know
more.
PPS : compressed attachment as it seems posts over 40KB are not allowed



Attachment: gst_configure.tar.bz2
Description: application/bzip



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]