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:41:55PM -0300, Harry Trinta wrote:
> 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
according to google that's probably a bug in Ubuntu ...
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/778047

you could try installing the package gcc-multilib as probposed on that
page (However, I have no Ubuntu, so I don't know whether that will work
or not...)


Axel
> 
> 2011/6/3 Axel Freyn <axel-freyn@xxxxxx>:
> > 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