[gst-devel] Hello World on FC4

Benjy Grogan benjy.grogan at gmail.com
Mon Feb 20 17:50:05 CET 2006


Hello,

I'm trying to get the Hello World example available in the gstreamer
documentation to compile on FC4 using gstreamer 0.8 without success.  I've
followed the instructions at:

<
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html
>

I get the error messages:

[benjy at localhost ~]$ gcc -Wall $(pkg-config --cflags --libs gstreamer-0.8)
helloworld.c -o helloworld

helloworld.c:10: error: syntax error before '*' token
helloworld.c: In function 'bus_call':
helloworld.c:14: error: 'data' undeclared (first use in this function)
helloworld.c:14: error: (Each undeclared identifier is reported only once
helloworld.c:14: error: for each function it appears in.)
helloworld.c:16: warning: implicit declaration of function
'GST_MESSAGE_TYPE'
helloworld.c:16: error: 'msg' undeclared (first use in this function)
helloworld.c:17: error: 'GST_MESSAGE_EOS' undeclared (first use in this
function)
helloworld.c:21: error: 'GST_MESSAGE_ERROR' undeclared (first use in this
function)
helloworld.c:25: warning: implicit declaration of function
'gst_message_parse_error'
helloworld.c: In function 'new_pad':
helloworld.c:53: warning: passing argument 1 of 'gst_object_unref' from
incompatible pointer type
helloworld.c: In function 'main':
helloworld.c:87: warning: implicit declaration of function
'gst_bus_add_watch'
helloworld.c:87: warning: implicit declaration of function
'gst_pipeline_get_bus'

The example is specifically for gstreamer-0.10 but I figured a hello world
example should work equally well on FC4.

Anyways, trying to work my way into gstreamer.  If anyone has seen this
problem before I would appreciate some help.  Thanks,

Benjy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060220/6c16aaa9/attachment.htm>


More information about the gstreamer-devel mailing list