Hello,
I can't get ventura to compile in a a recent shr-u.
There are quite a few errors, the first one being:
callbacks.h:25:34: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'contents'
Can anyone help?
Full log is attached.
Thanks
Tim Abell
NOTE: make -j 4
make all-recursive
make[1]: Entering directory
`/home/tim/projects/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/ventura-0.2+svnr16-r7/trunk'
Making all in src
make[2]: Entering directory
`/home/tim/projects/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/ventura-0.2+svnr16-r7/trunk/src'
arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb
-DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr//locale"\"
-DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/elementary-0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/efreet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/e_dbus-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/ecore-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/edje-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/evas-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1/eina
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/glib-2.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/glib-2.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/dbus-1.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/dbus-1.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/local/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/embryo-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/fribidi
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/freetype2
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/EWebKit
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/cairo
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/pixman-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/libpng12
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-Wall -g
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT
callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c
arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb
-DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr//locale"\"
-DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/elementary-0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/efreet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/e_dbus-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/ecore-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/edje-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/evas-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1/eina
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/glib-2.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/glib-2.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/dbus-1.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/dbus-1.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/local/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/embryo-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/fribidi
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/freetype2
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/EWebKit
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/cairo
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/pixman-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/libpng12
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-Wall -g
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT
main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb
-DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr//locale"\"
-DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/elementary-0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/efreet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/e_dbus-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/ecore-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/edje-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/evas-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eet-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/eina-1/eina
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/glib-2.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/glib-2.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/dbus-1.0
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/lib/dbus-1.0/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/local/include
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/embryo-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/fribidi
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/freetype2
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/EWebKit
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/cairo
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/pixman-1
-I/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/libpng12
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-Wall -g
-isystem/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT
gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.c
In file included from main.c:20:0:
callbacks.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'contents'
In file included from callbacks.c:20:0:
callbacks.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'contents'
In file included from main.c:21:0:
gui.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'contents'
In file included from callbacks.c:21:0:
gui.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'contents'
callbacks.c: In function 'zoom_out':
callbacks.c:26:4: warning: implicit declaration of function
'ewk_webview_object_zoom_factor_get'
callbacks.c:29:4: warning: implicit declaration of function
'ewk_webview_object_zoom_factor_set'
callbacks.c: In function 'event_mouse_up':
callbacks.c:84:3: warning: implicit declaration of function
'ewk_webpage_object_scroll'
callbacks.c: In function 'url_changed':
callbacks.c:95:2: error: 'EWebKit_Event_Url_Changed' undeclared (first use in
this function)
callbacks.c:95:2: note: each undeclared identifier is reported only once for
each function it appears in
callbacks.c:95:29: error: 'ev' undeclared (first use in this function)
callbacks.c: In function 'title_changed':
callbacks.c:101:2: warning: implicit declaration of function
'ewk_webframe_object_title_get'
callbacks.c:101:20: warning: initialization makes pointer from integer without
a cast
callbacks.c: In function 'load_progress':
callbacks.c:109:2: error: 'EWebKit_Event_Load_Progress' undeclared (first use
in this function)
callbacks.c:109:31: error: 'ev' undeclared (first use in this function)
callbacks.c: In function 'nav_back':
callbacks.c:126:4: warning: implicit declaration of function
'ewk_webview_object_navigation_can_go_back'
callbacks.c:126:4: warning: implicit declaration of function
'ewk_webview_object_navigation_back'
callbacks.c: In function 'nav_fwd':
callbacks.c:131:4: warning: implicit declaration of function
'ewk_webview_object_navigation_can_go_forward'
callbacks.c:131:4: warning: implicit declaration of function
'ewk_webview_object_navigation_forward'
callbacks.c: In function 'nav_up':
callbacks.c:137:4: warning: implicit declaration of function
'ewk_webpage_object_viewport_size_get'
callbacks.c: In function 'nav_stop':
callbacks.c:164:4: warning: implicit declaration of function
'ewk_webview_object_navigation_stop'
callbacks.c: In function 'nav_reload':
callbacks.c:169:4: warning: implicit declaration of function
'ewk_webview_object_navigation_reload'
callbacks.c: In function 'goto_url':
callbacks.c:230:2: warning: implicit declaration of function
'ewk_webview_object_load_url'
main.c:30:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'contents'
In file included from gui.c:20:0:
gui.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'contents'
In file included from gui.c:21:0:
callbacks.h:25:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'contents'
gui.c: In function 'goto_bookmark':
gui.c:112:2: warning: implicit declaration of function
'ewk_webview_object_load_url'
gui.c: In function 'add_bookmark':
gui.c:398:2: warning: implicit declaration of function
'ewk_webframe_object_title_get'
gui.c:398:2: warning: passing argument 2 of 'elm_entry_entry_set' makes pointer
from integer without a cast
/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/elementary-0/Elementary.h:744:22:
note: expected 'const char *' but argument is of type 'int'
gui.c:405:2: warning: implicit declaration of function
'ewk_webframe_object_url_get'
gui.c:405:2: warning: passing argument 2 of 'elm_entry_entry_set' makes pointer
from integer without a cast
/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/elementary-0/Elementary.h:744:22:
note: expected 'const char *' but argument is of type 'int'
gui.c: In function 'create_gui':
gui.c:448:5: error: too many arguments to function 'ewk_init'
/home/tim/projects/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include/EWebKit/ewk_main.h:30:10:
note: declared here
gui.c:451:5: warning: implicit declaration of function 'ewk_webview_object_add'
gui.c:451:10: warning: assignment makes pointer from integer without a cast
gui.c:458:2: warning: implicit declaration of function
'ewk_callback_url_changed_add'
gui.c:459:2: warning: implicit declaration of function
'ewk_callback_title_changed_add'
gui.c:460:2: warning: implicit declaration of function
'ewk_callback_load_progress_add'
gui.c:461:2: warning: implicit declaration of function
'ewk_callback_load_started_add'
gui.c:462:2: warning: implicit declaration of function
'ewk_callback_load_finished_add'
gui.c:465:2: warning: implicit declaration of function
'ewk_webview_object_theme_set'
gui.c:468:2: warning: implicit declaration of function
'ewk_webview_object_zoom_factor_set'
gui.c:471:2: warning: implicit declaration of function
'ewk_webview_object_webpage_get'
gui.c:471:7: warning: assignment makes pointer from integer without a cast
gui.c:472:2: warning: implicit declaration of function
'ewk_webpage_object_mainframe_get'
gui.c:472:8: warning: assignment makes pointer from integer without a cast
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gui.o] Error 1
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory
`/home/tim/projects/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/ventura-0.2+svnr16-r7/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/tim/projects/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/ventura-0.2+svnr16-r7/trunk'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel