Re: Error in build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Harry,

On Fri, Jun 03, 2011 at 03:16:21PM -0300, Harry Trinta wrote:
> I'm having problems to compile GCC.
> Look the error shown in the terminal:
> 
> / usr / include / linux / errno.h: 4:23: fatal error: asm / errno.h:
> No such file or directory
> Compilation terminated.
> make [3]: ** [_muldi3.o] Error 1
> make [3]: Leaving directory `/ home/harry/gcc/build/i686-pc-linux-gnu/libgcc '
> make [2]: ** [all-stage1-target-libgcc] Error 2
> make [2]: Leaving directory `/ home / harry / gcc / build '
> make [1]: ** [stage1-bubble] Error 2
> make [1]: Leaving directory `/ home / harry / gcc / build '
> make: ** [all] Error 2
> 
> Any suggestion?
> Do you want I copy here any other thing?
The error appears when the file /usr/include/linux/errno.h is read. The
compiler claims, that it is unable to find the file "asm/errno.h" (a
file "errno.h" in a directory "asm"), which is needed by
/usr/include/linux/errno.h.

Now, /usr/include/linux/errno.h is NOT installed by gcc, but by your
distribution / operating system / ...

So what we need to know: Which operating system are you using?

E.g. in Linux, it might be that you have to install some additional
packages -- something like "Linux support headers for userspace
development". On Debian, this package is called linux-libc-dev .

Axel


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux