[gst-embedded] compliation error in ubuntu ....

Raghavendra raghavendrar at lge.com
Thu Oct 16 23:29:32 PDT 2008


 

Hi all,

Me building simple GStreamer application in ubuntu. Me getting this below
error. Please help meeeee




 

My GStreamer version is
 Gstreramer-0.10.18 and glib version is glib-2.16.4
with libxml2 version is libxml2-2.6.31 ..

 

Me not able to include gst.h in my application 
..help me 



 

 

 

 

 

 

../install/include/gstreamer-0.10/gst/gstutils.h:678: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstutils.h:681: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstutils.h:684: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstutils.h:688: error: expected
declaration specifiers before âGstElementâ

../install/include/gstreamer-0.10/gst/gstutils.h:692: error: expected
declaration specifiers before âGstClockTimeâ

../install/include/gstreamer-0.10/gst/gstutils.h:694: error: expected
declaration specifiers before âG_END_DECLSâ

In file included from ../install/include/gstreamer-0.10/gst/gst.h:72,

                 from test.c:6:

../install/include/gstreamer-0.10/gst/gstxml.h:42: error: storage class
specified for parameter âGstXMLClassâ

../install/include/gstreamer-0.10/gst/gstxml.h:55: error: expected
specifier-qualifier-list before âGListâ

../install/include/gstreamer-0.10/gst/gstxml.h:61: warning: empty
declaration

../install/include/gstreamer-0.10/gst/gstxml.h:67: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstxml.h:68: error: expected â;â
before âvoidâ

../install/include/gstreamer-0.10/gst/gstxml.h:71: warning: empty
declaration

../install/include/gstreamer-0.10/gst/gstxml.h:73: error: expected
declaration specifiers before âGTypeâ

../install/include/gstreamer-0.10/gst/gstxml.h:77: error: expected
declaration specifiers before âxmlDocPtrâ

../install/include/gstreamer-0.10/gst/gstxml.h:80: error: expected
declaration specifiers before âgintâ

../install/include/gstreamer-0.10/gst/gstxml.h:82: error: expected
declaration specifiers before âGstXMLâ

../install/include/gstreamer-0.10/gst/gstxml.h:84: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstxml.h:85: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstxml.h:86: error: expected â)â
before â*â token

../install/include/gstreamer-0.10/gst/gstxml.h:89: error: expected
declaration specifiers before âGstElementâ

../install/include/gstreamer-0.10/gst/gstxml.h:90: error: expected
declaration specifiers before âGListâ

../install/include/gstreamer-0.10/gst/gstxml.h:92: error: expected
declaration specifiers before âGstElementâ

../install/include/gstreamer-0.10/gst/gstxml.h:94: error: expected
declaration specifiers before âG_END_DECLSâ

In file included from ../install/include/gstreamer-0.10/gst/gst.h:74,

                 from test.c:6:

../install/include/gstreamer-0.10/gst/gstparse.h:59: error: storage class
specified for parameter âGstParseErrorâ

../install/include/gstreamer-0.10/gst/gstparse.h:62: error: expected
declaration specifiers before âGstElementâ

../install/include/gstreamer-0.10/gst/gstparse.h:63: error: expected
declaration specifiers before âGstElementâ

../install/include/gstreamer-0.10/gst/gstparse.h:65: error: expected
declaration specifiers before âG_END_DECLSâ

In file included from test.c:6:

../install/include/gstreamer-0.10/gst/gst.h:83: error: expected declaration
specifiers or â...â before âGErrorâ

../install/include/gstreamer-0.10/gst/gst.h:83: error: âgst_init_checkâ
declared as function returning a function

../install/include/gstreamer-0.10/gst/gst.h:84: error: expected declaration
specifiers before âGOptionGroupâ

../install/include/gstreamer-0.10/gst/gst.h:87: error: expected â)â before
â*â token

../install/include/gstreamer-0.10/gst/gst.h:89: error: expected declaration
specifiers before âgcharâ

../install/include/gstreamer-0.10/gst/gst.h:91: error:
âgst_segtrap_is_enabledâ declared as function returning a function

../install/include/gstreamer-0.10/gst/gst.h:94: error:
âgst_registry_fork_is_enabledâ declared as function returning a function

../install/include/gstreamer-0.10/gst/gst.h:97: error: âgst_update_registryâ
declared as function returning a function

../install/include/gstreamer-0.10/gst/gst.h:99: error: expected declaration
specifiers before âG_END_DECLSâ

test.c:33: error: old-style parameter declarations in prototyped function
definition

test.c:33: error: expected â{â at end of input

make: *** [test.o] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20081017/261467d1/attachment.htm>


More information about the Gstreamer-embedded mailing list