[Gstreamer-bugs] [Bug 140268] New: - ximagesink and xvimagesink do not build under FreeBSD

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Fri Apr 16 08:00:39 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=140268
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: ximagesink and xvimagesink do not build under FreeBSD
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: jmmv at menta.net
         QAContact: gstreamer-maint at bugzilla.gnome.org


The ximagesink and xvimagesink plugins do not build under FreeBSD.  They include
the sys/ipc.h and sys/shm.h header files, but these need sys/types.h to be
included as a prerequisite to work; and this must be done manually.

Building a simple test case program that only includes those two files shows it:

In file included from test.c:1:
/usr/include/sys/ipc.h:54: syntax error before `ushort'
In file included from test.c:1:
/usr/include/sys/ipc.h:95: syntax error before `ftok'
/usr/include/sys/ipc.h:95: warning: data definition has no type or storage class
In file included from test.c:2:
/usr/include/sys/shm.h:57: syntax error before `pid_t'
/usr/include/sys/shm.h:60: syntax error before `time_t'
/usr/include/sys/shm.h:93: syntax error before `int'

The fix is trivial, and comes from FreeBSD ports.  Just include sys/types.h
before those two other includes.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list