[Clfs-support] uClibc compile error

Satish Patel satish at linuxbug.org
Thu Sep 11 12:29:34 PDT 2008


Regards,

Satish Patel


Quoting George Boudreau <georgeb at linuxfromscratch.org>:

> satish patel wrote:
>> I am building kerner for ARM processor by CLFS embeddedd-1.0.0 book I got
>> error when I compile uClibc
>>
>> clfs:/mnt/clfs/sources/uClibc-0.9.29$ make headers
>> gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE  -MM *.c >
>> .depend 2>/dev/null || :
>> make[1]: `conf' is up to date.
>> cc1: error: invalid option `big-endian'
>> cc1: error: invalid option `big-endian'
>>
> This is usually caused by an invalid target in the uClibc .config file.
> Check for TARGET_arm=y in the file. It should have been set by the
> command--
>
> make defconfig ARCH=arm
>
>> So what I do on this point ? I have find on google but didn't get any
>> satisfactory answer..
>>
>> Regards,
>>
>> Satish Patel _______________________________________________
>> Clfs-support mailing list
>> Clfs-support at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


TARGET_arm=y   <---- this option is there in .config

and also i have run this command

make defconfig ARCH=arm

but still error is same i think problem is related to GCC ??




More information about the Clfs-support mailing list