标签: c zlib
我已经安装了zlib-1.2.8.tar.gz,zlib1g。我已经包含"zlib.h",使用-lz进行编译,但是这一行:
zlib-1.2.8.tar.gz
zlib1g
"zlib.h"
-lz
uncompress(datap, &size_uncompress, &bytesp[pos+9], size);
收到错误:
undefined reference to `uncompress'
任何提示?