From: Steven Merrifield (Steven.Merrifield@GE-Interlogix.com)
Date: Mon Sep 16 2002 - 21:51:25 EDT
-----Original Message----- >From: Eric Bosch [mailto:ebosch@freeler.nl] >Sent: Tuesday, 17 September 2002 6:53 >To: uclinux-dev@uclinux.org >Subject: [uClinux-dev] Bad magic/ rev (16843008,need 2) error > > > >Hello all, > >When I try to run my "hello world" program on my uClinux development board >(uCgardener with Motorola 68EZ328 processor) I 'll get the following error message: > >Bad magic/ rev (16843008, need 2) >...elf...: not found > >This very simple program was compiled with the m68k-pic-coff-gcc compiler. > >I'am running uClinux 2.0.38.1Pre5 on my board. > Hi, There has been two major revisions of the uClinux flat file format. Version 2 was used by the m68k-coff compilers and version 4 is used with the m68k elf2flt tools. It appears as though your kernel is looking for a v2 file, but you have given it an elf file? I suggest you get the latest tools from: http://www.uclinux.org/pub/uClinux/m68k-elf-tools/ and build your hello world app using the command: m68k-elf-gcc -m68000 -Wl,-elf2flt -o hello hello.c -lc Most people working on a m68k platform these days use the elf tools rather than the coff tools. steve This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:53 EDT