cURL / Mailing Lists / curl-library / Single Mail

curl-library

Error building cURL with Android standalone toolchain

From: Anders Feder <anders_at_feder.dk>
Date: Wed, 25 Jan 2012 21:06:52 +0100

Hello,

I'm trying to build cURL using the Android NDK standalone toolchain, but
I get this error:

    tool_cb_hdr.o: In function `tool_header_cb':
    tool_cb_hdr.c:(.text+0x1cc): undefined reference to `__mb_sb_limit'
    tool_cb_hdr.c:(.text+0x1d0): undefined reference to `_CurrentRuneLocale'
    tool_formparse.o: In function `formparse':
    tool_formparse.c:(.text+0x3ec): undefined reference to `__mb_sb_limit'
    tool_formparse.c:(.text+0x3f0): undefined reference to
    `_CurrentRuneLocale'
    tool_getparam.o: In function `getparameter':
    tool_getparam.c:(.text+0x171c): undefined reference to
    `_DefaultRuneLocale'
    tool_msgs.o: In function `warnf':
    tool_msgs.c:(.text+0x110): undefined reference to `_CurrentRuneLocale'
    tool_msgs.c:(.text+0x118): undefined reference to `__mb_sb_limit'
    tool_paramhlp.o: In function `proto2num':
    tool_paramhlp.c:(.text+0x320): undefined reference to `__mb_sb_limit'
    tool_paramhlp.c:(.text+0x324): undefined reference to
    `_CurrentRuneLocale'
    tool_paramhlp.o: In function `str2num':
    tool_paramhlp.c:(.text+0x388): undefined reference to
    `_DefaultRuneLocale'
    tool_parsecfg.o: In function `parseconfig':
    tool_parsecfg.c:(.text+0x3b4): undefined reference to `__mb_sb_limit'
    tool_parsecfg.c:(.text+0x3b8): undefined reference to
    `_CurrentRuneLocale'
    tool_urlglob.o: In function `glob_match_url':
    tool_urlglob.c:(.text+0x23c): undefined reference to
    `_DefaultRuneLocale'
    t ool_urlglob.o: In function `glob_word':
    tool_urlglob.c:(.text+0xb30): undefined reference to `__mb_sb_limit'
    tool_urlglob.c:(.text+0xb34): undefined reference to
    `_CurrentRuneLocale'
    tool_urlglob.c:(.text+0xb40): undefined reference to
    `_DefaultRuneLocale'
    collect2: ld returned 1 exit status

Can someone please what this might mean?

Thank you.

Anders Feder

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-25