[gst-devel] Need Help for gstreamer programming on Debian

chetan nanda chetanknanda at yahoo.co.in
Thu Sep 6 16:53:07 CEST 2007


Hi All,

I have installed Debian Etch on My machine. I am doing
the gstreamer programming. I have installed
gstreamer-0.10 and glib-2.0 libraries.
When i tried to compile the sample gstreamer program.
i found a lots of compiler error out of which i am
showing you some.
----------------------------
/usr/include/stdio.h:399: error: storage class
specified for parameter ‘scanf’
/usr/include/stdio.h:402: error: storage class
specified for parameter ‘sscanf’
/usr/include/stdio.h:435: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:436: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:442: error: storage class
specified for parameter ‘getchar’
/usr/include/stdio.h:454: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:455: error: storage class
specified for parameter ‘getchar_ unlocked’
/usr/include/stdio.h:465: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:477: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:477: error: storage class
specified for parameter ‘fputc’
/usr/include/stdio.h:478: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:478: error: storage class
specified for parameter ‘putc’
/usr/include/stdio.h:484: error: storage class
specified for parameter ‘putchar’
/usr/include/stdio.h:498: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:498: error: storage class
specified for parameter ‘fputc_un locked’
/usr/include/stdio.h:506: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:506: error: storage class
specified for parameter ‘putc_unl ocked’
/usr/include/stdio.h:507: error: storage class
specified for parameter ‘putchar_ unlocked’
/usr/include/stdio.h:514: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:517: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:517: error: storage class
specified for parameter ‘putw’
/usr/include/stdio.h:526: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:526: error: storage class
specified for parameter ‘fgets’
/usr/include/stdio.h:533: error: storage class
specified for parameter ‘gets’
/usr/include/stdio.h:583: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:583: error: storage class
specified for parameter ‘fputs’
/usr/include/stdio.h:589: error: storage class
specified for parameter ‘puts’
/usr/include/stdio.h:596: error: expected declaration
specifiers or ‘...’ before ‘FILE’
/usr/include/stdio.h:596: error: storage class
specified for parameter ‘ungetc’
/usr/include/stdio.h:603: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__ ’ before ‘fread’
/usr/include/stdio.h:609: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__ ’ before ‘fwrite’
/usr/include/stdio.h:631: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__ ’ before ‘fread_unlocked’
/usr/include/stdio.h:633: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__ ’ before
‘fwrite_unlocked’
/usr/include/stdio.h:643: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:648: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:653: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:692: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:697: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:720: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:722: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:724: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:729: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:730: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:731: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:740: error: storage class
specified for parameter ‘perror’
In file included from /usr/include/stdio.h:747,
from /usr/include/gst/gstregistry.h:27,
from /usr/include/gst/gst.h:56,
from gstinit.c:1:
/usr/include/bits/sys_errlist.h:27: error: storage
class specified for parameter ‘sys_nerr’
/usr/include/bits/sys_errlist.h:28: error: storage
class specified for parameter ‘sys_errlist’
In file included from
/usr/include/gst/gstregistry.h:27,
from /usr/include/gst/gst.h:56,
from gstinit.c:1:
/usr/include/stdio.h:752: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:757: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:767: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__ ’ before ‘*’ token
/usr/include/stdio.h:773: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:779: error: storage class
specified for parameter ‘ctermid’
/usr/include/stdio.h:807: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:811: error: expected ‘)’ before
‘*’ token
/usr/include/stdio.h:814: error: expected ‘)’ before
‘*’ token
In file included from /usr/include/gst/gst.h:56,
from gstinit.c:1:
/usr/include/gst/gstregistry.h:41: error: storage
class specified for parameter ‘GstRegistry’
/usr/include/gst/gstregistry.h:42: error: storage
class specified for parameter ‘GstRegistryClass’
/usr/include/gst/gstregistry.h:50: error: expected
specifier-qualifier-list befo re ‘GstObject’
/usr/include/gst/gstregistry.h:66: error: expected
specifier-qualifier-list befo re ‘GstObjectClass’
/usr/include/gst/gstregistry.h:78: error: expected
declaration specifiers before ‘GType’
/usr/include/gst/gstregistry.h:80: error: expected
declaration specifiers before ‘GstRegistry’
/usr/include/gst/gstregistry.h:82: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstregistry.h:83: error: expected
declaration specifiers before ‘GList’
/usr/include/gst/gstregistry.h:85: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstregistry.h:86: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstregistry.h:87: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstregistry.h:88: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstregistry.h:90: error: expected
declaration specifiers before ‘GList’
/usr/include/gst/gstregistry.h:91: error: expected
declaration specifiers before ‘GList’
/usr/include/gst/gstregistry.h:95: error: expected
declaration specifiers before ‘GList’
/usr/include/gst/gstregistry.h:99: error: expected
declaration specifiers before ‘GList’
/usr/include/gst/gstregistry.h:101: error: expected
declaration specifiers befor e ‘GList’
/usr/include/gst/gstregistry.h:103: error: expected
declaration specifiers befor e ‘GstPlugin’
/usr/include/gst/gstregistry.h:104: error: expected
declaration specifiers befor e ‘GstPluginFeature’
/usr/include/gst/gstregistry.h:106: error: expected
declaration specifiers befor e ‘GstPlugin’
/usr/include/gst/gstregistry.h:107: error: expected
declaration specifiers befor e ‘GstPluginFeature’
/usr/include/gst/gstregistry.h:109: error: expected
‘)’ before ‘*’ token
/usr/include/gst/gstregistry.h:110: error: expected
‘)’ before ‘*’ token
/usr/include/gst/gstregistry.h:112: error: expected
‘)’ before ‘*’ token
/usr/include/gst/gstregistry.h:202: error: expected
‘;’, ‘,’ or ‘)’ before ‘*’ t oken

