Hey Arnaud,
First off, great job on the webkit port! It's fun to show friends the
net via tv. I am interested in incorporating your source into the
Neuros build system, and to get a UPK out there with browser &
last.fm
and other bits & pieces. So here's my question:
I'm trying to build webkit from your svn source with Qt4.4.1 - yeah
I've updated that too. However the build fails in WebCore with an
error I cannot figure out, perhaps you can take a look? My error:
arm-linux-g++ -c -pipe -Wreturn-type -fno-strict-aliasing -O2 -
D_REENTRANT -fPIC -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -
DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -
DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATABASE=1 -
DENABLE_ICONDATABASE=1 -DENABLE_XPATH=0 -DENABLE_XBL=0 -DENABLE_SVG=0 -
DENABLE_SVG_FONTS=0 -DENABLE_SVG_FILTERS=0 -
DENABLE_SVG_FOREIGN_OBJECT=0 -DENABLE_SVG_ANIMATION=0 -
DENABLE_SVG_AS_IMAGE=0 -DENABLE_SVG_USE=0 -DENABLE_VIDEO=0 -
DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DQT_NO_DEBUG -
DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/thebox/
Programming/neuros-osd/neuros-bsp/toolchain/Qt-4.4.1/mkspecs/qws/linux-
arm-g++ -I. -I/home/thebox/Programming/neuros-osd/neuros-bsp/toolchain/
Qt-4.4.1/include/QtCore -I/home/thebox/Programming/neuros-osd/neuros-
bsp/toolchain/Qt-4.4.1/include/QtCore -I/home/thebox/Programming/
neuros-osd/neuros-bsp/toolchain/Qt-4.4.1/include/QtNetwork -I/home/
thebox/Programming/neuros-osd/neuros-bsp/toolchain/Qt-4.4.1/include/
QtNetwork -I/home/thebox/Programming/neuros-osd/neuros-bsp/toolchain/
Qt-4.4.1/include/QtGui -I/home/thebox/Programming/neuros-osd/neuros-
bsp/toolchain/Qt-4.4.1/include/QtGui -I/home/thebox/Programming/neuros-
osd/neuros-bsp/toolchain/Qt-4.4.1/include -Istorage -I../WebKit/qt/Api
-I../JavaScriptCore -I../JavaScriptCore/ForwardingHeaders -I../
JavaScriptCore/VM -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/wtf -Iplatform/qt -Iplatform/network/qt -Iplatform/
graphics/filters -Iplatform/graphics/qt -Isvg/graphics/qt -Iloader/qt -
Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -Ibridge/qt -
I. -IForwardingHeaders -I../../webkit -Iplatform -Iplatform/network -
Iplatform/graphics -Isvg/animation -Isvg/graphics -Isvg/graphics/
filters -Iplatform/sql -Iplatform/text -Iloader -Iloader/appcache -
Iloader/archive -Iloader/icon -Icss -Idom -Ipage -Ibridge -Iediting -
Irendering -Irendering/style -Ihistory -Ixml -Ihtml -Ibindings/js -
Isvg -Iplatform/image-decoders -Iplugins -Ibridge -Ibridge/c -Ibridge/
qt -Itmp -I/home/thebox/Programming/neuros-osd/neuros-bsp/toolchain/
Qt-4.4.1/src/3rdparty/sqlite/ -I. -I. -o tmp/JSAttrCustom.o bindings/
js/JSAttrCustom.cpp
In file included from dom/Document.h:35,
from bindings/js/JSEventTargetBase.h:30,
from bindings/js/JSEventTargetNode.h:31,
from tmp/JSAttr.h:24,
from bindings/js/JSAttrCustom.cpp:30:
platform/StringHash.h:218: error: type
`WTF::HashTraits<WebCore::StringImpl*>' is not derived from type
`WTF::HashTraits<WebCore::String>'
platform/StringHash.h:218: error: ISO C++ forbids declaration of
`StorageTraits' with no type
platform/StringHash.h:218: error: expected `;' before "StorageTraits"
platform/StringHash.h:219: error: `StorageTraits' has not been
declared
platform/StringHash.h:225: error: member `WebCore::String
WTF::HashTraits<WebCore::String>::<anonymous union>::m_s' with
constructor not allowed in union
platform/StringHash.h:225: error: member `WebCore::String
WTF::HashTraits<WebCore::String>::<anonymous union>::m_s' with
destructor not allowed in union
platform/StringHash.h:225: error: member `WebCore::String
WTF::HashTraits<WebCore::String>::<anonymous union>::m_s' with copy
assignment operator not allowed in union
platform/StringHash.h:237: error: `HashKeyStorageTraits' is not a
template
platform/StringHash.h:237: error: explicit specialization of non-
template `WTF::HashKeyStorageTraits'
platform/StringHash.h:241: error: `HashKeyStorageTraits' is not a
template
platform/StringHash.h:241: error: redefinition of `struct
WTF::HashKeyStorageTraits'
platform/StringHash.h:237: error: previous definition of `struct
WTF::HashKeyStorageTraits'
platform/StringHash.h:246: error: `HashKeyStorageTraits' is not a
template
platform/StringHash.h:246: error: redefinition of `struct
WTF::HashKeyStorageTraits'
platform/StringHash.h:237: error: previous definition of `struct
WTF::HashKeyStorageTraits'
platform/StringHash.h:250: error: `HashKeyStorageTraits' is not a
template
platform/StringHash.h:250: error: redefinition of `struct
WTF::HashKeyStorageTraits'
platform/StringHash.h:237: error: previous definition of `struct
WTF::HashKeyStorageTraits'
In file included from bindings/js/JSEventTargetBase.h:30,
from bindings/js/JSEventTargetNode.h:31,
from tmp/JSAttr.h:24,
from bindings/js/JSAttrCustom.cpp:30:
dom/Document.h:996: error: `CaseFoldingHash' was not declared in this
scope
dom/Document.h:996: error: template argument 3 is invalid
dom/Document.h:996: error: ISO C++ forbids declaration of
`m_elementsByAccessKey' with no type
make[1]: *** [tmp/JSAttrCustom.o] Error 1
make[1]: Leaving directory `/home/thebox/Programming/neuros-osd/my-
apps/raven/browser/src/webkit/WebCore'
make: *** [sub-WebCore-make_default-ordered] Error 2
I've looked at the source, and am really stuck as to why the compiler
is complaining. (Especially as my previous webkit work never had this
problem). Have you any ideas?
Question 2: What is in your browser/generate directory?
> Instructions to try it : (copy/paste of alpha release).
https://svn.neurostechnology.com/hackers/raven/browser/bin/Instructio...
> or alternatively you can copy all the files ofhttps://
svn.neurostechnology.com/hackers/raven/browser/bin/at the
> _root_ of a USB key then type this command in telnet (after plugging
> it in your OSD and reboot it):
>
> cd /media/USB/ ; chmod u+x quickndirty_install.sh && ./
> quickndirty_install.sh
>
> Here is how you can use the remote control:
https://svn.neurostechnology.com/hackers/raven/browser/bin/remote_con...
>
> The most useful key is Channel -, it will allow you to cycle through
> Web page elements, press that key if you have any trouble with
> browsing as it will reset
> focus state of the browser.
>
> Stability test: A big website with a lot of pictures:
http://arnaud.fr.nf/neuros/screenshots/stabilitytest.jpg(very very