[gstreamer-bugs] [Bug 637308] New: gst-plugins-bad did not find xvidcore on my box

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 15 06:42:29 PST 2010


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

           Summary: gst-plugins-bad did not find xvidcore on my box
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.20
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: geisj at pagestation.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


configure:39453: checking for xvid.h
configure:39453: result: yes
configure:39458: checking for xvid_encore in -lxvidcore
configure:39483: gcc -std=gnu99 -o conftest -g -O2   conftest.c -lxvidcore  -lm
>&5
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libxvidcore.a(encoder.o):
In function `FrameCodeP':
encoder.c:(.text+0x1da2): undefined reference to `pthread_create'
encoder.c:(.text+0x1df0): undefined reference to `pthread_join'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libxvidcore.a(encoder.o):
In function `enc_encode':
encoder.c:(.text+0x4294): undefined reference to `pthread_create'
encoder.c:(.text+0x42e2): undefined reference to `pthread_join'
collect2: ld returned 1 exit status

The above is the error I got.

I had to edit the configure script
and change every line of:
LIBS="-lxvidcore   $LIBS"

to be

LIBS="-lxvidcore   $LIBS  -lpthread"


This worked for me. I'm not sure its the right way to do it.

As you can see its failing on the pthread library and that was not included.

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