[Bug 755864] New: C++ Linker problem for gst_app_src_push_sample
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 30 02:22:42 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=755864
Bug ID: 755864
Summary: C++ Linker problem for gst_app_src_push_sample
Classification: Platform
Product: GStreamer
Version: 1.6.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kjrusscher at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Please describe the problem:
GCC C++ Compliler can create the .0-files for .cpp-files with the function
gst_app_src_push_sample, which is in gst/app/gstappsrc.h. But the GCC C++
Linker returns an 'undefined reference' for gst_app_src_push_sample. The linker
has no problem finding other functions that are in gst/app/gstappsrc.h, like
the function gst_app_src_push_buffer.
The sample file ./gst-plugins-base/tests/examples/app/appsink-src2.c, which
also contains gst_app_src_push_sample is build completely when building
gstreamer-1.6.0.
Steps to reproduce:
1. copy the file ./gst-plugins-base/tests/examples/app/appsink-src2.c to
appsink-src2.cpp
2. make the file with the needed include path's and libraries
Results:
GCC C++ Linker returns: undefined reference to 'gst_app_src_push_sample'
Does this happen every time?
Yes.
Other information:
Linux 3.16.0-50-generic Ubuntu 14.04.1 x86_64
--
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