Valgrind



I'm trying to run gnome-games with valgrind, and I get a compilation error. I have set the following environment variable:
 export GNOME_GAMES_CFLAGS=-g

Then I run autogen.sh and make, which gives the following error.
Has anyone used valgrind on gnome-games?





make[3]: Entering directory `/home/andreas/gnome/gnome-games/dependencies/ggz-gtk' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu89 -g -I../../libgames-support -Wall -Wmissing-prototypes -I../../intl -I../../dependencies/ggzcore -I../../dependencies/libggz -DGGZGTKDATADIR=\"/usr/local/share/ggz/gnome-games\" -g -O2 -D_REENTRANT -MT about.lo -MD -MP -MF ".deps/about.Tpo" -c -o about.lo about.c; \ then mv -f ".deps/about.Tpo" ".deps/about.Plo"; else rm -f ".deps/about.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu89 -g -I../../libgames-support -Wall -Wmissing-prototypes -I../../intl -I../../dependencies/ggzcore -I../../dependencies/libggz -DGGZGTKDATADIR=\"/usr/local/share/ggz/gnome-games\" -g -O2 -D_REENTRANT -MT about.lo -MD -MP -MF .deps/about.Tpo -c about.c -fPIC -DPIC -o .libs/about.o
about.c:36:28: error: gdk/gdkkeysyms.h: No such file or directory
about.c:37:21: error: gtk/gtk.h: No such file or directory
In file included from chat.h:33,
                 from about.c:40:
xtext.h:4:31: error: gtk/gtkadjustment.h: No such file or directory
In file included from chat.h:33,
                 from about.c:40:
xtext.h:49: error: expected specifier-qualifier-list before 'gfloat'
xtext.h:83: error: expected specifier-qualifier-list before 'GtkWidget'
xtext.h:221: error: expected specifier-qualifier-list before 'GtkWidgetClass' xtext.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token xtext.h:231: error: expected declaration specifiers or '...' before 'GdkPixmap' xtext.h:231: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:232: error: expected declaration specifiers or '...' before 'GdkColor' xtext.h:240: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_is_empty' xtext.h:245: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:248: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:249: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:250: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:251: error: expected declaration specifiers or '...' before 'gboolean'
xtext.h:253: error: expected ')' before '*' token
xtext.h:254: error: expected declaration specifiers or '...' before 'gboolean' xtext.h:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_get_type'
In file included from about.c:40:
chat.h:47: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:47: error: expected ';', ',' or ')' before '*' token
chat.h:48: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:48: error: expected ';', ',' or ')' before '*' token
chat.h:49: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:49: error: expected ';', ',' or ')' before '*' token
chat.h:52: error: expected declaration specifiers or '...' before 'GdkEventButton'
chat.h:53: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:53: error: expected ';', ',' or ')' before '*' token
chat.h:54: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:54: error: expected ';', ',' or ')' before '*' token
chat.h:55: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:55: error: expected ';', ',' or ')' before '*' token
chat.h:56: warning: type defaults to 'int' in declaration of 'gchar'
chat.h:56: error: expected ';', ',' or ')' before '*' token
chat.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token chat.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chat_is_friend' chat.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chat_is_ignore' chat.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'colors' chat.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ColorWhite' chat.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ColorBlack'
In file included from about.c:41:
client.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token client.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token client.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token client.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from about.c:42:
support.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
support.h:104: warning: type defaults to 'int' in declaration of 'gchar'
support.h:104: error: expected ';', ',' or ')' before '*' token
support.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'about_tag' about.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token about.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Yloc' about.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
about.c:53: error: expected ')' before '*' token
about.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'about_update' about.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'about_draw_text'
about.c: In function 'about_create_or_raise':
about.c:61: error: 'about_dialog' undeclared (first use in this function)
about.c:61: error: (Each undeclared identifier is reported only once
about.c:61: error: for each function it appears in.)
about.c:62: error: 'Yloc' undeclared (first use in this function)
about.c:63: warning: implicit declaration of function 'create_dlg_about'
about.c:64: warning: implicit declaration of function 'gtk_widget_show'
about.c:66: warning: implicit declaration of function 'gdk_window_show'
about.c:67: warning: implicit declaration of function 'gdk_window_raise'
about.c: At top level:
about.c:71: error: expected ')' before '*' token
about.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
about.c:124: error: expected ')' before '*' token
about.c:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'about_update' about.c:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'about_draw_text'
make[3]: *** [about.lo] Error 1
make[3]: Leaving directory `/home/andreas/gnome/gnome-games/dependencies/ggz-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/gnome/gnome-games/dependencies'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andreas/gnome/gnome-games'
make: *** [all] Error 2




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