compile error binutils-2.14 pass 1 (chapter 5, lfs-5.0)

hyroglyphix mitu at
Wed Nov 12 08:55:15 PST 2003

Hello Folks,

please help me out. I'm using lfs-4.01 with gcc-3.2.1 and gcc-2.95.3
and wanted to update to lfs-5.0
But I got the following error right with the first package to
comile!!! I tried both releases of gcc (above mentioned).
I always get this error:
[1] lfs:/mnt/lfs/sources/binutils-build
$ make LDFLAGS="-all-static"
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/intl'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14/libiberty/fibheap.c -o fibheap.o
../../binutils-2.14/libiberty/fibheap.c: In function `fibheap_delete_node':
../../binutils-2.14/libiberty/fibheap.c:285: `LONG_MIN' undeclared (first use in this function)
../../binutils-2.14/libiberty/fibheap.c:285: (Each undeclared identifier is reported only once
../../binutils-2.14/libiberty/fibheap.c:285: for each function it appears in.)
make[1]: *** [fibheap.o] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
make: *** [all-libiberty] Error 2
[1] lfs:/mnt/lfs/sources/binutils-build



More information about the lfs-support mailing list