<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Il 08/12/2011 21:11, Jun Zhang ha scritto:
<blockquote
cite="mid:CA+78zj9xi+VD8_a6jnteTCGikOPWyi7XLLpHqgta3F9POrxchQ@mail.gmail.com"
type="cite">Hello,<br>
<br>
I am trying to use appsrc to get data from my C application and
met following problems.<br>
<br>
1.undefined reference to `gst_app_buffer_new'<br>
2. undefined reference to `gst_app_src_push_buffer'<br>
3.undefined reference to gst_app_src_end_of_stream <br>
<br>
After searching for a solution, I saw someone suggest add
-lgstapp-0.10 into the make file: Following is the commands in the
make file.<br>
export
PKG_CONFIG_PATH=/root/targetfs/opt/gstreame/lib/pkgconfig:$PKG_CONFIG_PATH<br>
<br>
/root/CodeSourcery/Sourcery_G++_Lite//bin/arm-none-linux-gnueabi-gcc
-lgstapp-0.10 `pkg-config --cflags --libs gstreamer-0.10`-o syn
test_syn.c<br>
<br>
And then I have following compile errors. However, i did check and
found that the missing libgstbase-0.10.so.0 is in the same place
with <a moz-do-not-send="true" href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>.<br>
<br>
Any suggestions?<br>
</blockquote>
<br>
try lo link to gstreamer-app-0.10 too,<br>
<br>
Nicola<br>
<blockquote
cite="mid:CA+78zj9xi+VD8_a6jnteTCGikOPWyi7XLLpHqgta3F9POrxchQ@mail.gmail.com"
type="cite"><br>
<br>
/root/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
warning: libgstbase-0.10.so.0, needed by
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>, not found
(try using -rpath or -rpath-link)<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_sink_wait_preroll'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_src_set_live'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_src_get_type'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_src_query_latency'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_src_set_format'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_src_is_live'<br>
/root/targetfs///opt/gstreamer/lib/<a moz-do-not-send="true"
href="http://libgstapp-0.10.so">libgstapp-0.10.so</a>: undefined
reference to `gst_base_sink_get_type'<br>
<br>
<br>
Thanks,<br>
<br>
Jun <br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>