[ELDK] Problems in compiling BusyBox 1.13.4

Diptopal Basu diptopal.basu at gmail.com
Wed May 27 07:55:02 CEST 2009


Facing problems when compiling Busybox (1.13.4) as
a static binary with ELDK 4.2, . Works fine with ELDK 4.1.

Please comment .

Regards
Diptopal

On Sun, May 24, 2009 at 5:10 PM, Diptopal Basu <diptopal.basu at gmail.com>wrote:

> Hi Wolfgang ,
>
> Thank you very much .
>
> Regards
> Diptopal
>
> On Sun, May 24, 2009 at 4:57 PM, Wolfgang Denk <wd at denx.de> wrote:
>
>> Dear Diptopal Basu,
>>
>> In message <bd97640b0905240314qafc9086me7a772e5ec9aa595 at mail.gmail.com>
>> you wrote:
>> >
>> > I tried comliling the attached program with option : arm-linux-gcc -o
>> > rt_square rt_square.c -lrt
>>
>> Try adding "-Wall -pedantic", and then fix the warnings, especially
>> the type warnings - tv_nsec is a "long", not a "long long"; tv_sec is
>> a "time_t", which is also only 32 bits and as such not a "long long".
>>
>> > it gives the right output for ELDK 4.1 when I run them on the ARM target
>> ,
>> > but gives a seg fault for 4.2 .
>>
>> I strongly recommend to turn on warnings when compiling code, and
>> *fix* those warnings.
>>
>>
>> Best regards,
>>
>> Wolfgang Denk
>>
>> --
>> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
>> Gods don't like people not doing much work. People  who  aren't  busy
>> all the time might start to _think_.  - Terry Pratchett, _Small Gods_
>>
>
>


More information about the eldk mailing list