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: error during installation gcc-3.4.6


esmaeil mirzaee <esmaeil.debian@gmail.com> writes:

> but I've got another error
> /home/esmaeil/Documents/software/gcc-3.4.6/gcc/xgcc
> -B/home/esmaeil/Documents/software/gcc-3.4.6/gcc/
> -B/usr/local/i686-pc-linux-gnu/bin/
> -B/usr/local/i686-pc-linux-gnu/lib/ -isystem
> /usr/local/i686-pc-linux-gnu/include -isystem
> /usr/local/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition  -isystem ./include  -I. -I. -I. -I./.
> -I./../include   -g0 -finhibit-size-directive -fno-inline-functions
> -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time
> -fno-omit-frame-pointer \
>            -c ./crtstuff.c -DCRT_BEGIN \
>           -o crtbegin.o
> In file included from /usr/include/bits/errno.h:25,
>                  from /usr/include/errno.h:36,
>                  from ./tsystem.h:85,
>                  from ./crtstuff.c:62:
> /usr/include/linux/errno.h:4:23: asm/errno.h: No such file or directory
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/home/esmaeil/Documents/software/gcc-3.4.6/gcc'
> make: *** [all-gcc] Error 2

This is a problem with your header files, not with gcc.  You should have
a file /usr/include/asm/errno.h.  On my Ubuntu Lucid system it is in the
linux-libc-dev package.

Ian


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