doubt compiling a first program



Hello,

My name is Adolfo, from Brazil, and I'm newbie
developing with GTK+.

I've installed the devel packages in my house
which comes with Fedora Core 3.
I've exported the variable CPATH with the locations of
libraries and I've compiled using the statement below:

gcc -o base teste_gtk.c `pkg-config --libs gtk+-2.0`

Ok, in the firs machine with FC3, the program was
compiled with successfully,

but in another computer I got the message:

note: I've tried to use yum update to my pango-devel
package, gtk-devel and glib... but have no success.

In file included from
/usr/include/gtk-2.0/gdk/gdk.h:43,
                 from
/usr/include/gtk-2.0/gtk/gtk.h:31,
                 from teste_gtk.c:1:
/usr/include/gtk-2.0/gdk/gdkpango.h:69: error: syntax
error before "PangoRenderer"
/usr/include/gtk-2.0/gdk/gdkpango.h:69: warning: no
semicolon at end of struct or union
/usr/include/gtk-2.0/gdk/gdkpango.h:72: error: syntax
error before '}' token
/usr/include/gtk-2.0/gdk/gdkpango.h:84: error: syntax
error before "PangoRendererClass"
/usr/include/gtk-2.0/gdk/gdkpango.h:84: warning: no
semicolon at end of struct or union
/usr/include/gtk-2.0/gdk/gdkpango.h:89: error: syntax
error before '*' token
/usr/include/gtk-2.0/gdk/gdkpango.h:89: warning: data
definition has no type or storage class
/usr/include/gtk-2.0/gdk/gdkpango.h:90: error: syntax
error before '*' token
/usr/include/gtk-2.0/gdk/gdkpango.h:90: warning: data
definition has no type or storage class
/usr/include/gtk-2.0/gdk/gdkpango.h:97: error: syntax
error before "PangoRenderPart"
/usr/include/gtk-2.0/gdk/gdkpango.h:100: error: syntax
error before "PangoRenderPart"


Could help me anyone?


Thank you!

[]'s


__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]