Bug 77837 - [Gtk] Linking error when trying to cross-compile with icu unicode backend
Summary: [Gtk] Linking error when trying to cross-compile with icu unicode backend
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 11:19 PST by tuxator
Modified: 2012-02-09 02:00 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tuxator 2012-02-05 11:19:13 PST
Trying to cross-compile WebkitGtk for windows with build option

--with-unicode-backend=icu

results  in linking error like one below

CXX    DerivedSources/WebCore/libWebCoreInternals_la-JSInternalSettings.lo
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/libsoup-2.4/libsoup/soup-portability.h:13:0,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/libsoup-2.4/libsoup/soup-address.h:11,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/libsoup-2.4/libsoup/soup.h:13,
                 from ./Source/WebCore/platform/network/soup/ResourceResponse.h:31,
                 from ./Source/WebCore/platform/network/AuthenticationChallengeBase.h:30,
                 from ./Source/WebCore/platform/network/soup/AuthenticationChallenge.h:28,
                 from ./Source/WebCore/platform/network/ResourceHandle.h:29,
                 from ./Source/WebCore/loader/ResourceLoaderOptions.h:34,
                 from ./Source/WebCore/loader/cache/CachedResource.h:30,
                 from ./Source/WebCore/loader/cache/CachedResourceHandle.h:29,
                 from ./Source/WebCore/css/CSSImportRule.h:26,
                 from ./Source/WebCore/bindings/js/JSDOMBinding.h:25,
                 from DerivedSources/WebCore/JSInternalSettings.h:25,
                 from DerivedSources/WebCore/JSInternalSettings.cpp:22:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
  CXXLD  libWebCoreInternals.la
  CXX    Source/JavaScriptCore/Programs_jsc_1-jsc.o
  CXXLD  Programs/jsc-1.exe
/usr/lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/bin/ld: cannot find -licuin
collect2: error: ld returned 1 exit status
make[1]: *** [Programs/jsc-1.exe] Error 1
make[1]: Leaving directory `/home/pawel/src/WebKit'
make: *** [all] Error 2
Comment 1 tuxator 2012-02-09 02:00:32 PST
This issue was resolved with Changeset 107016

http://trac.webkit.org/changeset/107016