Hi: Thanks for your suggestion and I have specify the compile prefix in the Rule.mak as CROSS=mipsel-linux-uclibc-
But I got another error while compiling uClibc-0.9.27/libc/stdio Error is excerpted below: ....... make[2]: Entering directory `/mnt/hdc7/DTV/cross_compile/uClibc-0.9.27/libc/stdio' mipsel-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -funit-at-a-time -mno-split-addresses -mips32r2 -mtune=mips32r2 -I/usr/local/mipsel-toolchain-uclibc/mipsel-linux-uclibc/include -fno-builtin -nostdinc -D_LIBC -I../../include -I. -isystem include -DNDEBUG -fPIC -c _store_inttype.c -o _store_inttype.o _store_inttype.c:23:2: #error No LLONG_MAX and INTMAX_MAX > LONG_MAX! The printf code needs to be updated! make[2]: *** [_store_inttype.o] Error 1 make[2]: Leaving directory `/mnt/hdc7/DTV/cross_compile/uClibc-0.9.27/libc/stdio' make[1]: *** [_dir_stdio] Error 2 make[1]: Leaving directory `/mnt/hdc7/DTV/cross_compile/uClibc-0.9.27/libc' make: *** [_dir_libc] Error 2 ....... Does the error come from my mips-cross-compiler gcc? What I mean is whether I lost something while compiling gcc as my Mips cross-copiler, since I find it seems only limits.h in my cross-compiler's include files define LLONG_MAX, INTMAX_MAX and LONG_MAX. If it does, should I rebuild my mips-cross-compiler with some special configuration? I attach make.log, the compiling log, Rule.mak, .config and limits.h in my cross-compiler's include files. Appreciate your help in advance, cckuo -----Original Message----- From: Mike Frysinger [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 11:04 PM To: [email protected] Cc: cckuo Subject: Re: compile error On Thursday 20 September 2007, cckuo wrote: > Do I forget to modify something before compiling? you forgot to set your compiler prefix so it's attempting to build for mips with your host toolchain -mike
limits.h_mips
Description: Binary data
make.log
Description: Binary data
Rules.mak
Description: Binary data
.config
Description: Binary data
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
