[crossfire] Gtk client, and theme issues

Mark Wedel mwedel at sonic.net
Wed Apr 20 00:34:48 CDT 2005


  Here are the compile errors I get when trying to compile against gtk 2:


gcc -ggdb -Wall -DALSA9_SOUND -DOSS_SOUND   -I. -I/usr/include/SDL -D_REENTRANT 
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/X11R6/include -I.. -I../common -I../pixmaps 
-c gx11.c
config.c: In function `configdialog':
config.c:413: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
config.c:413: error: (Each undeclared identifier is reported only once
config.c:413: error: for each function it appears in.)
make: *** [config.o] Error 1
make: *** Waiting for unfinished jobs....
gx11.c: In function `info_text_button_press_event':
gx11.c:1249: warning: implicit declaration of function `GTK_TEXT'
gx11.c:1249: error: invalid type argument of `->'
gx11.c: In function `get_info_display':
gx11.c:1314: warning: implicit declaration of function `gtk_text_new'
gx11.c:1314: warning: assignment makes pointer from integer without a cast
gx11.c:1315: warning: implicit declaration of function `gtk_text_set_editable'
gx11.c:1322: error: invalid type argument of `->'
gx11.c:1331: warning: implicit declaration of function `gtk_text_freeze'
gx11.c:1350: warning: assignment makes pointer from integer without a cast
gx11.c:1358: error: invalid type argument of `->'
gx11.c:1379: warning: implicit declaration of function `gtk_text_insert'
gx11.c:1389: warning: implicit declaration of function `gtk_text_thaw'
gx11.c: In function `draw_prompt':
gx11.c:1470: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
gx11.c:1470: error: (Each undeclared identifier is reported only once
gx11.c:1470: error: for each function it appears in.)
gx11.c: In function `draw_info':
gx11.c:2009: warning: implicit declaration of function `gtk_text_set_point'
gx11.c:2010: warning: implicit declaration of function `gtk_text_forward_delete'
gx11.c:2011: warning: implicit declaration of function `gtk_text_get_length'
gx11.c:2031: warning: implicit declaration of function `GTK_TEXT_INDEX'
gx11.c: In function `aboutdialog':
gx11.c:3289: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
gx11.c:3312: warning: assignment makes pointer from integer without a cast
gx11.c:3317: error: invalid type argument of `->'
gx11.c:3341: error: invalid type argument of `->'
gx11.c: In function `createBugTracker':
gx11.c:3351: warning: assignment makes pointer from integer without a cast
gx11.c: In function `bugdialog':
gx11.c:3378: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
gx11.c:3402: warning: assignment makes pointer from integer without a cast
gx11.c:3409: error: invalid type argument of `->'
gx11.c:3422: error: structure has no member named `font'
gx11.c:3423: error: structure has no member named `font'
gx11.c:3430: error: invalid type argument of `->'
gx11.c:3451: error: invalid type argument of `->'
gx11.c: In function `shelpdialog':
gx11.c:3500: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
gx11.c:3514: warning: assignment makes pointer from integer without a cast
gx11.c:3519: error: invalid type argument of `->'
gx11.c: In function `create_splash':
gx11.c:4350: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
gx11.c: In function `create_windows':
gx11.c:4416: error: structure has no member named `font'
gx11.c:4417: error: structure has no member named `font'
gx11.c: In function `draw_info_windows':
gx11.c:4865: warning: implicit declaration of function `gtk_text_set_adjustments'
gx11.c: In function `draw_magic_map':
gx11.c:4936: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function)
make: *** [gx11.o] Error 1

    
    


More information about the crossfire mailing list