compiling with librsvg

Ulrich Mierendorff <[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
Hi,
I am new to the library and tried to include it into my program:
[...]
#include <librsvg/rsvg-cairo.h>
[...]

and compile it with this line on a debian (sid) box:

gcc -I/usr/include/cairo -I/usr/include/librsvg-2 -lGL -lGLU 
-lrsvg-cairo ./example.c

I get theese errors:
In file included from ./example.c:9:
/usr/include/librsvg-2/librsvg/rsvg-cairo.h:32: error: expected '=', 
',', ';', 'asm' or '__attribute__' before 'void'
/usr/include/librsvg-2/librsvg/rsvg-cairo.h:36: error: expected ')' 
before '*' token
./example.c:15: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'int'

Can anyone point to a mistake I made?

Thanks in Advance!

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.