This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"Arno Schuring" <aelschuring@hotmail.com> wrote on 05/20/2005 05:48:16 PM: > > > Arno Schuring wrote: > >> > >>> In file included from ./include/java-signal.h:17, > >>> from /home/tbhayman/xtool/crosstool-0.34 > >>> /build/powerpc-860-linux-gnu/gcc-4.0.0-glibc-2.3.5/gcc-4.0.0 > >>> /libjava/prims.cc:26: > >>> /home/tbhayman/xtool/opt/crosstool/gcc-4.0.0-glibc-2.3.5 > >>> /powerpc-860-linux-gnu/powerpc-860-linux-gnu/include/sys/syscall.h:32:27: > >>> error: bits/syscall.h: No such file or directory > >> > >> > >> Try the archives. The same error message (for a mips target, I believe) > >> was mentioned on this list a few weeks ago. If I remember correctly, it > >> was about bits/syscall.h needing a different target (install-others > >> instead of install-headers). Not sure though, how it was solved. > > > > Was it this post you're thinking of? > > > > http://sources.redhat.com/ml/crossgcc/2005-05/msg00128.html > > > > Gotta run, or I'd dig more. > > :) next time I'll search myself immediately... > > http://sourceware.org/ml/crossgcc/2005-04/msg00298.html > > and the thread leading up to it. > Ah, the art of googling... I'd googled syscall.h, but that didn't show anything useful. But syscall-list.h immediately showed the above archived message. Sigh. Thanks for the pointer. That message talks about a similar problem but the fix (which is in crosstool 0.34) didn't fix this problem because syscall.h is used to build libjava, which occurs before the crosstool.sh fix is made. I tried the following quick patch to crosstool.sh, and it built successfully: --- crosstool.sh.orig 2005-05-20 17:27:58.000000000 -0400 +++ crosstool.sh 2005-05-20 17:33:55.000000000 -0400 @@ -337,6 +337,7 @@ # having a copy of stdio_lim.h... see # http://sources.redhat.com/ml/libc-alpha/2003-11/msg00045.html cp bits/stdio_lim.h $HEADERDIR/bits/stdio_lim.h + cp misc/syscall-list.h $HEADERDIR/bits/syscall.h cd .. fi Thanks for the help! --tim ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |