uClibc's index function
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...
Kind regards, Konstantin Kletschke
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 14 lines · Konstantin Kletschke
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
Quoted 6 lines
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.
Am 2007-06-18 10:53 +0200 schrieb Bernhard Fischer:
Quoted 1 line
See the help-text of
UCLIBC_SUSV3_LEGACY
Aaahh! Thanks for the Hint me stupid did not find it...
Quoted 2 lines
You should not use these anymore but use their modern, current counterparts.
What are these modern counterparts then (again I have no luck with google & Co today).
Konsti
Signature · 13 lines
synertronixx GmbH Dipl.-Ing. (FH) Konstantin Kletschke Vahrenwalder Str. 7 30165 Hannover Tel. : 0511 / 3574 - 661 Fax : 0511 / 93 57 - 679 E-mail : kletschke at synertronixx.de Internet: http://www.synertronixx.de Vertretungsberechtigte Gesch?ftsf?hrer: Marc-Oliver Borck, Dr. Matthias Blaschke Registergericht: Amtsgericht Hannover Registernummer: HRB 59670 USt-ID: DE 216 559 901
Quoted 11 lines · Konstantin Kletschke
Am 2007-06-18 10:53 +0200 schrieb Bernhard Fischer:
Quoted 1 line
See the help-text of
UCLIBC_SUSV3_LEGACYAaahh! Thanks for the Hint me stupid did not find it...
Quoted 2 lines
You should not use these anymore but use their modern, current counterparts.
What are these modern counterparts then (again I have no luck with google & Co today).
man bzero
see e.g.:buildroot/toolchain/gcc/4.2.0/305-libmudflap-susv3-legacy.patch
Am 2007-06-18 17:13 +0200 schrieb Bernhard Fischer:
Quoted 1 line
buildroot/toolchain/gcc/4.2.0/305-libmudflap-susv3-legacy.patch
Thanks for the hint :-)
That helped me fiddling that out.
Kind Regards, Konsti
Signature · 13 lines
synertronixx GmbH Dipl.-Ing. (FH) Konstantin Kletschke Vahrenwalder Str. 7 30165 Hannover Tel. : 0511 / 3574 - 661 Fax : 0511 / 93 57 - 679 E-mail : kletschke at synertronixx.de Internet: http://www.synertronixx.de Vertretungsberechtigte Gesch?ftsf?hrer: Marc-Oliver Borck, Dr. Matthias Blaschke Registergericht: Amtsgericht Hannover Registernummer: HRB 59670 USt-ID: DE 216 559 901