I do steps from the tutorial http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling after command emerge-armv4tl-softfloat-linux-gnueabi world compilation fails at ebuild sys-devel/make-3.81-r1 with message /armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -MT job.o -MD -MP -MF ".deps/job.Tpo" -c -o job.o job.c; \ then mv -f ".deps/job.Tpo" ".deps/job.Po"; else rm -f ".deps/job.Tpo"; exit 1; fi job.c: In function 'construct_command_argv_internal': job.c:2713: error: 'PAGE_SIZE' undeclared (first use in this function) job.c:2713: error: (Each undeclared identifier is reported only once job.c:2713: error: for each function it appears in.) make[2]: *** [job.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81' make: *** [all] Error 2 * ERROR: sys-devel/make-3.81-r1 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2571: Called die * The specific snippet of code: * emake || die
Created attachment 217597 [details] emerge --info =sys-devel/make-3.81-r1
Created attachment 217599 [details] Output of emerge -pqv =sys-devel/make-3.81-r1
Created attachment 217600 [details] The complete build log from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/build.log'.
Created attachment 217601 [details] The ebuild environment file from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/environment' S: '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81'
You could try to read http://bugs.debian.org/393023 and write patch.
*** This bug has been marked as a duplicate of bug 301431 ***