Re: failure to create uClinux 2.4 for COBRA5282-board

Robert Brusa <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Organization BRUSAG CH-8712 Staefa
Message-ID <[email protected]>
Am Montag, den 11.02.2008, 09:45 +1000 schrieb David McCullough:
> 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
> 
Hi Davidm
Thank you for your answer.
I removed -Werror and let it run again. Same result as before. You are
probably right with your saying that the 2.95.3 toolchain is a bit old.
I have the feeling the the option --end-group used in the script is the
cause of the problem. Hence it seems, I need a more recent toolchain.
The problem is now: Were to get it? I googled for "m68k-elf-tools" and
was lucky to find a hit. But when downloading from there
(www.uclinux.org/pub/uClinux/m68k-elf-tools) the file I get then is
m68k-uclinux-tools-20061214.sh. The name of this file confuses me,
because it tells me the toolchain would be ok to build applications that
run under uClinux. However, uClinux itself does not run under uClinux?
Does'nt it? I really am confused and I can find nowhere a more recent
m68k-elf-toolchain.
Regards Bob

---
[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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.