Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Forum => Topic started by: robertframpton on July 25, 2006, 07:13:31 AM

Title: xec.library
Post by: robertframpton on July 25, 2006, 07:13:31 AM
Once I have compiled my program onto a self booting disk the following message is displayed in an AmigaDos window after loading before the program begins;

xec.library
"The name of my program" failed return code 20
1>

Does anyone know how to rectify this error ?
Title: Re: xec.library
Post by: SamuraiCrow on July 25, 2006, 02:31:49 PM
That xec.library probably should be Exec.library but why it would fail to load is beyond me since Exec.library is in the Kickstart ROM.  What libraries do you have on your disk?
Title: Re: xec.library
Post by: Mindie on August 14, 2007, 05:48:24 PM
it could be something as simple as the executeable flag not being set.... try "protect <my program> +rwed"
Title: Re: xec.library
Post by: Hungry Horace on August 14, 2007, 10:32:39 PM
compiled amos proggies can be a bit odd on self-booting disks.

try adding diskfont.library to disk:libs/  - although i think it claims to be out of memory when this is the case  ???
Title: Re: xec.library
Post by: fxx on May 08, 2012, 01:09:22 PM
Sorry for reviving such an old thread, but maybe this can be helpful to someone.

Myself and a friend stumbled upon this problem the other day when we made a floppy to try how a game we're working on would run on a clean A500 (it didn't run very well btw  :( ) - running SnoopDOS showed us that the game was trying to open mathtrans.library - because we had used the Sin-function to calculate a sin-table.

We solved this by calculating the Sin table and saving it to disk, and removing the sin-function from the game.
Title: Re: xec.library
Post by: Hungry Horace on August 08, 2019, 09:13:17 PM
cant beleive i've just stumbled on this bug myself!

Good old google bought me right back home!

For the record, i needed mathtrans.library although i have no idea what for.