delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/27/13:45:30

Date: Sun, 27 Feb 2000 13:24:14 -0500 (EST)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: DJGPP List <djgpp AT delorie DOT com>
Subject: Re: LD errors compiling source from gnupg-1.0.1.tar.gz
In-Reply-To: <Pine.SUN.3.91.1000227102701.14604Z-100000@is>
Message-ID: <Pine.A32.3.96.1000227131238.40550B-100000@wilkes1.wilkes.edu>
MIME-Version: 1.0
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


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.
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019