Mail Archives: djgpp/1996/11/20/15:40:51
tehmul%NIITPUN AT iris DOT ernet DOT in wrote:
>
>
> HI.
> I downloaded the zlib_pc library so that I can read .z files directly in my
> programs instead of unpacking them using compress -d ...
> I built the library w/o any problem. When I linked it to my program, I got
> errors on unknown external symbols halloc and hfree. I grep'ed the zlib_pc
> sources and found halloc and hfree. The calls looked similar to calloc and
> free, so I changed it and it worked! I still am curious about halloc and
> hfree. What are they supposed to be? I couldn't find any C book which talks
> about these functions. Are they the remnants of some bygone era or
> something?
Hmm.. which makefile did you use? There is one specifically for djgpp
v2 (makefile.dj2).
It appears halloc and hfree are from MSC and are only called if that
what you are compiling for.
Bill
--
Leave others their otherness.
- Raw text -