[Bug 688511] New: Windows builds without pthreads still have testrtpool.c being built in tests

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 16 21:41:23 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688511
  GStreamer | gstreamer (core) | 1.0.2

           Summary: Windows builds without pthreads still have
                    testrtpool.c being built in tests
    Classification: Platform
           Product: GStreamer
           Version: 1.0.2
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: italarab at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=229208)
 View: https://bugzilla.gnome.org/attachment.cgi?id=229208
 Review: https://bugzilla.gnome.org/review?bug=688511&attachment=229208

Patch to allow cross compile for windows build without pthreads

Affects: v1.0.2, branch 1.0, and master

I have attached a patch that allows me to successfully build. I can not verify
that it doesn't break things for people who use pthreads.

Make output:

make -C manual
make[4]: Entering directory `/home/src/git/gst/gstreamer/tests/examples/manual'
make  all-am
make[5]: Entering directory `/home/src/git/gst/gstreamer/tests/examples/manual'
  CC     elementcreate.o
  CCLD   elementcreate.exe
  ...
  ...
  CC     testrtpool-testrtpool.o
testrtpool.c:30:21: fatal error: pthread.h: No such file or directory
compilation terminated.
make[5]: *** [testrtpool-testrtpool.o] Error 1
make[5]: Leaving directory `/home/src/git/gst/gstreamer/tests/examples/manual'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/src/git/gst/gstreamer/tests/examples/manual'
make[3]: *** [manual] Error 2
make[3]: Leaving directory `/home/src/git/gst/gstreamer/tests/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/git/gst/gstreamer/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/git/gst/gstreamer'
make: *** [all] Error 2

-- 
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