[webkit-dev] cross compiling Webkit

Mark Rowe mrowe at apple.com
Wed Aug 6 22:47:21 PDT 2008


On 2008-08-06, at 22:41, nishit sharma wrote:

> I am cross compiling the WebKit browser for MIPS. But i am facing  
> some issues during last stage. It gives me error like
>
> ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-AllInOneFile.o) 
> (.text+0xb88): In function `KJS::isStrWhiteSpace(unsigned short)':
> : undefined reference to `u_charType_3_8'
> ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-AllInOneFile.o) 
> (.text+0x348c): In function `KJS::JSValue::toUInt32SlowCase(double,  
> bool&)':
> : undefined reference to `trunc'
> ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-AllInOneFile.o) 
> (.text+0x3794): In function `KJS::JSValue::toInt32SlowCase(double,  
> bool&)':
> : undefined reference to `trunc'
> ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-AllInOneFile.o) 
> (.text+0x39c8): In function `KJS::JSValue::toIntegerPreserveNaN 
> (KJS::ExecState*) const':
> : undefined reference to `trunc'
> ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-AllInOneFile.o) 
> (.text+0x3b24): In function `KJS::JSValue::toInteger 
> (KJS::ExecState*) const':
> : undefined reference to `trunc'
>  and many more.
>
> Can anybody can tell what i am doing wrong.

It looks like you're not linking against libraries that define the  
symbols that JavaScriptCore uses.  u_charType_3_8 should come from ICU  
3.8.  trunc comes from the system math library, often known as libm,  
etc.  If you have the linker pull in these libraries then you should  
make more progress.

- Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2413 bytes
Desc: not available
Url : http://lists.webkit.org/pipermail/webkit-dev/attachments/20080806/56c435a2/attachment.bin 


More information about the webkit-dev mailing list