In file included from /usr/include/gst/gst.h:64,
from gstinit.c:1:
/usr/include/gst/gsttypefind.h:34: error: storage
class specified for parameter ‘GstTypeFind’
/usr/include/gst/gsttypefind.h:43: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gsttypefind.h:62: error: storage
class specified for parameter ‘GstTypeFindProbability’
/usr/include/gst/gsttypefind.h:75: error: expected
specifier-qualifier-list befo re ‘guint8’
/usr/include/gst/gsttypefind.h:91: error: expected
declaration specifiers before ‘GType’
/usr/include/gst/gsttypefind.h:94: error: expected
declaration specifiers before ‘guint8’
/usr/include/gst/gsttypefind.h:97: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gsttypefind.h:100: error: expected
declaration specifiers befor e ‘guint64’
/usr/include/gst/gsttypefind.h:103: error: expected
‘)’ before ‘*’ token
In file included from /usr/include/gst/gst.h:65,
from gstinit.c:1:
/usr/include/gst/gsttypefindfactory.h:39: error:
storage class specified for par ameter
‘GstTypeFindFactory’
/usr/include/gst/gsttypefindfactory.h:40: error:
storage class specified for par ameter
‘GstTypeFindFactoryClass’
/usr/include/gst/gsttypefindfactory.h:48: error:
expected specifier-qualifier-li st before
‘GstPluginFeature’
/usr/include/gst/gsttypefindfactory.h:62: error:
expected specifier-qualifier-li st before
‘GstPluginFeatureClass’
/usr/include/gst/gsttypefindfactory.h:70: error:
expected declaration specifiers before ‘GType’
/usr/include/gst/gsttypefindfactory.h:72: error:
expected declaration specifiers before ‘GList’
/usr/include/gst/gsttypefindfactory.h:74: error:
expected declaration specifiers before ‘gchar’
/usr/include/gst/gsttypefindfactory.h:75: error:
expected declaration specifiers before ‘GstCaps’
/usr/include/gst/gsttypefindfactory.h:76: error:
expected ‘)’ before ‘*’ token
In file included from /usr/include/gst/gst.h:66,
from gstinit.c:1:
/usr/include/gst/gsturi.h:46: error: storage class
specified for parameter ‘GstU RIType’
/usr/include/gst/gsturi.h:68: error: storage class
specified for parameter ‘GstU RIHandler’
/usr/include/gst/gsturi.h:69: error: storage class
specified for parameter ‘GstU RIHandlerInterface’
/usr/include/gst/gsturi.h:82: error: expected
specifier-qualifier-list before ‘G TypeInterface’
/usr/include/gst/gsturi.h:115: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ token
/usr/include/gst/gsturi.h:116: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ token
/usr/include/gst/gsturi.h:117: error: expected
declaration specifiers before ‘gc har’
/usr/include/gst/gsturi.h:118: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ token
/usr/include/gst/gsturi.h:120: error: expected
declaration specifiers before ‘gc har’
/usr/include/gst/gsturi.h:121: error: expected
declaration specifiers before ‘gc har’
/usr/include/gst/gsturi.h:124: error: expected
declaration specifiers before ‘Gs tElement’
/usr/include/gst/gsturi.h:129: error: expected
declaration specifiers before ‘GT ype’
/usr/include/gst/gsturi.h:131: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gsturi.h:132: error: expected
declaration specifiers before ‘gc har’
/usr/include/gst/gsturi.h:134: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attrib ute__’ before ‘*’ token
/usr/include/gst/gsturi.h:135: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gsturi.h:137: error: expected ‘)’
before ‘*’ token
In file included from /usr/include/gst/gst.h:67,
from gstinit.c:1:
/usr/include/gst/gstutils.h:35: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:36: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:39: error: expected
declaration specifiers before ‘g uint64’
/usr/include/gst/gstutils.h:40: error: expected ‘)’
before ‘value’
/usr/include/gst/gstutils.h:67: error: expected
declaration specifiers before ‘g uint64’
/usr/include/gst/gstutils.h:69: error: expected
declaration specifiers before ‘g uint64’
/usr/include/gst/gstutils.h:71: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:72: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:506: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:510: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:511: error: expected
declaration specifiers before ‘ GstPad’
/usr/include/gst/gstutils.h:514: error: expected
declaration specifiers before ‘ GstPadTemplate’
/usr/include/gst/gstutils.h:516: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstutils.h:518: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:519: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:521: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:524: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:525: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:528: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:530: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:533: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:537: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:543: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:544: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:547: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:549: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:551: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:555: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:559: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:561: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:562: error: expected
declaration specifiers before ‘ GstCaps’
/usr/include/gst/gstutils.h:563: error: expected
declaration specifiers before ‘ GstCaps’
/usr/include/gst/gstutils.h:564: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:566: error: expected
declaration specifiers before ‘ GstElement’
/usr/include/gst/gstutils.h:569: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:571: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:573: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:576: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:578: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:580: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:584: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:585: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:586: error: expected
declaration specifiers before ‘ GstPad’
/usr/include/gst/gstutils.h:589: error: expected
declaration specifiers before ‘ GstBuffer’
/usr/include/gst/gstutils.h:590: error: expected
declaration specifiers before ‘ GstBuffer’
/usr/include/gst/gstutils.h:591: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:597: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:600: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:601: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:604: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:605: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:608: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:611: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:614: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstutils.h:619: error: expected
declaration specifiers before ‘ GstElement’
In file included from /usr/include/gst/gst.h:68,
from gstinit.c:1:
/usr/include/gst/gstvalue.h:293: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:304: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:315: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:329: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:347: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:362: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:366: error: storage class
specified for parameter ‘G stValueTable’
/usr/include/gst/gstvalue.h:377: error: expected
specifier-qualifier-list before ‘GType’
/usr/include/gst/gstvalue.h:386: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:387: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:388: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:389: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:390: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:391: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:392: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:394: error: expected
declaration specifiers before ‘ GType’
/usr/include/gst/gstvalue.h:396: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:397: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:400: error: expected
declaration specifiers before ‘ gchar’
/usr/include/gst/gstvalue.h:401: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:405: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:407: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:409: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:412: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:413: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:418: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:420: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:422: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:423: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:428: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:430: error: expected
declaration specifiers before ‘ guint32’
/usr/include/gst/gstvalue.h:433: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:436: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:437: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:440: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:443: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:444: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:447: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:449: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:453: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:456: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:457: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:458: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:461: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:466: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:469: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:474: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:475: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:478: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attr ibute__’ before ‘*’ token
/usr/include/gst/gstvalue.h:480: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:484: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:486: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:489: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:492: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:494: error: expected ‘)’
before ‘type1’
/usr/include/gst/gstvalue.h:499: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:502: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:504: error: expected ‘)’
before ‘type1’
/usr/include/gst/gstvalue.h:509: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstvalue.h:512: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
/usr/include/gst/gstvalue.h:514: error: expected ‘)’
before ‘minuend_type’
/usr/include/gst/gstvalue.h:519: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ toke n
In file included from /usr/include/gst/gst.h:69,
from gstinit.c:1:
/usr/include/gst/gstxml.h:41: error: storage class
specified for parameter ‘GstX ML’
/usr/include/gst/gstxml.h:42: error: storage class
specified for parameter ‘GstX MLClass’
/usr/include/gst/gstxml.h:50: error: expected
specifier-qualifier-list before ‘G stObject’
/usr/include/gst/gstxml.h:61: error: expected
specifier-qualifier-list before ‘G stObjectClass’
/usr/include/gst/gstxml.h:70: error: expected
declaration specifiers before ‘GTy pe’
/usr/include/gst/gstxml.h:74: error: expected
declaration specifiers before ‘xml DocPtr’
/usr/include/gst/gstxml.h:77: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstxml.h:79: error: expected
declaration specifiers before ‘Gst XML’
/usr/include/gst/gstxml.h:81: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstxml.h:82: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstxml.h:83: error: expected ‘)’
before ‘*’ token
/usr/include/gst/gstxml.h:86: error: expected
declaration specifiers before ‘Gst Element’
/usr/include/gst/gstxml.h:87: error: expected
declaration specifiers before ‘GLi st’
/usr/include/gst/gstxml.h:89: error: expected
declaration specifiers before ‘Gst Element’
In file included from /usr/include/gst/gst.h:71,
from gstinit.c:1:
/usr/include/gst/gstparse.h:34: error: expected
declaration specifiers before ‘G Quark’
/usr/include/gst/gstparse.h:63: error: storage class
specified for parameter ‘Gs tParseError’
/usr/include/gst/gstparse.h:66: error: expected
declaration specifiers before ‘G stElement’
/usr/include/gst/gstparse.h:67: error: expected
declaration specifiers before ‘G stElement’
In file included from gstinit.c:1:
/usr/include/gst/gst.h:80: error: expected declaration
specifiers or ‘...’ befor e ‘GError’
/usr/include/gst/gst.h:81: error: expected declaration
specifiers before ‘GOptio nGroup’
/usr/include/gst/gst.h:86: error: expected declaration
specifiers before ‘gchar’
gstinit.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
gstinit.c:16: error: old-style parameter declarations
in prototyped function def inition
gstinit.c:16: error: expected ‘{’ at end of input

------------------------------
I have run following sample program.
-------------gstinit.c--------------------------
#include <gst/gst.h>
int main (int argc, char *argv[])
{
const gchar *nano_str;
guint major, minor, micro, nano;
gst_init (&argc, &argv);
gst_version (&major, &minor, &micro, &nano);
if (nano == 1)
nano_str = "(CVS)";
else if (nano == 2)
nano_str = "(Prerelease)";
else
nano_str = "";
printf ("This program is linked against GStreamer
%d.%d.%d %s\n",major, minor, micro, nano_str);
return 0;
}
---------------------------------------------
I have used the command :: gcc -Wall
$(pkg-con&#64257;g --c&#64258;ags --libs
gstreamer-0.10) gstinit.c -o gstinit
Same program is working fine on the Ubuntu 7.04
Can anybody help me to resolve this problem ?

Regards,
Chetan


      Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ 




More information about the gstreamer-devel mailing list