Date: Sun, 27 Feb 2000 13:24:14 -0500 (EST) From: Frank Donahoe To: Eli Zaretskii cc: DJGPP List Subject: Re: LD errors compiling source from gnupg-1.0.1.tar.gz In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 27 Feb 2000, Eli Zaretskii wrote: > > Please post at least some of the output of `nm' which shows these > functions in the library. > > One possible problem might be that the assembly module doesn't prepend > an underscore to the functions' names, while the code produced by > DJGPP from C sources requires the underscores. > I took the following from Brian Raiter's match.S in zlib #ifndef NO_UNDERLINE #define match_init _match_init #define longest_match _longest_match #endif and changed all the mpih*.S files appropriately. It solved that problem completely. Thanks. The woods are a little thinner now! > If this doesn't help, there are linker switches which cause it to show > what modules does it load from what libraries, and which libraries > does it scan. I suggest to use those switches to track what the > linker does. It might give you some useful clues. >