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.