[EMAIL PROTECTED] escribió: > Send Clfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Clfs-support digest..." > > > Today's Topics: > > 1. Help with compiling the gcc In chapter 6.4. (Nicol?s Coronel) > 2. Re: Help with compiling the gcc In chapter 6.4. > ([EMAIL PROTECTED]) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 11 Apr 2008 09:50:29 -0400 > From: Nicol?s Coronel <[EMAIL PROTECTED]> > Subject: [Clfs-support] Help with compiling the gcc In chapter 6.4. > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Good could give me a help: > I am trying to make a linux for a router board rb153 MIPS architecture > used for this purpose I am using the following document: > > Cross-Compiled Linux From Scratch - Version 1.0.0-MIPS > In chapter 6.4. GCC-4.1.1 performed everything that indicates the > documentation when I arrive until > > make AS_FOR_TARGET="${AS}" \ > LD_FOR_TARGET="${LD}" > > I introduced the following error. > > > make[1]: Entering directory `/mnt/clfs/sources/gcc-build' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty' > make[3]: Entering directory `/mnt/clfs/sources/gcc- > build/libiberty/testsuite' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/mnt/clfs/sources/gcc- > build/libiberty/testsuite' > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/fixincludes' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/fixincludes' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/intl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/intl' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/libiberty' > make[3]: Entering directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/libiberty/testsuite' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/libiberty/testsuite' > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/libiberty' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/fixincludes' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/build-i686-cross- > linux-gnu/fixincludes' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/libcpp' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/libcpp' > make[2]: Entering directory `/mnt/clfs/sources/gcc-build/gcc' > mips-unknown-linux-gnu-gcc -c -g -O2 -DIN_GCC -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.) > make[2]: *** [host-linux.o] Error 1 > make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc' > make[1]: *** [all-gcc] Error 2 > make[1]: Leaving directory `/mnt/clfs/sources/gcc-build' > make: *** [all] Error 2 > > Thank > >
Thank you William Harrington found the solution as follows: http://chinajz.spaces.live.com/ Add this #include <bits/posix1_lim.h> to the next file and everything could end without problems. /mnt/clfs/sources/gcc-4.1.1/gcc/config/host-linux.c Thank you. -- Nicolás Coronel Planet SA Dpto. I+D [EMAIL PROTECTED] 021 615-999 0981 206-315 _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
