Re: Some make problems

Rob Leslie <[email protected]> Sat, 5 Jun 2004 16:55:00 -0700
Newsgroups gmane.comp.audio.mad.user
Message-ID <[email protected]>
On Jun 5, 2004, at 8:11 AM, Ming Chi Tsai wrote:
> I have built madplay successfully.
[...]
> Following above steps can build madplay execution file, but when 
> putting to
> embedded system, it can't run.
>
> error message on emabedded system:
> $>BINFMT_FLAT: bad magic/rev (0x1010161, need 0x4)
> $>BINFMT_FLAT: bad magic/rev (0x1010161, need 0x4)
> $>madplay: Exec format error
>
> Who can tell me where I made a mistake??

According to information gleaned via Google, you may need to add 
LDFLAGS="-Wl,-elf2flt" to get a flat binary.

-- 
Rob Leslie
[email protected]