Hello,

Im trying to use the zlib.h for Palm. Im trying to use the gz functions, but
it gives Linker Error.
This is a part of the code:
FileHand strFileToZip = FileOpen(0,"teste2.txt", sysFileTFileStream,

'M3Cl', fileModeReadOnly, &error);

gzFile zippedFile = gzopen("teste2.txt.gz", "wb");

FileTell(strFileToZip,(long *) &itotal, NULL);

ZLSetup;

...

And the debugger:


Link Error : ZipPalm.cpp: 'gzopen' referenced from 'ZipPalm::GZCompress()'
is undefined.

Link Error : ZipPalm.cpp: 'gzwrite' referenced from 'ZipPalm::GZCompress()'
is undefined.

Link Error : ZipPalm.cpp: 'gzclose' referenced from 'ZipPalm::GZCompress()'
is undefined.



I think everything is all right (all the headers), maybe anyone knows what
is happening.
Thanks a lot!

Marco



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to