GNOME Bugzilla – Bug 727749
Compiling of gst-plugins-bad fails
Last modified: 2014-04-08 06:55:34 UTC
Hello, I am using jhbuild to build the gnome-3.12 desktop environment and using whatever the version is pulled from git I receive the error below. I have run jhbuild a little while before posting this. The configure line that they have used is: ./autogeh.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib' --disable-fatal-warnings --disable-static make all-recursive make[1]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad' Making all in gst-libs make[2]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs' Making all in gst make[3]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst' Making all in interfaces make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' make all-am make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' CC libgstphotography_1.0_la-photography.lo CCLD libgstphotography-1.0.la make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' Making all in basecamerabinsrc make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/basecamerabinsrc' CC libgstbasecamerabinsrc_1.0_la-gstbasecamerasrc.lo CCLD libgstbasecamerabinsrc-1.0.la make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/basecamerabinsrc' Making all in codecparsers make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/codecparsers' CC libgstcodecparsers_1.0_la-gstmpegvideoparser.lo CC libgstcodecparsers_1.0_la-gsth264parser.lo CC libgstcodecparsers_1.0_la-gstvc1parser.lo CC libgstcodecparsers_1.0_la-gstmpeg4parser.lo CC libgstcodecparsers_1.0_la-gsth265parser.lo CC libgstcodecparsers_1.0_la-nalutils.lo CC libgstcodecparsers_1.0_la-gstmpegvideometa.lo CCLD libgstcodecparsers-1.0.la make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/codecparsers' Making all in insertbin make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin' CC libgstinsertbin_1.0_la-gstinsertbin.lo CCLD libgstinsertbin-1.0.la GEN GstInsertBin-1.0.gir g-ir-scanner: warning: Option --strip-prefix has been deprecated; see --identifier-prefix and --symbol-prefix. g-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/checkout/gst-plugins-bad/gst-libs -I/opt/gnome2/checkout/gst-plugins-bad/gst-libs -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -c -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/GstInsertBin-1.0.o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/GstInsertBin-1.0.c g-ir-scanner: link: ../../../libtool --mode=link --tag=CC cc -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/GstInsertBin-1.0 -export-dynamic -L/opt/gnome2/lib /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/GstInsertBin-1.0.o -L. libgstinsertbin-1.0.la -L/opt/gnome2/lib -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 libtool: link: cc -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/.libs/GstInsertBin-1.0 /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin/tmp-introspectQp00X0/GstInsertBin-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/opt/gnome2/lib -L. ./.libs/libgstinsertbin-1.0.so -lgio-2.0 -lgmodule-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome2/lib GEN GstInsertBin-1.0.typelib make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin' Making all in uridownloader make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/uridownloader' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/uridownloader' Making all in mpegts make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make all-am make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' Making all in egl make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl' CC libgstegl_1.0_la-egl.lo CCLD libgstegl-1.0.la GEN GstEGL-1.0.gir g-ir-scanner: warning: Option --strip-prefix has been deprecated; see --identifier-prefix and --symbol-prefix. g-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/checkout/gst-plugins-bad/gst-libs -I/opt/gnome2/checkout/gst-plugins-bad/gst-libs -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -c -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/GstEGL-1.0.o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/GstEGL-1.0.c g-ir-scanner: link: ../../../libtool --mode=link --tag=CC cc -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/GstEGL-1.0 -export-dynamic -L/opt/gnome2/lib /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/GstEGL-1.0.o -L. libgstegl-1.0.la -L/opt/gnome2/lib -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 libtool: link: cc -o /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/.libs/GstEGL-1.0 /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl/tmp-introspectWTY6kJ/GstEGL-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/opt/gnome2/lib -L. ./.libs/libgstegl-1.0.so /usr/lib/libEGL.so /usr/lib/libX11-xcb.so /usr/lib/libxcb-dri2.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-render.so /usr/lib/libxcb-shape.so /usr/lib/libgbm.so /usr/lib/libudev.so /usr/lib/libwayland-client.so /usr/lib/libwayland-server.so /usr/lib/libffi.so -lrt -lm /usr/lib/libglapi.so -lpthread /usr/lib/libdrm.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lgio-2.0 -lgmodule-2.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome2/lib GEN GstEGL-1.0.typelib make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl' Making all in gl make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl' Making all in glprototypes make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/glprototypes' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/glprototypes' Making all in x11 make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11' CC libgstgl_x11_la-gstgldisplay_x11.lo Makefile:823: recipe for target 'libgstgl_x11_la-gstgldisplay_x11.lo' failed make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11' Makefile:1139: recipe for target 'all-recursive' failed make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl' Makefile:743: recipe for target 'all-recursive' failed make[3]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst' Makefile:732: recipe for target 'all-recursive' failed make[2]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs' Makefile:898: recipe for target 'all-recursive' failed make[1]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad' Makefile:826: recipe for target 'all' failed Regards, Christopher
You can view a copy of the config.log at pastebin: http://pastebin.com/QbD7dgyu
Can you attach the output of 'make V=1' please?
make all-recursive make[1]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad' Making all in gst-libs make[2]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs' Making all in gst make[3]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst' Making all in interfaces make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' make all-am make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/interfaces' Making all in basecamerabinsrc make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/basecamerabinsrc' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/basecamerabinsrc' Making all in codecparsers make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/codecparsers' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/codecparsers' Making all in insertbin make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/insertbin' Making all in uridownloader make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/uridownloader' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/uridownloader' Making all in mpegts make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make all-am make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/mpegts' Making all in egl make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/egl' Making all in gl make[4]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl' Making all in glprototypes make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/glprototypes' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/glprototypes' Making all in x11 make[5]: Entering directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11' /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../gst-libs -I../../../../gst-libs -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstgl_x11_la-gstgldisplay_x11.lo -MD -MP -MF .deps/libgstgl_x11_la-gstgldisplay_x11.Tpo -c -o libgstgl_x11_la-gstgldisplay_x11.lo `test -f 'gstgldisplay_x11.c' || echo './'`gstgldisplay_x11.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../gst-libs -I../../../../gst-libs -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstgl_x11_la-gstgldisplay_x11.lo -MD -MP -MF .deps/libgstgl_x11_la-gstgldisplay_x11.Tpo -c gstgldisplay_x11.c -fPIC -DPIC -o .libs/libgstgl_x11_la-gstgldisplay_x11.o Makefile:823: recipe for target 'libgstgl_x11_la-gstgldisplay_x11.lo' failed make[5]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11' Makefile:1139: recipe for target 'all-recursive' failed make[4]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl' Makefile:743: recipe for target 'all-recursive' failed make[3]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst' Makefile:732: recipe for target 'all-recursive' failed make[2]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad/gst-libs' Makefile:898: recipe for target 'all-recursive' failed make[1]: Leaving directory '/opt/gnome2/checkout/gst-plugins-bad' Makefile:826: recipe for target 'all' failed
Ok, so something is weird here. My jhbuild setup works fine. Can you check that the 'libgstgl_x11_la-gstgldisplay_x11.lo' is created in gst-libs/gst/gl/x11/ ? What platform/distro ? libtool version ? What about trying a git clean -xdf and running jhbuild again ?
Hello, I have checked and libgstgl_x11_la-gstgldisplay_x11.lo does not get created at all. I am not using a distro as such. This is a platform built from the ground up following instructions on http://www.linuxfromscratch.org I had tried the option of wiping directory and starting over several times before reporting this. I did what you suggested regarding git clean -xdf and still had no joy when it pulled a fresh copy from the server. I am using a systemd base system, though I do not think that is relavent at this stage as this does not appear to be related to systemd at all. I am running jhbuild as a normal user, and have it going into /opt/gnome2 There are only a couple of modules that do not compile with jhbuild, one of them being the gst-plugins-bad. Which of course results in anything depending on them failing. The libtool version is: libtool (GNU libtool) 2.4.2 Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The version of Mesa is: MesaLib-10.1.0 Thank you for taking the time to help resolve this. Regards, Christopher.
Ok, looks fine. What happens if you run the gcc line from the Make V=1 output by itself in the gst-libs/gst/gl/x11 directory. Is the .lo file created then? i.e. $ gcc -std=gnu99 -DHAVE_CONFIG_H -I. etc... gcc --version might be helpful as well.
Hello, I have just run the gcc command from the output within that directory and it did not create the .lo file. I rebooted my system and ran jhbuild again from the console and it updated a number of things and failed again on the gst-plugins-bad. The version of gcc being used is: gcc (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The version of Xorg Server is: 1.15.0 Regards, Christopher
Is the gst-libs/gst/gl/x11/.libs/libgstgl_x11_la-gstgldisplay_x11.o file generated ? What about gst-libs/gst/gl/x11/.deps/libgstgl_x11_la-gstgldisplay_x11.Plo ? If they aren't then something seems to be fishy with gcc :/
Hello, /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11/.libs direcory is empty. /opt/gnome2/checkout/gst-plugins-bad/gst-libs/gst/gl/x11/.deps has the following in it: -rw-rw-r-- 1 cjg cjg 8 Apr 8 15:19 libgstgl_x11_la-gstglcontext_glx.Plo -rw-rw-r-- 1 cjg cjg 8 Apr 8 15:19 libgstgl_x11_la-gstgldisplay_x11.Plo -rw-rw-r-- 1 cjg cjg 8 Apr 8 15:19 libgstgl_x11_la-gstglwindow_x11.Plo -rw-rw-r-- 1 cjg cjg 8 Apr 8 15:19 libgstgl_x11_la-x11_event_source.Plo Regards, Christopher
It is really fishy that gcc fails to produce the object files (.o and .lo) without producing some kind of error. Maybe you could try prepending strace to the gcc line and try to debug that.
Hello, This is what is produced using strace: strace gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../gst-libs -I../../../../gst-libs -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstgl_x11_la-gstgldisplay_x11.lo -MD -MP -MF .deps/libgstgl_x11_la-gstgldisplay_x11.Tpo -c gstgldisplay_x11.c -fPIC -DPIC -o .libs/libgstgl_x11_la-gstgldisplay_x11.o execve("/usr/bin/gcc", ["gcc", "-std=gnu99", "-DHAVE_CONFIG_H", "-I.", "-I../../../..", "-I../../../../gst-libs", "-I../../../../gst-libs", "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", ...], [/* 62 vars */]) = 0 brk(0) = 0x8ecd000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77b8000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=189177, ...}) = 0 mmap2(NULL, 189177, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7789000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340E\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1088860, ...}) = 0 mmap2(NULL, 282784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7743000 mmap2(0xb7787000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x43000) = 0xb7787000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\232\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9063233, ...}) = 0 mmap2(NULL, 1743452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7599000 mmap2(0xb773d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a4000) = 0xb773d000 mmap2(0xb7740000, 10844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7740000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7598000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7598700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb773d000, 8192, PROT_READ) = 0 mprotect(0xb7787000, 4096, PROT_READ) = 0 mprotect(0xb77da000, 4096, PROT_READ) = 0 munmap(0xb7789000, 189177) = 0 brk(0) = 0x8ecd000 brk(0x8eee000) = 0x8eee000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=106078016, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7398000 mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x1031000) = 0xb77b7000 close(3) = 0 open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77b6000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2492 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb77b6000, 4096) = 0 open("/usr/share/locale/en_NZ.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x8050b60, [INT], SA_RESTART}, {SIG_IGN, [INT], SA_RESTART}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x8050b60, [HUP], SA_RESTART}, {SIG_IGN, [HUP], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x8050b60, [TERM], SA_RESTART}, {SIG_IGN, [TERM], SA_RESTART}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x8050b60, [PIPE], SA_RESTART}, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}, NULL) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("gstgldisplay_x11.c", F_OK) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "gcc: error: gstgldisplay_x11.c: "..., 58gcc: error: gstgldisplay_x11.c: No such file or directory ) = 58 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 write(2, "gcc: fatal error: no input files"..., 33gcc: fatal error: no input files ) = 33 write(2, "compilation terminated.\n", 24compilation terminated. ) = 24 exit_group(1) = ? +++ exited with 1 +++ Regards, Christopher
> gstgldisplay_x11.c: No such file or directory you should run that from the gst-libs/gst/gl/x11 directory
Hello, Sorry about doing it from the root directory. strace gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../gst-libs -I../../../../gst-libs -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstgl_x11_la-gstgldisplay_x11.lo -MD -MP -MF .deps/libgstgl_x11_la-gstgldisplay_x11.Tpo -c gstgldisplay_x11.c -fPIC -DPIC -o .libs/libgstgl_x11_la-gstgldisplay_x11.o execve("/usr/bin/gcc", ["gcc", "-std=gnu99", "-DHAVE_CONFIG_H", "-I.", "-I../../../..", "-I../../../../gst-libs", "-I../../../../gst-libs", "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", ...], [/* 62 vars */]) = 0 brk(0) = 0x8965000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a4000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=189177, ...}) = 0 mmap2(NULL, 189177, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7775000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340E\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1088860, ...}) = 0 mmap2(NULL, 282784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb772f000 mmap2(0xb7773000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x43000) = 0xb7773000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\232\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9063233, ...}) = 0 mmap2(NULL, 1743452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7585000 mmap2(0xb7729000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a4000) = 0xb7729000 mmap2(0xb772c000, 10844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb772c000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7584000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7584700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7729000, 8192, PROT_READ) = 0 mprotect(0xb7773000, 4096, PROT_READ) = 0 mprotect(0xb77c6000, 4096, PROT_READ) = 0 munmap(0xb7775000, 189177) = 0 brk(0) = 0x8965000 brk(0x8986000) = 0x8986000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=106078016, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7384000 mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x1031000) = 0xb77a3000 close(3) = 0 open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a2000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2492 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb77a2000, 4096) = 0 open("/usr/share/locale/en_NZ.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x8050b60, [INT], SA_RESTART}, {SIG_IGN, [INT], SA_RESTART}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x8050b60, [HUP], SA_RESTART}, {SIG_IGN, [HUP], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x8050b60, [TERM], SA_RESTART}, {SIG_IGN, [TERM], SA_RESTART}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x8050b60, [PIPE], SA_RESTART}, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}, NULL) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("gstgldisplay_x11.c", F_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/tmp", R_OK|W_OK|X_OK) = 0 gettimeofday({1396937486, 81943}, NULL) = 0 getpid() = 3940 open("/tmp/ccEpZ8YF.s", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 3 close(3) = 0 stat64("/usr/libexec/gcc/i686-pc-linux-gnu/4.8.2/cc1", {st_mode=S_IFREG|0755, st_size=62507590, ...}) = 0 access("/usr/libexec/gcc/i686-pc-linux-gnu/4.8.2/cc1", X_OK) = 0 vfork() = 3941 waitpid(3941, In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:69:25: error: conflicting types for ‘GLsizeiptr’ typedef khronos_ssize_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:25:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: ../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:34:19: note: previous declaration of ‘GLsizeiptr’ was here typedef ptrdiff_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:70:26: error: conflicting types for ‘GLintptr’ typedef khronos_intptr_t GLintptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:25:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: ../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:37:19: note: previous declaration of ‘GLintptr’ was here typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:468:19: error: conflicting types for ‘GLsizeiptr’ typedef ptrdiff_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:69:25: note: previous declaration of ‘GLsizeiptr’ was here typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:469:19: error: conflicting types for ‘GLintptr’ typedef ptrdiff_t GLintptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:70:26: note: previous declaration of ‘GLintptr’ was here typedef khronos_intptr_t GLintptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:552:21: error: conflicting types for ‘glBufferData’ GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:389:29: note: previous declaration of ‘glBufferData’ was here GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/strace gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../gst-libs -I../../../../gst-libs -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/gstreamer-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstgl_x11_la-gstgldisplay_x11.lo -MD -MP -MF .deps/libgstgl_x11_la-gstgldisplay_x11.Tpo -c gstgldisplay_x11.c -fPIC -DPIC -o .libs/libgstgl_x11_la-gstgldisplay_x11.o execve("/usr/bin/gcc", ["gcc", "-std=gnu99", "-DHAVE_CONFIG_H", "-I.", "-I../../../..", "-I../../../../gst-libs", "-I../../../../gst-libs", "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", "-I/opt/gnome2/include/gstreamer-"..., "-I/opt/gnome2/include/glib-2.0", "-I/opt/gnome2/lib/glib-2.0/inclu"..., "-pthread", ...], [/* 62 vars */]) = 0 brk(0) = 0x8965000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a4000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=189177, ...}) = 0 mmap2(NULL, 189177, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7775000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340E\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1088860, ...}) = 0 mmap2(NULL, 282784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb772f000 mmap2(0xb7773000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x43000) = 0xb7773000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\232\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9063233, ...}) = 0 mmap2(NULL, 1743452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7585000 mmap2(0xb7729000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a4000) = 0xb7729000 mmap2(0xb772c000, 10844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb772c000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7584000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7584700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7729000, 8192, PROT_READ) = 0 mprotect(0xb7773000, 4096, PROT_READ) = 0 mprotect(0xb77c6000, 4096, PROT_READ) = 0 munmap(0xb7775000, 189177) = 0 brk(0) = 0x8965000 brk(0x8986000) = 0x8986000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=106078016, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7384000 mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x1031000) = 0xb77a3000 close(3) = 0 open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a2000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2492 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb77a2000, 4096) = 0 open("/usr/share/locale/en_NZ.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_NZ/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x8050b60, [INT], SA_RESTART}, {SIG_IGN, [INT], SA_RESTART}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x8050b60, [HUP], SA_RESTART}, {SIG_IGN, [HUP], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x8050b60, [TERM], SA_RESTART}, {SIG_IGN, [TERM], SA_RESTART}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x8050b60, [PIPE], SA_RESTART}, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}, NULL) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 stat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=2533831, ...}) = 0 access("gstgldisplay_x11.c", F_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/4.8.2/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/", X_OK) = 0 access("/tmp", R_OK|W_OK|X_OK) = 0 gettimeofday({1396937486, 81943}, NULL) = 0 getpid() = 3940 open("/tmp/ccEpZ8YF.s", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 3 close(3) = 0 stat64("/usr/libexec/gcc/i686-pc-linux-gnu/4.8.2/cc1", {st_mode=S_IFREG|0755, st_size=62507590, ...}) = 0 access("/usr/libexec/gcc/i686-pc-linux-gnu/4.8.2/cc1", X_OK) = 0 vfork() = 3941 waitpid(3941, In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:69:25: error: conflicting types for ‘GLsizeiptr’ typedef khronos_ssize_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:25:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: ../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:34:19: note: previous declaration of ‘GLsizeiptr’ was here typedef ptrdiff_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:70:26: error: conflicting types for ‘GLintptr’ typedef khronos_intptr_t GLintptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:25:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: ../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:37:19: note: previous declaration of ‘GLintptr’ was here typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:468:19: error: conflicting types for ‘GLsizeiptr’ typedef ptrdiff_t GLsizeiptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:69:25: note: previous declaration of ‘GLsizeiptr’ was here typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:469:19: error: conflicting types for ‘GLintptr’ typedef ptrdiff_t GLintptr; ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:70:26: note: previous declaration of ‘GLintptr’ was here typedef khronos_intptr_t GLintptr; ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:552:21: error: conflicting types for ‘glBufferData’ GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:389:29: note: previous declaration of ‘glBufferData’ was here GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); ^ In file included from /usr/include/GL/gl.h:2059:0, from ../../../../gst-libs/gst/gl/gstglapi.h:71, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:553:21: error: conflicting types for ‘glBufferSubData’ GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:390:29: note: previous declaration of ‘glBufferSubData’ was here GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); ^ [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 3941 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3941, si_status=1, si_utime=33, si_stime=3} --- stat64("/tmp/ccEpZ8YF.s", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0 unlink("/tmp/ccEpZ8YF.s") = 0 exit_group(1) = ?gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GL/glext.h:553:21: error: conflicting types for ‘glBufferSubData’ GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); ^ In file included from ../../../../gst-libs/gst/gl/gstglapi.h:57:0, from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26, from ../../../../gst-libs/gst/gl/x11/gstgldisplay_x11.h:29, from gstgldisplay_x11.c:25: /usr/include/GLES2/gl2.h:390:29: note: previous declaration of ‘glBufferSubData’ was here GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); ^ [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 3941 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3941, si_status=1, si_utime=33, si_stime=3} --- stat64("/tmp/ccEpZ8YF.s", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0 unlink("/tmp/ccEpZ8YF.s") = 0 exit_group(1) = ? Regards, Christopher
There we go, we have some errors \o/. I wonder why they don't show up on the make output. So this is a variation of https://bugzilla.gnome.org/show_bug.cgi?id=721299 You can work around it by passing either --disable-opengl or --disable-gles2 to configure *** This bug has been marked as a duplicate of bug 721299 ***