[webkit-dev] Can any one enlight me on this matter; linking problem?

Mikael Tennhammar Mikael.Tennhammar at teleca.com
Mon Oct 20 05:20:14 PDT 2008


Hi !

 

When building webkit(gtk) on the maemo platform (i.e. in then Scratchbox
ARMEL ) I get the following linking problem:

 

./.libs/libWebCore.a(libWebCore_la-StyleTransformData.o):(.bss._ZZN7WebC
ore11RenderStyle16initialTransformEvE4tops[*WebCore::RenderStyle::initia
lTransform()::ops]+0x0): multiple definition of
`WebCore::RenderStyle::initialTransform()::tops'

./.libs/libWebCore.a(libWebCore_la-CSSStyleSelector.o):(.bss._ZZN7WebCor
e11RenderStyle16initialTransformEvE4tops[WebCore::RenderStyle::initialTr
ansform()::ops]+0x0): first defined here

 

 

When I build on my ubuntu for (gtk) it works fine....

The version is the latest, but I have had the problem at least last week
as well.

Does anyone knows the source of problem or could direct me in some
direction (tool chain versions?)

 

 

A Detailed printout of the problem:

-----------------------------------------

creating libWebCore.la

(cd .libs && rm -f libWebCore.la && ln -s ../libWebCore.la
libWebCore.la)

/bin/sh ./libtool --tag=CXX --mode=link g++     -o libwebkit-1.0.la
-rpath /usr/local/lib  -version-info 1:0:0
Wl,--version-script,/home/miws/WebKit/symbols.filter
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ContextMenuClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-DragClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-EditorClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-FrameLoaderClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-InspectorClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-PasteboardHelperGtk.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitnetworkrequest.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitprivate.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitversion.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebbackforwardlist.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebframe.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebhistoryitem.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebsettings.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebview.lo
DerivedSources/libwebkit_1_0_la-webkitenumtypes.lo
DerivedSources/libwebkit_1_0_la-webkitmarshal.lo libWebCore.la 

g++ -shared -nostdlib
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-li
nux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/lib/crti.o
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-li
nux-gnueabi/3.4.4/crtbeginS.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-ChromeClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-ContextMenuClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-DragClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-EditorClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-FrameLoaderClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-InspectorClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-PasteboardHelperGtk.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitnetworkrequest.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitprivate.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitversion.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebbackforwardlist.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebframe.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebhistoryitem.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebsettings.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebview.o
DerivedSources/.libs/libwebkit_1_0_la-webkitenumtypes.o
DerivedSources/.libs/libwebkit_1_0_la-webkitmarshal.o
-Wl,--whole-archive ./.libs/libWebCore.a -Wl,--no-whole-archive
-L/usr/lib /usr/lib/libgthread-2.0.so -lgtk-x11-2.0 -lgdk-x11-2.0
/usr/lib/libatk-1.0.so -lrt -lgdk_pixbuf-2.0 -lpangocairo-1.0
-lpango-1.0 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libglib-2.0.so -lXt -lX11 -lSM -lICE /usr/lib/libcurl.so -lssl
-lcrypto -lcairo -lfontconfig -lfreetype -licui18n -licuuc -licudata
/usr/lib/libsqlite3.so -ldl /usr/lib/libxslt.so -lz -lxml2
/usr/lib/libjpeg.so -lpthread
-L/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-
linux-gnueabi/3.4.4
-L/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc
-L/usr/lib/gcc/arm-none-linux-gnueabi/3.4.4
-L/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-
linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/lib -lstdc++ -lm
-lc -lgcc_s
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-li
nux-gnueabi/3.4.4/crtendS.o
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-li
nux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/lib/crtn.o
-Wl,-soname -Wl,libwebkit-1.0.so.1 -o .libs/libwebkit-1.0.so.1.0.0

./.libs/libWebCore.a(libWebCore_la-StyleTransformData.o):(.bss._ZZN7WebC
ore11RenderStyle16initialTransformEvE4tops[*WebCore::RenderStyle::initia
lTransform()::tops]+0x0): multiple definition of
`WebCore::RenderStyle::initialTransform()::tops'

./.libs/libWebCore.a(libWebCore_la-CSSStyleSelector.o):(.bss._ZZN7WebCor
e11RenderStyle16initialTransformEvE4tops[WebCore::RenderStyle::initialTr
ansform()::tops]+0x0): first defined here

collect2: ld returned 1 exit status

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081020/4360d2ac/attachment.html 


More information about the webkit-dev mailing list