Mail Archives: djgpp/2000/02/27/13:45:30
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 -