* problem building cross compiler gcc-3.4.4
@ 2006-05-15 6:52 Shyamal Sadanshio
2006-05-15 11:35 ` Kai Ruottu
0 siblings, 1 reply; 3+ messages in thread
From: Shyamal Sadanshio @ 2006-05-15 6:52 UTC (permalink / raw)
To: gcc-help
Hi,
I am facing problem while building cross compiler gcc-3.4.4 for MIPSEL
with --enable-thread option.
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
make[1]: *** [crtbegin.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/tmp/mipsel-unknown-linux-gnu-toolchain/build-gcc-bootstrap/gcc'
make: *** [all-gcc] Error 2
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
Can anyone please help me point out the problem cause?
Thanks and Regards,
Shyamal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem building cross compiler gcc-3.4.4
2006-05-15 6:52 problem building cross compiler gcc-3.4.4 Shyamal Sadanshio
@ 2006-05-15 11:35 ` Kai Ruottu
2006-05-15 13:58 ` Shyamal Sadanshio
0 siblings, 1 reply; 3+ messages in thread
From: Kai Ruottu @ 2006-05-15 11:35 UTC (permalink / raw)
To: Shyamal Sadanshio; +Cc: gcc-help
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...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem building cross compiler gcc-3.4.4
2006-05-15 11:35 ` Kai Ruottu
@ 2006-05-15 13:58 ` Shyamal Sadanshio
0 siblings, 0 replies; 3+ messages in thread
From: Shyamal Sadanshio @ 2006-05-15 13:58 UTC (permalink / raw)
To: Kai Ruottu; +Cc: gcc-help
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...
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-15 13:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-15 6:52 problem building cross compiler gcc-3.4.4 Shyamal Sadanshio
2006-05-15 11:35 ` Kai Ruottu
2006-05-15 13:58 ` Shyamal Sadanshio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).