6

gcc problem (chapter 6.4.1 of the Pure64 CLFS book)

view full story
linux-howto

http://www.linuxquestions.org – 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 (HowTos)