[Bug 685609] New: Error compiling directfb example

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 6 07:09:28 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=685609
  GStreamer | gst-plugins-bad | 0.10.23

           Summary: Error compiling directfb example
    Classification: Platform
           Product: GStreamer
           Version: 0.10.23
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: alexandernst at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I'm having some trouble compiling plugins-bad (0.10.23) because of directfb.
This is the actual output of "make":

make -C directfb
make[4]: se ingresa al directorio
`/media/HDD/Proyectos/TINY6410/deps/gst-plugins-bad-0.10.23/tests/examples/directfb'
  CC       gstdfb-gstdfb.o
In file included from /usr/include/gstreamer-0.10/gst/gst.h:49:0,
                 from gstdfb.c:39:
/usr/include/gstreamer-0.10/gst/gstinfo.h:274:48: error: expected ‘)’ before
‘__attribute__’
/usr/include/gstreamer-0.10/gst/gstinfo.h:274:48: error: expected ‘,’ or ‘;’
before ‘)’ token
/usr/include/gstreamer-0.10/gst/gstinfo.h:296:68: error: expected ‘)’ before
‘__attribute__’
/usr/include/gstreamer-0.10/gst/gstinfo.h:296:68: error: expected ‘,’ or ‘;’
before ‘)’ token
/usr/include/gstreamer-0.10/gst/gstinfo.h:321:51: error: expected ‘)’ before
‘__attribute__’
/usr/include/gstreamer-0.10/gst/gstinfo.h:321:51: error: expected ‘,’ or ‘;’
before ‘)’ token
/usr/include/gstreamer-0.10/gst/gstinfo.h:333:70: error: expected ‘)’ before
‘__attribute__’
/usr/include/gstreamer-0.10/gst/gstinfo.h:333:70: error: expected ‘,’ or ‘;’
before ‘)’ token
make[4]: *** [gstdfb-gstdfb.o] Error 1
make[4]: se sale del directorio
`/media/HDD/Proyectos/TINY6410/deps/gst-plugins-bad-0.10.23/tests/examples/directfb'
make[3]: *** [directfb] Error 2
make[3]: se sale del directorio
`/media/HDD/Proyectos/TINY6410/deps/gst-plugins-bad-0.10.23/tests/examples'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio
`/media/HDD/Proyectos/TINY6410/deps/gst-plugins-bad-0.10.23/tests'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/media/HDD/Proyectos/TINY6410/deps/gst-plugins-bad-0.10.23'
make: *** [all] Error 2


Note that this is just a cut of the entire output.

Running "make" inside ext/directfb" throws the same error, but after googling
for a while I found a "fix".
In ext/directfb/dfb-example.c #include <directfb.h> should be included the
last, not the first. (According to
http://mandriva.598463.n5.nabble.com/Cooker-tp5708724p5710130.html )

After applying this "fix" I can run "make" inside ext/directfb and stuff gets
compiled. Anyways, running "make"
globally (aka, from the plugins-bad folder) I get the same error as before.

This is happening on an Arch Linux x64 updated this morning.

Just for the record, compiling on a Kubuntu 12.04.01 LTS (in a Virtual Box)
won't throw that error, e.g., it
will compile everything correctly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list