google-gadgets-for-linux problem

lI lux-integ at btconnect.com
Sun Jun 27 14:30:45 CEST 2010


Greetings,


google-gadgets-for-linux  which is a prerequisite for compiling KDE4.x  does 
not compile with the current standard versions of xulrunner ( 
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=352 ).
I have tried  version 11.2 and the current version in svn  on a few occasions 
with the same result. The tail of the compile spew(s)  are  shown below:-

################
----------- attempt at building with autoconf/automake-----
libtool: compile:  g++ -m64 -DHAVE_CONFIG_H -I. -IS$OURCES/ggl-
trunk/extensions/smjs_script_runtime -I../.. -I../.. -IS$OURCES/ggl-trunk -
D__STDC_CONSTANT_MACROS -DNDEBUG -DGGL_MODULE_DIR=\"/opt/kde-4.4.4/lib/google-
gadgets/modules\" -DGGL_INCLUDE_DIR=\"/opt/kde-4.4.4/include/google-gadgets\" 
-DGGL_SYSDEPS_INCLUDE_DIR=\"/opt/kde-4.4.4/lib/google-gadgets/include\" -
DGGL_LIBEXEC_DIR=\"/opt/kde-4.4.4/lib/google-gadgets\" -
DGGL_RESOURCE_DIR=\"/opt/kde-4.4.4/share/google-gadgets\" -DGGL_HOST_LINUX=1 -
DGGL_LITTLE_ENDIAN -DHAVE_PTHREAD=1 -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -
DHAVE_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION -
DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_JAVA_SCRIPT_H -
DGGL_GTK_WEBKIT_SUPPORT_JSC -DHAVE_MKDTEMP -DHAVE_MMAP "-
DGGL_DIST_INFO=\"linux-x86_64 (unknown) (-)\"" -
DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" -
DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/opt/firefox-3.6.3/lib/firefox-3.6.3/searchplugins\" 
-DGGL_ENABLE_XDGMIME -DGGL_GTK_HTML_SCRIPT_ENGINE=\"webkit\" -
DGGL_GTK_XML_HTTP_REQUEST=\"soup\" -DGGL_QT_SCRIPT_ENGINE=\"smjs\" -DXP_UNIX -
DJS_THREADSAFE -I/usr/include/nspr -
I/opt/xulrunner-1.9.2/include/xulrunner-1.9.2 -DHAVE_JSVERSION_H -
DMOZILLA_1_8_BRANCH -DHAVE_JS_SetOperationCallback -
DHAVE_JS_TriggerAllOperationCallbacks -DGGL_MOZJS_LIBNAME=\"libmozjs.so\" -
I/usr/X11R7.5/include -I/opt/gstreamer/include -O2 -Wall -fstack-protector -
Werror -fcheck-new -Wno-invalid-offsetof -MT libggadget_smjs_la-
js_script_context.lo -MD -MP -MF .deps/libggadget_smjs_la-
js_script_context.Tpo -c S$OURCES/ggl-
trunk/extensions/smjs_script_runtime/js_script_context.cc  -fPIC -DPIC -o 
.libs/libggadget_smjs_la-js_script_context.o
cc1plus: warnings being treated as errors
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc: In 
function 'void ggadget::smjs::ForceGC(JSContext*)':
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:433: 
error: format '%u' expects type 'unsigned int', but argument 3 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:433: 
error: format '%u' expects type 'unsigned int', but argument 4 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:433: 
error: format '%u' expects type 'unsigned int', but argument 5 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:433: 
error: format '%u' expects type 'unsigned int', but argument 6 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:437: 
error: format '%u' expects type 'unsigned int', but argument 3 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:437: 
error: format '%u' expects type 'unsigned int', but argument 4 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:437: 
error: format '%u' expects type 'unsigned int', but argument 5 has type 
'size_t'
S$OURCES/ggl-trunk/extensions/smjs_script_runtime/js_script_context.cc:437: 
error: format '%u' expects type 'unsigned int', but argument 6 has type 
'size_t'
make[4]: *** [libggadget_smjs_la-js_script_context.lo] Error 1
make[4]: Leaving directory `S$OURCES/ggl-
trunk/build/extensions/smjs_script_runtime'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `S$OURCES/ggl-
trunk/build/extensions/smjs_script_runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `S$OURCES/ggl-trunk/build/extensions'
make[1]: *** [all-recursive] Error 1



--------------attempt  at building with cmake----------
[ 38%] Building CXX object ggadget/gtk/CMakeFiles/ggadget-
gtk-1.0.dir/tooltip.o
[ 38%] Building CXX object ggadget/gtk/CMakeFiles/ggadget-
gtk-1.0.dir/utilities.o
[ 39%] Building CXX object ggadget/gtk/CMakeFiles/ggadget-
gtk-1.0.dir/view_widget_binder.o
cc1plus: warnings being treated as errors
S$OURCES/ggl-trunk/ggadget/gtk/view_widget_binder.cc: In member function 'void 
ggadget::gtk::ViewWidgetBinder::QueueDraw()':
S$OURCES/ggl-trunk/ggadget/gtk/view_widget_binder.cc:1101: error: conversion 
to 'guint' from 'uint64_t' may alter its value
make[2]: *** [ggadget/gtk/CMakeFiles/ggadget-gtk-1.0.dir/view_widget_binder.o] 
Error 1
make[1]: *** [ggadget/gtk/CMakeFiles/ggadget-gtk-1.0.dir/all] Error 2

################


I was wondering if there is an alternative to using this program or a fix  from 
somewhere within kde.

Feedback would be much appreciated


More information about the Kde-buildsystem mailing list