Program Backward compatibility for FreeBSD 2.25

Greg 'groggy' Lehey grog at FreeBSD.org
Mon Dec 27 00:13:51 PST 2004


On Monday, 27 December 2004 at 14:34:34 +0700, Twatchai Saelao wrote:
> Hi
>  I have 1 application develope on FreeBSD 2.2.5 (a long time but still
> in use). I need to upgrade OS from 2.25 to 5.3 but Application can not
> run of this version.
> Message after call application is "cannot execute binary file". Please
> help/advise me. Thank you.

Newer versions of FreeBSD no longer support the old a.out binary file
format.  Try this:

  kldload aout

Then try again.  I've never tried this, so please report whether it
works or not.  If it doesn't, you can try building a kernel with the
option

options		COMPAT_AOUT

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041227/cf0e11ac/attachment.bin


More information about the freebsd-questions mailing list