[Bug 709145] New: mpegts: Can't link against mpegts

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 30 15:48:59 PDT 2013


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

           Summary: mpegts: Can't link against mpegts
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: self at brendanlong.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I tried linking a very basic file:

    #define GST_USE_UNSTABLE_API
    #include <gst/mpegts/mpegts.h>

    int main(int argc, char** argv) {
        gst_message_parse_mpegts_section(0);
        return 0;
    }

But even though it can find the header, it can't find the library:

> $ libtool --mode=link gcc `gst-git pkg-config --cflags --libs gstreamer-plugins-bad-1.0` -o test test.c  
> libtool: link: gcc -pthread -I/home/blong/gst/git/gstreamer -I/home/blong/gst/git/gstreamer/libs -I/home/blong/gst/git/gst-plugins-bad/gst-libs -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include /home/blong/gst/git/gstreamer/gst/.libs/libgstreamer-1.0.so -o test test.c  -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/basecamerabinsrc -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/codecparsers -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/egl -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/insertbin -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/interfaces -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/signalprocessor -L/home/blong/gst/git/gst-plugins-bad/gst-libs/gst/video -lgobject-2.0 -lglib-2.0 -pthread
/tmp/ccJ9E0Sm.o:test.c:function main: error: undefined reference to
'gst_message_parse_mpegts_section'  
> collect2: error: ld returned 1 exit status

>

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