hi I'm not able to compile psi 0.8.6 my g++ ver: 2.95.3 qt : 3.0.2
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_NO_CHECK -DQT_THREAD_SUPPORT -I/usr/X11R6/include -I/usr/lib/qt/include -I/usr/lib/qt/mkspecs/default -o zip.o zip.cpp In file included from zip.cpp:7: minizip/unzip.h:114: syntax error before `(' minizip/unzip.h:127: syntax error before `(' minizip/unzip.h:138: syntax error before `(' minizip/unzip.h:145: syntax error before `(' minizip/unzip.h:153: syntax error before `(' minizip/unzip.h:166: syntax error before `(' minizip/unzip.h:172: syntax error before `(' minizip/unzip.h:179: syntax error before `(' minizip/unzip.h:192: syntax error before `(' minizip/unzip.h:218: syntax error before `(' minizip/unzip.h:224: syntax error before `(' minizip/unzip.h:231: syntax error before `(' minizip/unzip.h:245: syntax error before `(' minizip/unzip.h:250: syntax error before `(' minizip/unzip.h:255: syntax error before `(' zip.cpp: In method `bool UnZip::open()': zip.cpp:46: implicit declaration of function `int unzOpen(...)' zip.cpp:46: assignment to `void *' from `int' lacks a cast zip.cpp: In method `void UnZip::close()': zip.cpp:56: implicit declaration of function `int unzClose(...)' zip.cpp: In method `bool UnZip::getList()': zip.cpp:71: implicit declaration of function `int unzGetGlobalInfo(...)' zip.cpp:79: implicit declaration of function `int unzGetCurrentFileInfo(...)' zip.cpp:86: implicit declaration of function `int unzGoToNextFile(...)' zip.cpp: In method `bool UnZip::readFile(const QString &, QByteArray *, int = 0)': zip.cpp:99: implicit declaration of function `int unzLocateFile(...)' zip.cpp:109: implicit declaration of function `int unzOpenCurrentFile(...)' zip.cpp:116: implicit declaration of function `int unzReadCurrentFile(...)' zip.cpp:118: implicit declaration of function `int unzCloseCurrentFile(...)' make: *** [zip.o] Ошибка 1
ERROR LINE:
extern int ZEXPORT zipOpenNewFileInZip OF(( zipFile file, const char* filename, const zip_fileinfo* zipfi, const void* extrafield_local, uInt size_extrafield_local, const void* extrafield_global, uInt size_extrafield_global, const char* comment, int method, int level));