From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23569 invoked by alias); 3 Jun 2011 18:42:30 -0000 Received: (qmail 23561 invoked by uid 22791); 3 Jun 2011 18:42:30 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-vx0-f175.google.com (HELO mail-vx0-f175.google.com) (209.85.220.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Jun 2011 18:42:16 +0000 Received: by vxd7 with SMTP id 7so1836642vxd.20 for ; Fri, 03 Jun 2011 11:42:15 -0700 (PDT) Received: by 10.220.164.15 with SMTP id c15mr795384vcy.226.1307126535090; Fri, 03 Jun 2011 11:42:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.200.200 with HTTP; Fri, 3 Jun 2011 11:41:55 -0700 (PDT) In-Reply-To: <20110603182759.GS19127@axel> References: <20110603182759.GS19127@axel> From: Harry Trinta Date: Fri, 03 Jun 2011 18:42:00 -0000 Message-ID: Subject: Re: Error in build To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00073.txt.bz2 I am using Ubuntu 11.. I tried install linux-libc-dev.. look: / home / harry / gcc / build # apt-get install linux-libc-dev Reading package lists ... Ready Building dependency tree Reading state information ... Ready linux-libc-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded. I already have it installed Harry 2011/6/3 Axel Freyn : > 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 >