missing files, gcc-3.0.3

Rupert Wood me@rupey.net
Wed Jan 30 00:07:00 GMT 2002


Michael Shiloh wrote:

> i've downloaded the latest core and g++ files:
:
> but when i compile i get:
>
>  In file included from tm.h:7,
>                   from
>  /src/gcc/gcc-3.0.3/gcc/config/i386/xm-i386.h:39,
>                   from tconfig.h:3,
>                   from /src/gcc/gcc-3.0.3/gcc/libgcc2.c:36:
>  /src/gcc/gcc-3.0.3/gcc/config/i386/linux.h:236:20: signal.h:
>  No such file or directory
>  /src/gcc/gcc-3.0.3/gcc/config/i386/linux.h:237:26:
>  sys/ucontext.h: No such file or directory
>
> is this file missing from the tar, or am i doing something
> wrong?

No, it's not GCC's fault - they should be part of your system
distribution.

Few ideas:

1, you haven't properly installed - or you've lost some of - your system
headers (/usr/include).

2, you're specifying the wrong host to build, e.g. you're trying to make
a cross-to-linux compiler from a non-linux system without correctly
configuring the cross-compile.

3, the linux configuration might assume glibc 2.x whereas your system
has an older version (or another C library) which doesn't include  those
header files.

Good luck,
Rup.



More information about the Gcc-help mailing list