Re: failure to create uClinux 2.4 for COBRA5282-board
David McCullough <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Jivin Bob Brusa lays it down ... > Hi, > I just made my very first attempt to create a linux system for my board. I > am using the toolchain installed by/from the script > m68k-elf-tools-20030314.sh and the uClinux sources are unpacked from > uClinux-dist-20070130.tar.gz. Then I do what the README file says: make > xconfig and select vendor sentec and my board, then kernel version 2.4.x > (because README reccommends this) and all the rest I leave as is. Ok no > errors. Then make dep - also goes throug without errors (at least I did > not see one). Finally make<enter> and with this the problems begin. I had > the impression - text flys by in a hurry - that errors popped up very > early in the process. The final lines of the (tremendous) output are: > ---------------------------------------------------------------------- > .... > x-dist/user/busybox/shell/shell.a > /home/rwb/uClinux-dist/user/busybox/sysklogd/sysklogd.a > /home/rwb/uClinux-dist/user/busybox/util-linux/util-linux.a > /home/rwb/uClinux-dist/user/busybox/libpwdgrp/libpwdgrp.a > /home/rwb/uClinux-dist/user/busybox/coreutils/libcoreutils/libcoreutils.a > /home/rwb/uClinux-dist/user/busybox/libbb/libbb.a -Wl,--end-group > /usr/local/m68k-elf/bin/ld.real: unrecognized option `--fatal-warnings' > /usr/local/m68k-elf/bin/ld.real: use the --help option for usage > informationcollect2: ld returned 1 exit status > make[4]: *** [busybox] Error 1 > make[4]: Leaving directory `/home/rwb/uClinux-dist/user/busybox' > make[3]: *** [all] Fehler 2 > make[3]: Leaving directory `/home/rwb/uClinux-dist/user/busybox' > make[2]: *** [busybox] Fehler 2 > make[2]: Leaving directory `/home/rwb/uClinux-dist/user' > make[1]: *** [all] Fehler 2 > make[1]: Leaving directory `/home/rwb/uClinux-dist/user' > make: *** [subdirs] Fehler 1 > ------------------------------------------------------------------------- > The make did not produce a folder called 'image' or 'images' and hence > there is no binary anywhere. What can I do to trace down the problem? You may be stuck with getting a newer toolchain, a lot of packages have been updated in the dist and the old 2.95.3 compilers don't always cut it. For now, check in your config.arch and vendors/config/m68knommu/config.arch for -Werror, remove it and you may be on your way, Cheers, Davidm -- David McCullough, [email protected], Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.