[uClibc]Toolchain for SH error?

Jose Sanchez phantom_stranger at earthlink.net
Wed Nov 27 19:19:35 UTC 2002


Hello everyone,

First time poster and very new subscriber to list. Bad netiquette, I 
know...but I've gone through the archives and have found no solution to my 
problem. I have noticed that creating a toolchain for the SH processor is 
quite a daunting task...but I digress.

My first few steps into compiling the gcc 3.2 toolchain resulted in an error 
regarding the .LPSC0 being undefined. Looking through the archive, I found a 
patch for the Makefile which was posted to the list by Mr. M. R. Brown. I 
applied it to the Makefile, and then had an error where the ${ARCH} variable 
had been changed to ${TARGET_ARCH} causing the Configure.sh.default file not 
been found/copied. Fixed the Makefile and now I get the following message:

In file included from ../../../include/locale.h:30,
                 from ctype.c:36:
../../../include/bits/uClibc_locale.h:95:37: bits/uClibc_locale_data.h: No 
such file or directory
make[4]: *** [isalnum.o] Error 1
make[4]: Leaving directory `/tmp/gcc-3.2/build/uClibc-0.9.16/libc/misc/ctype'
make[3]: *** [_dir_ctype] Error 2
make[3]: Leaving directory `/tmp/gcc-3.2/build/uClibc-0.9.16/libc/misc'
make[2]: *** [_dir_misc] Error 2
make[2]: Leaving directory `/tmp/gcc-3.2/build/uClibc-0.9.16/libc'
make[1]: *** [_dir_libc] Error 2
make[1]: Leaving directory `/tmp/gcc-3.2/build/uClibc-0.9.16'
make: *** [/tmp/gcc-3.2/build/uClibc-0.9.16/lib/libc.a] Error 2

How would one go about building the uClibc_locale_data.h? Any and all help 
would be greatly appreciated. BTW, I'm trying to build this to cross-compile 
an emulator which would then run on a Dreamcast. Trying to compile the 
toolchain under Suse Linux 8.1 with gcc 3.2.

Thanks in advance...and if this has been addressed before and I missed it 
somehow, my apologies to the list.

Jose



More information about the uClibc mailing list