Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] uClibc's index function
@ 2007-06-18  7:45 Konstantin Kletschke
  2007-06-18  8:53 ` Bernhard Fischer
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Kletschke @ 2007-06-18  7:45 UTC (permalink / raw)
  To: buildroot

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

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uClibc's index function
  2007-06-18  7:45 [Buildroot] uClibc's index function Konstantin Kletschke
@ 2007-06-18  8:53 ` Bernhard Fischer
  2007-06-18 13:04   ` Konstantin Kletschke
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Fischer @ 2007-06-18  8:53 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uClibc's index function
  2007-06-18  8:53 ` Bernhard Fischer
@ 2007-06-18 13:04   ` Konstantin Kletschke
  2007-06-18 15:13     ` Bernhard Fischer
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Kletschke @ 2007-06-18 13:04 UTC (permalink / raw)
  To: buildroot

Am 2007-06-18 10:53 +0200 schrieb Bernhard Fischer:

> See the help-text of UCLIBC_SUSV3_LEGACY

Aaahh! Thanks for the Hint me stupid did not find it...

> 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


-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uClibc's index function
  2007-06-18 13:04   ` Konstantin Kletschke
@ 2007-06-18 15:13     ` Bernhard Fischer
  2007-06-18 16:30       ` Konstantin Kletschke
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Fischer @ 2007-06-18 15:13 UTC (permalink / raw)
  To: buildroot

On Mon, Jun 18, 2007 at 03:04:52PM +0200, Konstantin Kletschke wrote:
>Am 2007-06-18 10:53 +0200 schrieb Bernhard Fischer:
>
>> See the help-text of UCLIBC_SUSV3_LEGACY
>
>Aaahh! Thanks for the Hint me stupid did not find it...
>
>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uClibc's index function
  2007-06-18 15:13     ` Bernhard Fischer
@ 2007-06-18 16:30       ` Konstantin Kletschke
  0 siblings, 0 replies; 5+ messages in thread
From: Konstantin Kletschke @ 2007-06-18 16:30 UTC (permalink / raw)
  To: buildroot

Am 2007-06-18 17:13 +0200 schrieb Bernhard Fischer:

> buildroot/toolchain/gcc/4.2.0/305-libmudflap-susv3-legacy.patch

Thanks for the hint :-)
That helped me fiddling that out.

Kind Regards, Konsti


-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-18 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-18  7:45 [Buildroot] uClibc's index function Konstantin Kletschke
2007-06-18  8:53 ` Bernhard Fischer
2007-06-18 13:04   ` Konstantin Kletschke
2007-06-18 15:13     ` Bernhard Fischer
2007-06-18 16:30       ` Konstantin Kletschke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox