[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Re: looking into SWT 3.0 M8 for native compilation with GCJ

There are also serious issues with GtkCombo and os_structs.h at line 179. I dunno
why these symbols fail to resolve... According to my locally operating spies, these
symbols are defined in /usr/include/gtk-2.0/gtk/gtkcombo.h:

$ grep *.h GtkCombo
gtkcombo.h:typedef struct _GtkCombo     GtkCombo;

And `pkg-config --cflags gtk+-2.0` seems to include all of that stuff. What's going
on? Anybody here with GTK superpowers?




gcc -O -Wall -DSWT_VERSION=3.044 -DLINUX -DGTK -I/bluebird/teamswt/swt-builddir/
IBMJava2-141/include -fpic  `pkg-config --cflags gtk+-2.0` -c os.c In file included
from os.c:17: os_structs.h:179: error: syntax error before '*' token
os_structs.h:179: error: syntax error before "GtkCombo"
os_structs.h:179: warning: type defaults to `int' in declaration of `getGtkCombo
Fields' os_structs.h:179: warning: data definition has no type or storage class
os_structs.h:180: error: syntax error before "GtkCombo"
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_GtkCombo_1sizeof':
os.c:585: error: `GtkCombo' undeclared (first use in this function)
os.c:585: error: (Each undeclared identifier is reported only once
os.c:585: error: for each function it appears in.)
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1disable_1act
ivate': os.c:3814: warning: implicit declaration of function
`gtk_combo_disable_activate ' os.c:3814: error: `GtkCombo' undeclared (first use in
this function) os.c:3814: error: syntax error before ')' token
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1new':
os.c:3825: warning: implicit declaration of function `gtk_combo_new'
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1set_1case_1s
ensitive': os.c:3836: warning: implicit declaration of function
`gtk_combo_set_case_sensiti ve' os.c:3836: error: `GtkCombo' undeclared (first use in
this function) os.c:3836: error: syntax error before ')' token
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1set_1popdown
_1strings': os.c:3846: warning: implicit declaration of function
`gtk_combo_set_popdown_stri ngs' os.c:3846: error: `GtkCombo' undeclared (first use
in this function) os.c:3846: error: syntax error before ')' token
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1timeout_1add':
os.c:6394: warning: implicit declaration of function `gtk_timeout_add'
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1timeout_1remove':
os.c:6405: warning: implicit declaration of function `gtk_timeout_remove'
os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1insert_1wi
dget': os.c:6463: warning: implicit declaration of function
`gtk_toolbar_insert_widget' os.c: In function
`Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_sw
t_internal_gtk_GtkCombo_2I': os.c:8581: error: `GtkCombo' undeclared (first use in
this function) os.c:8581: error: syntax error before ')' token
make: *** [os.o] Error 1