Re: installtion gcc-3.4.6 ./gcov-io.c:94

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

 



On Fri, Jul 29, 2011 at 2:55 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> esmaeil mirzaee <esmaeil.debian@xxxxxxxxx> writes:
>
>> I try to install gcc-3.4.6 in my ubuntu 11.04 after I prompt make I've
>> got below error:
>> In file included from ./libgcov.c:86:
>> ./gcov-io.c: In function `__gcov_open':
>> ./gcov-io.c:94: error: `EINTR' undeclared (first use in this function)
>> ./gcov-io.c:94: error: (Each undeclared identifier is reported only once
>> ./gcov-io.c:94: error: for each function it appears in.)
>> make[2]: *** [libgcc/./_gcov.o] Error 1
>> make[2]: Leaving directory `/home/esmaeil/Documents/software/gcc-3.4.6/gcc'
>> make[1]: *** [libgcc.a] Error 2
>> make[1]: Leaving directory `/home/esmaeil/Documents/software/gcc-3.4.6/gcc'
>> make: *** [all-gcc] Error 2
>
> I don't see how that could happen.  EINTR is only referenced if
> GCOV_LOCKED is defined, and if GCOV_LOCKED is defined libgcov.c does a
> #include <errno.h>.
>
> My only guess would be that there is some other header file problem on
> your system, and that somehow doing a #include <errno.h> does not define
> EINTR.  You should verify that <errno.h> was included, and see whether
> it defines EINTR.
>
> Why are you trying to build such an old version of gcc, anyhow?
I try to use simplescalar "simulation for computer architecture" and
second reason is work in Linux kernel.
> Ian
>



[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