[Speex-dev] build speex-1.0.5 problem (undefined reference to `__strtol_internal')

Benjamin benjamin at familieglass.de
Sun Jul 23 01:34:34 PDT 2006


Jessy.Wen at QMITW.COM wrote:
>
> Dear:
>
> I use uclibc to do arm linux cross compiler then build speex-1.0.5
>
I'm using uClibc as well for cross-compiling and development, that 
shouldn't be the problem.
Can you post what you did before, e.g. how did you run the ./configure 
script?
>
> .
>
> In build encounter problem:
>
> speexenc.o(.text+0x15b4): In function `main':
>
> speexenc.c: undefined reference to `__strtol_internal'
>
> speexenc.o(.text+0x1ac0):speexenc.c: undefined reference to 
> `__strtol_internal'
>
> speexenc.o(.text+0x1ad8):speexenc.c: undefined reference to 
> `__strtod_internal'
>
> speexenc.o(.text+0x1afc):speexenc.c: undefined reference to 
> `__strtol_internal'
>
> speexenc.o(.text+0x1b20):speexenc.c: undefined reference to 
> `__strtol_internal'
>
> speexenc.o(.text+0x1b44):speexenc.c: undefined reference to 
> `__strtol_internal'
>
> speexenc.o(.text+0x1bf4):speexenc.c: undefined reference to 
> `__strtol_internal'
>
> collect2: ld returned 1 exit status
>
> make[3]: *** [speexenc] Error 1
>
> make[3]: Leaving directory 
> `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/src'
>
> Do I lost what steps ? Please,give me suggestion to slove the problem.
>
> Thanks
>
That looks like your linker didn't find the standard C-libraries.

Benjamin
>
> System Engneering/R&D (Hsin Chu)
> Quanta Microsystems, Inc.
> Tel: +886-3-5715996 Ext: 5212
> E-Mail: jessy.wen at qmitw.com <mailto:jessy.wen at qmitw.com>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>   



More information about the Speex-dev mailing list