Closed bhushan12 closed 11 years ago
You need to add -lz to "other linker flags".
Hoa V. Dinh
On Monday, July 29, 2013 at 3:07 AM, bhushan12 wrote:
Hi there, I have configured my project to use mailcore2 as instructed but I am receiving following issues. Please anyone how to sort this out...Thanks. Undefined symbols for architecture armv7: "_deflate", referenced from: zipWriteInFileInZip in libMailCore-ios.a(zip.o) _zipCloseFileInZipRaw in libMailCore-ios.a(zip.o) "_deflateEnd", referenced from: _zipCloseFileInZipRaw in libMailCore-ios.a(zip.o) "_crc32", referenced from: _zipWriteInFileInZip in libMailCore-ios.a(zip.o) "_deflateInit2", referenced from: _zipOpenNewFileInZip3 in libMailCore-ios.a(zip.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
— Reply to this email directly or view it on GitHub (https://github.com/MailCore/mailcore2/issues/251).
Hi there, I have configured my project to use mailcore2 as instructed but I am receiving following issues. Please anyone how to sort this out...Thanks.
Undefined symbols for architecture armv7: "_deflate", referenced from: _zipWriteInFileInZip in libMailCore-ios.a(zip.o) _zipCloseFileInZipRaw in libMailCore-ios.a(zip.o) "_deflateEnd", referenced from: _zipCloseFileInZipRaw in libMailCore-ios.a(zip.o) "_crc32", referenced from: _zipWriteInFileInZip in libMailCore-ios.a(zip.o) "deflateInit2", referenced from: _zipOpenNewFileInZip3 in libMailCore-ios.a(zip.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)