Compiling gtk branch
Posted: 10 Jun 2010, 10:57
I've tried to compile it and got these errors/warnings
I thought I'd installed all the header files for X11,is there still something missing?
(its a fedora 13 box,btw)
Best
Fonzy
callback.c:629: warning: conflicting types for ‘ShowThinkingProc’
callback.c:248: note: previous implicit declaration of ‘ShowThinkingProc’ was here
interface.c: In function ‘load_pixbuf’:
interface.c:70: warning: incompatible implicit declaration of built-in function ‘exit’
In file included from xboard.c:1057:
args.h: In function ‘ParseArgs’:
args.h:988: warning: cast from pointer to integer of different size
args.h:1002: warning: cast from pointer to integer of different size
args.h: In function ‘SetDefaultsFromList’:
args.h:1098: warning: cast from pointer to integer of different size
args.h:1104: warning: cast from pointer to integer of different size
args.h:1112: warning: cast from pointer to integer of different size
args.h:1115: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveFontArg’:
xboard.c:1164: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveAttribsArg’:
xboard.c:1196: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveColor’:
xboard.c:1202: warning: cast from pointer to integer of different size
xboard.c:1203: warning: cast from pointer to integer of different size
xedittags.c: In function ‘EditTagsPopUp’:
xedittags.c:128: warning: passing argument 2 of ‘gtk_container_foreach’ from incompatible pointer type
/usr/include/gtk-2.0/gtk/gtkcontainer.h:122: note: expected ‘GtkCallback’ but argument is of type ‘void (*)(void)’
/usr/bin/ld: xengineoutput.o: undefined reference to symbol 'XtAddEventHandler'
/usr/bin/ld: note: 'XtAddEventHandler' is defined in DSO /usr/lib64/libXt.so.6 so try adding it to the linker command line
/usr/lib64/libXt.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [xboard] Error 1
make: *** [all] Error 2
I thought I'd installed all the header files for X11,is there still something missing?
(its a fedora 13 box,btw)
Best
Fonzy