jaca wrote:
> I have the following error while compiling gcc final in chapter 5.10:
>
> ../../gcc-4.1.1/gcc/config/sparc/sparc.c -o sparc.o
> sparc64-unknown-linux-gnu-gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
> -Wno-long-long -Wno-variadic-macros -Wold-style-definition
> -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.1/gcc
> -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include
> -I../../gcc-4.1.1/gcc/../libcpp/include -I. -I. -I../../gcc-4.1.1/gcc
> -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include
> -I../../gcc-4.1.1/gcc/../libcpp/include \
> ../../gcc-4.1.1/gcc/config/host-linux.c
> ../../gcc-4.1.1/gcc/config/host-linux.c: In function
> 'linux_gt_pch_use_address':
> ../../gcc-4.1.1/gcc/config/host-linux.c:208: error: 'SSIZE_MAX' undeclared
> (first use in this function)
> ../../gcc-4.1.1/gcc/config/host-linux.c:208: error: (Each undeclared
> identifier is reported only once
> ../../gcc-4.1.1/gcc/config/host-linux.c:208: error: for each function it
> appears in.)
What is the output of this command:
grep SSIZE_MAX /{usr,tools}/include -Hrn | grep define
and this command:
echo 'int main() {}' | gcc -v -Wl,--verbose -x c -
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page