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 725519 - Fails to build in gst-uninstalled
Fails to build in gst-uninstalled
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
git master
Other Linux
: Normal normal
: 1.0.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-02 20:49 UTC by Sebastian Dröge (slomo)
Modified: 2014-11-08 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2014-03-02 20:49:01 UTC
make[1]: Entering directory `/home/slomo/Projects/gstreamer/head/gstreamer-sharp/sources/glue'
/bin/bash ../../libtool  --tag=CC   --mode=compile clang -DPACKAGE_NAME=\"gstreamer-sharp\" -DPACKAGE_TARNAME=\"gstreamer-sharp\" -DPACKAGE_VERSION=\"0.99.1\" -DPACKAGE_STRING=\"gstreamer-sharp\ 0.99.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gstreamer-sharp\" -DVERSION=\"0.99.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -pthread -I/home/slomo/Projects/gstreamer/head/gstreamer -I/home/slomo/Projects/gstreamer/head/gstreamer/libs -I/home/slomo/Projects/gstreamer/head/gst-plugins-base/gst-libs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I../..    -g -O2 -MT generated.lo -MD -MP -MF .deps/generated.Tpo -c -o generated.lo generated.c
libtool: compile:  clang -DPACKAGE_NAME=\"gstreamer-sharp\" -DPACKAGE_TARNAME=\"gstreamer-sharp\" -DPACKAGE_VERSION=\"0.99.1\" "-DPACKAGE_STRING=\"gstreamer-sharp 0.99.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gstreamer-sharp\" -DVERSION=\"0.99.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -pthread -I/home/slomo/Projects/gstreamer/head/gstreamer -I/home/slomo/Projects/gstreamer/head/gstreamer/libs -I/home/slomo/Projects/gstreamer/head/gst-plugins-base/gst-libs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../.. -g -O2 -MT generated.lo -MD -MP -MF .deps/generated.Tpo -c generated.c  -fPIC -DPIC -o .libs/generated.o
In file included from generated.c:6:
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:1:3: error: 
      invalid preprocessing directive
# libgstreamer_1.0_la-gstregistrychunks.lo - a libtool object file
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:2:3: error: 
      invalid preprocessing directive
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:4:3: error: 
      invalid preprocessing directive
# Please DO NOT delete this file!
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:5:3: error: 
      invalid preprocessing directive
# It is necessary for linking the library.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:7:3: error: 
      invalid preprocessing directive
# Name of the PIC object.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:8:1: warning: 
      type specifier missing, defaults to 'int' [-Wimplicit-int]
pic_object='.libs/libgstreamer_1.0_la-gstregistrychunks.o'
^~~~~~~~~~
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:8:12: warning: 
      multi-character character constant [-Wmultichar]
pic_object='.libs/libgstreamer_1.0_la-gstregistrychunks.o'
           ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:8:12: warning: 
      character constant too long for its type
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:10:3: error: 
      invalid preprocessing directive
# Name of the non-PIC object
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstregistrychunks.lo:8:59: error: 
      expected ';' after top level declarator
pic_object='.libs/libgstreamer_1.0_la-gstregistrychunks.o'
                                                          ^
                                                          ;
In file included from generated.c:7:
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:1:3: error: 
      invalid preprocessing directive
# libgstreamer_1.0_la-gstbin.lo - a libtool object file
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:2:3: error: 
      invalid preprocessing directive
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:4:3: error: 
      invalid preprocessing directive
# Please DO NOT delete this file!
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:5:3: error: 
      invalid preprocessing directive
# It is necessary for linking the library.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:7:3: error: 
      invalid preprocessing directive
# Name of the PIC object.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gstbin.lo:10:3: error: 
      invalid preprocessing directive
# Name of the non-PIC object
  ^
In file included from generated.c:9:
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:1:3: error: 
      invalid preprocessing directive
# libgstreamer_1.0_la-gsttaglist.lo - a libtool object file
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:2:3: error: 
      invalid preprocessing directive
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:4:3: error: 
      invalid preprocessing directive
# Please DO NOT delete this file!
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:5:3: error: 
      invalid preprocessing directive
# It is necessary for linking the library.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:7:3: error: 
      invalid preprocessing directive
# Name of the PIC object.
  ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:8:1: warning: 
      type specifier missing, defaults to 'int' [-Wimplicit-int]
pic_object='.libs/libgstreamer_1.0_la-gsttaglist.o'
^~~~~~~~~~
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:8:12: warning: 
      multi-character character constant [-Wmultichar]
pic_object='.libs/libgstreamer_1.0_la-gsttaglist.o'
           ^
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:8:12: warning: 
      character constant too long for its type
/home/slomo/Projects/gstreamer/head/gstreamer/gst/libgstreamer_1.0_la-gsttaglist.lo:10:3: error: 
      invalid preprocessing directive
# Name of the non-PIC object
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
make[1]: *** [generated.lo] Error 1
Comment 1 Stephan Sundermann 2014-04-04 22:49:50 UTC
Is this now fixed with the recent build changes?
Comment 2 Sebastian Dröge (slomo) 2014-04-07 07:52:24 UTC
Nope
Comment 3 Stephan Sundermann 2014-04-13 02:16:04 UTC
In file included from generated.c:6:

Can you post your includes from generated.c? It seems like those get messed up for some reason.
Comment 4 Stephan Sundermann 2014-06-13 21:51:39 UTC
Might be fixed in e54dfcb65b4acd4082845a42dc71f94bbf27376a. It seems that .lo files are passed to --glue-includes ending up in the generated glue file. In master only header files are added to the includes.
Comment 5 Sebastian Dröge (slomo) 2014-08-07 07:06:27 UTC
Still fails with latest git master in gst-uninstalled.
Comment 6 Stephan Sundermann 2014-08-07 10:51:43 UTC
Please try with the 1.4 branch and include generated.c from sources/glue
Comment 7 Stephan Sundermann 2014-08-07 15:19:21 UTC
Works for me with gst-uninstalled on branch 1.4 with gst# 1.4 and gtk-sharp master.