public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Axel Freyn <axel-freyn@gmx.de>
To: gcc-help@gcc.gnu.org
Subject: Re: Error in build
Date: Fri, 03 Jun 2011 18:28:00 -0000	[thread overview]
Message-ID: <20110603182759.GS19127@axel> (raw)
In-Reply-To: <BANLkTimQ5fNkFMmWqSGNJ3-201vC2JQabQ@mail.gmail.com>

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

  reply	other threads:[~2011-06-03 18:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 18:16 Harry Trinta
2011-06-03 18:28 ` Axel Freyn [this message]
2011-06-03 18:42   ` Harry Trinta
2011-06-03 18:51     ` Axel Freyn
2011-06-03 18:57     ` Kai Ruottu
2011-06-03 19:29       ` Kai Ruottu
2011-06-03 21:05         ` Harry Trinta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110603182759.GS19127@axel \
    --to=axel-freyn@gmx.de \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).