This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem building cross compiler gcc-3.4.4


Hi Kai,

Thanks for pointing out that silly issue.
I now provided the path to
--with-headers=--with-headers=/opt/crosstool/mipsel-unknown-linux-gnu/sys-include/
and overcome those errors.
However, I am now facing a new set of error messages as below:

In file included from ./tm.h:13,
                from ../../gcc-3.4.4/gcc/libgcc2.c:43:
../../gcc-3.4.4/gcc/config/mips/linux.h:198: error: parse error before "stack_t"
../../gcc-3.4.4/gcc/config/mips/linux.h:198: warning: no semicolon at end of str
uct or union
../../gcc-3.4.4/gcc/config/mips/linux.h:201: error: parse error before '}' token
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: type defaults to `int' in
declaration of `_sig_ucontext_t'
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: data definition has no typ
e or storage class
In file included from ./tm.h:13,
                from ../../gcc-3.4.4/gcc/libgcc2.c:43:
../../gcc-3.4.4/gcc/config/mips/linux.h:198: error: parse error before "stack_t"
../../gcc-3.4.4/gcc/config/mips/linux.h:198: warning: no semicolon at end of str
uct or union
../../gcc-3.4.4/gcc/config/mips/linux.h:201: error: parse error before '}' token
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: type defaults to `int' in
declaration of `_sig_ucontext_t'
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: data definition has no typ
e or storage class
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libgcc/./_negdi2.o] Error 1
make[2]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/build-gcc-bo
otstrap/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/build-gcc-bo
otstrap/gcc'
make: *** [all-gcc] Error 2

I am looking into error messages but not getting enough clue to resolve them.

Thanks and Regards,
Shyamal


On 5/15/06, Kai Ruottu <karuottu@mbnet.fi> wrote:
Shyamal Sadanshio kirjoitti:
> I get following error message:
>
> In file included from ../../gcc-3.4.4/gcc/crtstuff.c:62:
> ../../gcc-3.4.4/gcc/tsystem.h:79:19: stdio.h: No such file or directory
> ../../gcc-3.4.4/gcc/tsystem.h:82:23: sys/types.h: No such file or
> directory
> ../../gcc-3.4.4/gcc/tsystem.h:85:19: errno.h: No such file or directory
> ../../gcc-3.4.4/gcc/tsystem.h:92:20: string.h: No such file or directory
> ../../gcc-3.4.4/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
> ../../gcc-3.4.4/gcc/tsystem.h:94:20: unistd.h: No such file or directory
> ../../gcc-3.4.4/gcc/tsystem.h:100:18: time.h: No such file or directory
>
> My config options is as below:
> ../gcc-3.4.4/configure --target=$TARGET --prefix=$PREFIX
> --enable-language=c --with-headers=/home/hda7/linux-malta/include
> --with-gnu-ld --with-gnu-as --disable-shared --enable-threads
 Were the target headers where you told them being
(/home/hda7/linux-malta/include)
when starting the build ?  What doesn't exist, cannot be found...




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]