[Zlib-devel] zlib 1.2.6.1 - zlib.map contents

zinser at zinser.no-ip.info zinser at zinser.no-ip.info
Sun Feb 19 10:15:21 EST 2012


Hello,

testing against the git version of 1.2.6.1 on OpenVMS Alpha.

Can somebody please clarify the contents of zlib.map for me? I was under the 
impression, that it would contain in the "global:"/unnamed sections the 
procedures an external application is "allowed" to use, and in the "local:"
section the procedures that are reserved for private use by Zlib (which also
might change any time).

If I restrict export to the symbols found in the "global:"/unnamed sections
and try to link the example application, I do get the following errors:


%LINK-I-UDFSYM,         compress 
%LINK-I-UDFSYM,         deflate  
%LINK-I-UDFSYM,         deflateEnd 
%LINK-I-UDFSYM,         deflateInit_ 
%LINK-I-UDFSYM,         deflateParams 
%LINK-I-UDFSYM,         deflateSetDictionary 
%LINK-I-UDFSYM,         gzclose 
%LINK-I-UDFSYM,         gzerror 
%LINK-I-UDFSYM,         gzgetc 
%LINK-I-UDFSYM,         gzgets 
%LINK-I-UDFSYM,         gzopen 
%LINK-I-UDFSYM,         gzprintf 
%LINK-I-UDFSYM,         gzputc 
%LINK-I-UDFSYM,         gzputs 
%LINK-I-UDFSYM,         gzread 
%LINK-I-UDFSYM,         gzseek 
%LINK-I-UDFSYM,         gztell 
%LINK-I-UDFSYM,         inflate 
%LINK-I-UDFSYM,         inflateEnd 
%LINK-I-UDFSYM,         inflateInit_ 
%LINK-I-UDFSYM,         inflateSetDictionary 
%LINK-I-UDFSYM,         inflateSync 
%LINK-I-UDFSYM,         uncompress 
%LINK-I-UDFSYM,         zlibVersion 

These procedures are defined in the Zlib source code, but do not appear
at all in zlib.map (in neither global/local sections).

Do I misunderstand the purpose of zlib.map entirely (certainly possible ;-) or
does zlib.map need to be ammended?

Greetings, Martin





More information about the Zlib-devel mailing list