gcc - cross compiler final 5.10 SSIZE_MAX

jaca jherold at interia.pl
Tue Jul 11 05:47:25 PDT 2006


Hello Joe,

Monday, July 10, 2006, 6:17:54 PM, you wrote:

JC> 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.)
JC> What is the output of this command:
JC> grep SSIZE_MAX /{usr,tools}/include -Hrn | grep define

JC> and this command:
JC> echo 'int main() {}' | gcc -v -Wl,--verbose -x c -

Thank You I've already found the problem - there was missing include
in host-linux.c.

-- 
Pozdrawiam,
 jaca                            mailto:jherold at interia.pl


------------------------------------------------------------------
12 000 sekund gratis! Promocja na http://link.interia.pl/f1970




More information about the cross-lfs mailing list