This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug in ./configure in binutils 2.10.0.18
- To: Stefan Pettersson <stefan at kanard dot se>
- Subject: Re: Bug in ./configure in binutils 2.10.0.18
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 12 Aug 2000 16:37:57 -0700
- Cc: binutils at sourceware dot cygnus dot com, gcc at gcc dot gnu dot org
- References: <XFMail.000812234340.stefan@kanard.se>
On Sat, Aug 12, 2000 at 11:43:40PM +0200, Stefan Pettersson wrote:
> I have a i386 system with both libc5.4.33 and libc2.1.3.
> I use libc5 as the default when compiling.
> gcc is 2.95.2.
>
> ./configure
> Configuring for a i686-pc-linux host.
> Created "Makefile" in /usr/src/binutils-2.10.0.18 using "mt-frag"
> Cannot find the GNU C library minor version number.
>
> I have traced it down to config.if makes a test which fails:
> gcc if9679.c -o if9679
> if9679.c: In function `main':
> if9679.c:6: `__GLIBC_MINOR__' undeclared (first use in this function)
> if9679.c:6: (Each undeclared identifier is reported only once
> if9679.c:6: for each function it appears in.)
>
> Why don't I have any `__GLIBC_MINOR__'?
>
> If I force "libc_interface=-libc5-" ./configure works.
> Is that safe to do?
>
That is a bug in config.sub (config.guess?). Could someone please
fix that damn bug?
Thanks.
H.J.
> --------------
>
> Then:
> $make
> make[1]: Entering directory `/usr/src/binutils-2.10.0.18/libiberty'
> if [ x"" != x ] && [ ! -d pic ]; then \
> mkdir pic; \
> else true; fi
> touch stamp-picdir
> cd . && autoheader
> /bin/sh: autoheader: command not found
> make[1]: *** [cstamp-h.in] Error 127
> make[1]: Leaving directory `/usr/src/binutils-2.10.0.18/libiberty'
> make: *** [all-libiberty] Error 2
> $locate autoheader
> -none-
>
> Why is autoheader needed, it isn't needed when I compile any other program.
>
>
> Best regards,
> Stefan Pettersson
>