error about build toolchain with crosstool-ng-1.8.0

loody miloody@gmail.com
Thu Sep 2 16:13:00 GMT 2010


hi yann:

2010/9/1 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> Loody, All,
>
> On Thursday 26 August 2010 17:33:32 loody wrote:
>> i know what you mean targets directory, the place that crosstool-ng to
>> put objs and src tarballs.
>
> Yes.
>
>> But, would you please tell me how to "remove that patch"?
>
> The patch is in patches/binutils/2.20/210-generate-gnu-hash.patch, in
> the source of crosstool-NG, and will be installed in:
> ${prefix}/lib/ct-ng-1.8.0/patches/[...]
>
>> if I have already remove all the tarballs, targets/tarballs, it
>> doesn't mean I remove the patch also?
>
> Nope, because the next time crosstool-NG re-extracts the tarballs, it will
> again apply the patch.
>
> The patch has now been removed from the repos.
The error still happened.
BTW, I try to change another combination and it is still fail.
The error shows as below:

[INFO ]  Installing C library headers
[ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR]    make[1]: *** [extra/scripts/unifdef] Error 1
[ERROR]    Build failed in step 'Installing C library headers'
[ERROR]    Error happened in
'/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/functions'
in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/build/libc/uClibc.sh'
at line # 127 in function 'do_libc_headers'
[ERROR]          called from
'/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/crosstool-NG.sh'
at line # 586 in function 'main'
[ERROR]    Look at
'/media/sdb1/toolchain/x-tools/i386-unknown-linux-uclibc/build.log'
for more info on this error.
[ERROR]  (elapsed: 7:39.41)
[07:40] / make: *** [build] Error 2

BTW, is there any cmd that can compile from the last time fail point
instead run the whole process again?
appreciate your help,
miloody
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.x86.uclibc
Type: application/octet-stream
Size: 10364 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100902/47608972/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.x86.uclibc.tar.bz
Type: application/x-bzip
Size: 93277 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100902/47608972/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list