[Buildroot] uClibc's index function

Bernhard Fischer rep.dot.nop at gmail.com
Mon Jun 18 08:53:43 UTC 2007


On Mon, Jun 18, 2007 at 09:45:08AM +0200, Konstantin Kletschke wrote:
>Hi Folks!
>
>I used buildroot to create a arm-linux toolchain with softfloat
>succesfully for about half a year now, the uClibc was a 20070206
>snapshot. Now I am trying to release a version for our customers based
>on 0.9.29 and this toolchain refuses to compile stuff calling an index
>function, which worked flawlessly before:
>
>For example:
>
>prog/dump/i2cbusses.ro: In function `print_i2c_busses':
>i2cbusses.c:(.text+0x354): undefined reference to `index'
>collect2: ld returned 1 exit status
>
>Is the call (and including string.h) deprecated and needs rewrite of
>code (I will communicate this to customers then), or  is the error
>before the screen here?
>
>I inspected the headerfiles of the toolchain in the inlcude directory
>but I found no differences concerning the index function...

See the help-text of UCLIBC_SUSV3_LEGACY

You should not use these anymore but use their modern, current
counterparts.



More information about the buildroot mailing list