Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bywater!arnor!arnor!marc From: marc@marc.watson.ibm.com (Marc Auslander) Newsgroups: comp.unix.aix Subject: Re: bind getting stuck? Message-ID: Date: 18 Feb 91 13:08:42 GMT References: <1991Feb15.190657.47304@uvmark.uucp> Sender: news@arnor.uucp (NNTP News Poster) Organization: IBM T.J. Watson Research Center, Hawthorne, New York Lines: 28 In-Reply-To: irwin@uvmark.uucp's message of 15 Feb 91 19:06:57 GMT In article <1991Feb15.190657.47304@uvmark.uucp> irwin@uvmark.uucp (Frank Irwin) writes: ... >To do this, I use the -bnoautoimp -berok -bnogc options to ld. However, >bind never seems to complete. Doing a ps: ... >If I leave out the -bnogc option, it binds fine, but running genro results in: >Could not load program genro >Error was: Exec format error The only option you should be using is -bnoautoimp. -bnogc will attempt to make a monstrous output module containing the whole contents of all the libraries you've included. -berok suppresses error messages AND marks the module non-executable. It is what is causing the "Exec format error". Make sure your program which defines malloc also defines free and realloc. (If you are using -berok because you get undefined errors you will have to fix the errors.) -- Marc Auslander