LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gcc problem (chapter 6.4.1 of the Pure64 CLFS book) (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-problem-chapter-6-4-1-of-the-pure64-clfs-book-795319/)

charlie_lab 03-14-2010 08:51 AM

gcc problem (chapter 6.4.1 of the Pure64 CLFS book)
 
Hello,

I try to build gcc on chapter 6.4.1

When I do this :

make AS_FOR_TARGET="${AS}" \
LD_FOR_TARGET="${LD}"

I get this message :

../../gcc-4.2.4/gcc/config/i386/i386.c -o i386.o
x86_64-unknown-linux-gnu-gcc -m64 -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber \
../../gcc-4.2.4/gcc/config/host-linux.c
../../gcc-4.2.4/gcc/config/host-linux.c: In function 'linux_gt_pch_use_address':
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: 'SSIZE_MAX' undeclared (first use in this function)
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: (Each undeclared identifier is reported only once
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: for each function it appears in.)
make[2]: *** [host-linux.o] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'

How to solve this one ?

Roelof


All times are GMT -5. The time now is 12:58 AM.