Hello -- Iam trying to cross compile gtk application made using
glade to arm linux. The final application cannot have glade references. I am getting following errors because I cannot use gnome.h ---- In file included from main.c:17: support.h:37: parse error before '*' token support.h:37: warning: type defaults to `int' in declaration of `create_image' support.h:37: warning: data definition has no type or storage class In file included from interface.c:23: support.h:37: parse error before '*' token support.h:37: warning: type defaults to `int' in declaration of `create_image' support.h:37: warning: data definition has no type or storage class interface.c: In function `create_window1': interface.c:36: warning: implicit declaration of function `_' interface.c:36: warning: passing arg 2 of `gtk_window_set_title' makes pointer from integer without a cast interface.c:54: warning: passing arg 1 of `gtk_button_new_with_label' makes pointer from integer without a cast interface.c:63: warning: passing arg 1 of `gtk_button_new_with_label' makes pointer from integer without a cast In file included from support.c:20: support.h:37: parse error before '*' token support.h:37: warning: type defaults to `int' in declaration of `create_image' support.h:37: warning: data definition has no type or storage class support.c: In function `create_dummy_pixmap': support.c:72: warning: implicit declaration of function `gnome_pixmap_new_from_xpm_d' support.c:72: warning: return makes pointer from integer without a cast support.c: In function `create_pixmap': support.c:101: warning: implicit declaration of function `gnome_pixmap_file' support.c:101: warning: assignment makes pointer from integer without a cast support.c:104: warning: implicit declaration of function `_' support.c:104: warning: passing arg 3 of `g_log' makes pointer from integer without a cast support.c:110: warning: implicit declaration of function `gnome_pixmap_new_from_file' support.c:110: warning: assignment makes pointer from integer without a cast support.c:120: warning: passing arg 3 of `g_log' makes pointer from integer without a cast support.c: At top level: support.c:133: parse error before '*' token support.c:135: warning: return type defaults to `int' support.c: In function `create_image': support.c:136: `GdkImlibImage' undeclared (first use in this function) support.c:136: (Each undeclared identifier is reported only once support.c:136: for each function it appears in.) support.c:136: `image' undeclared (first use in this function) support.c:139: warning: assignment makes pointer from integer without a cast support.c:142: warning: passing arg 3 of `g_log' makes pointer from integer without a cast support.c:146: warning: implicit declaration of function `gdk_imlib_load_image' In file included from callbacks.c:13: support.h:37: parse error before '*' token support.h:37: warning: type defaults to `int' in declaration of `create_image' support.h:37: warning: data definition has no type or storage class callbacks.c: In function `on_button1_clicked': callbacks.c:20: warning: implicit declaration of function `exit' ----------- Any help how i can get a pure GTK code without glade references. thanks kavita __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com _______________________________________________ Glade-devel maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/glade-devel