Anoop - 2006-11-17

There are a set of developer package dependencies , I addressed that by installing following packages

  396   yum install  "gtk+"
  403   yum install "gdk"
  405  yum install glib2-devel.i386         
  411  yum install  "libxml"
  412  yum install  "libxml"
  455  yum install  "pango-devel"
  457  yum install  "cairo"

I had to modify the Makefile for

CPPFLAGS =  -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/u
sr/lib/gtk-2.0/include

However after removing the file dependencies still there are issues

[admin@anoop packETH-1.3]$ make
gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -c interface.c
interface.c: In function ‘create_window1’:
interface.c:768: warning: implicit declaration of function ‘gtk_menu_ensure_uline_accel_group’
interface.c:768: warning: assignment makes pointer from integer without a cast
interface.c:796: warning: assignment makes pointer from integer without a cast
interface.c:812: error: too many arguments to function ‘gtk_toolbar_new’
interface.c:818: warning: implicit declaration of function ‘gtk_toolbar_set_space_size’
interface.c:2881: warning: implicit declaration of function ‘gtk_text_new’
interface.c:2881: warning: assignment makes pointer from integer without a cast
interface.c:2887: warning: implicit declaration of function ‘gtk_text_set_editable’
interface.c:2887: warning: implicit declaration of function ‘GTK_TEXT’
interface.c:3165: warning: assignment makes pointer from integer without a cast
interface.c:3583: warning: assignment makes pointer from integer without a cast
interface.c:4582: warning: assignment makes pointer from integer without a cast
interface.c:5586: warning: assignment makes pointer from integer without a cast
make: *** [interface.o] Error 1

It seems there are some compatibility issues. If you have the details please let me know.

Regards
AKP