From: aronsson@lysator.liu.se (Lars Aronsson) Subject: cannot execute binary file Date: Mon, 19 Oct 1992 04:12:44 GMT
I just tried to compile ispell-2.0.02 (is there a better alternative
to this program, perhaps a more recent version?) under LINUX 0.98.0
using GCC 2.2. I have successfully compiled and run many other
programs this way. GCC now gives a few warnings, but none are serious
and there are no true error messages. I have successfully built two
executable binaries, and their chmod codes are correct: buildhash and
ispell.
When I try to run either of these programs, I am told that LINUX
"cannot execute binary file". I suppose this means errno == 8,
ENOEXEC "Exec format error", as described in the intro(2) man page.
What does this mean? What did I do wrong? Would GCC build a broken
executable binary and not complain? I am clueless. Help me!