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:[EMAIL PROTECTED]
------------------------------------------------------------------
12 000 sekund gratis! Promocja na http://link.interia.pl/f1970
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page