../../gcc-4.7.1/libiberty/fibheap.c:220:30: error: 'LONG_MIN' undeclared (first use i
Hi,
When I tried to compile gcc4.7.1 at pass 2, everything was fine, but I got struck up with this error...
lfs@boss:/media/LFS/sources/gcc-build$ make
.
.
.
.
make[2]: Entering directory `/media/LFS/sources/gcc-build/libiberty'
if [ x"-fpic" != x ]; then \
i686-lfs-linux-gnu-gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-4.7.1/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../gcc-4.7.1/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
../../gcc-4.7.1/libiberty/fibheap.c: In function 'fibheap_replace_key_data':
../../gcc-4.7.1/libiberty/fibheap.c:220:30: error: 'LONG_MIN' undeclared (first use in this function)
../../gcc-4.7.1/libiberty/fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in
../../gcc-4.7.1/libiberty/fibheap.c: In function 'fibheap_delete_node':
../../gcc-4.7.1/libiberty/fibheap.c:261:36: error: 'LONG_MIN' undeclared (first use in this function)
make[2]: *** [fibheap.o] Error 1
make[2]: Leaving directory `/media/LFS/sources/gcc-build/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/media/LFS/sources/gcc-build'
make: *** [all] Error 2
kindly help me out of this....
Audhil
|