On Mon, Apr 09, 2001 at 05:29:08PM -0400, Nicole Duffy wrote: [CC'ed to the linux-arm mailing list because this has really nothing to do with linux-arm-kernel] > I am trying to build the ARM C cross compiler and Linux kernel. I > have the following files; > > binutils-2.9.1.0.25.tar.gz, > egcs-1.1.2.tar.gz, > egcs-1.1.2-arm-diff-990325.gz, Egcs is considered dead (see http://gcc.gnu.org/ for an explanation). Please use the latest stable gcc release: gcc-2.95.3. IIRC Phil Blundell has some patches for this version that fix some minor code generation problems (Phil?). > glibc-2.1.2.tar.gz, > glibc-crypt-2.0.111.tar.gz, > glibc-linuxthreads-2.1.1.tar.gz, > linux-2.2.2.tar.gz, > patch-2.2.2.tar.gz, > diff-2.2.2-rmk5-np3.gz, Not really the most stable kernel for ARM, but I guess it will do for providing header files. If you want to go for safe, get linux-2.2.19.tar.gz and patch-2.2.19-rmk1.gz. > which I downloaded from > [1]http://www.bluewaternz.com/startoff/armlinux.htm. I am following > the instructions given there too. I'm afraid that page is outdated. Have a look at http://www.armlinux.org/docs/toolchain/ for the most up-to-date documentation about toolchains. > I seem to be able to successfully > build the bin utilities, and the EGCS compiler but get stuck when I am > building the GLIBC library. The error occurs when I run nake and > looks like this: > > checking for makeinfo... 4.0, bad > configure: warning: > *** An auxiliary program is missing or too old > *** some features will be disabled > *** check the INSTALL file for required versions > > This doesn't sound so bad, but then make only takes a minute or two > not the several hours that the instructions say. Also when I run make > install I get loads and loads of errors. Mostly they are complaining > about an "invalid character 45 in exportstr for full-config-sysdirs" > in bin\sh, but I am supposing the real problem is that the make fails. Hmm. Sounds to me like your machine is completely outdated or horribly misconfigured. The fact that configure already complains about makeinfo is a bad sign, but the fact that it complains about shell script makes me worry. > Any help would be appreciated. Oh I might add that I tried to use > more recent GLIBC, so insteas of glibc-2.1.2.tar.gz, > glibc-2.2.2.tar.gz but couldn't figure out or find a matching crypt > file, the most recent I could find was glibc-crypt-2.1.tar.gz and I > got errors that this file was too old. I suggest to stop breaking your teeth on compiling cross compilers and downloading one of the precompiled toolchains: - http://www.lart.tudelft.nl/lartware/compile-tools/ (tarball) - ftp://ftp.handhelds.org/pub/linux/arm/toolchain/ (tarball) - http://www.emdebian.org/ (.deb and .rpm packages) Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED] WWW: http://www-ict.its.tudelft.nl/~erik/ _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
