--- In "Dunge2" <> wrote:
>
> Nevermind. This happens because I used mawk instead of gawk as the default
> awk parser. A "quick apt-get install gawk" fix this....... or yet another
> patch:
> http://sourceware.org/ml/crossgcc/2007-07/msg00029.html
>
> --- In "Dunge2" <dunge2@> wrote:
> >
> > I tried on two different computer, one on Debian, the other on Ubuntu.
> > After about 1h after I call ./ct-ng build, I get the same error:
> >
> > [INFO ] Installing C library headers
> > [ERROR] make[2]: ***
> > [/root/x-tools/arm-ep9312-linux-gnueabi/arm-ep9312-linux-gnueabi//sys-root/usr/include/gnu/lib-names.h]
> > Error 1
> > [ERROR] make[1]: *** [install-headers] Error 2
> > [ERROR] Build failed in step 'Installing C library headers'
> > [ERROR] Error happened in
> > '/home/nib/myCross/crosstool-ng-1.4.2/scripts/functions' in function
> > 'CT_DoExecLog' (line unknown, sorry)
> > [ERROR] called from
> > '/home/nib/myCross/crosstool-ng-1.4.2/scripts/build/libc/glibc.sh' at line
> > # 185 in function 'do_libc_headers'
> > [ERROR] called from
> > '/home/nib/myCross/crosstool-ng-1.4.2/scripts/crosstool-NG.sh' at line #
> > 497 in function 'main'
> > [ERROR] Look at '/root/x-tools/arm-ep9312-linux-gnueabi/build.log' for
> > more info on this error.
> > [ERROR] (elapsed: 107:56.23)
> > [107:57] / make: *** [build] Error 2
> >
> > build.log complain about lib-names.h "no such file"
> >
>
Sorry I missed that, you might also want to change /bin/sh to point to
/bin/bash instead of dash.
This really caught my attention:
> > I tried on two different computer, one on Debian, the other on Ubuntu.
> > After about 1h after I call ./ct-ng build, I get the same error:
After an hour? Make sure that you set the flags properly for multiple process
building. On my Quad Core, i set it to 8, and my total compile time is about
15 minutes. On my dual core laptop, I set it to 4, and it takes around 40
minutes or so.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|