MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.61k stars 627 forks source link

libMailCore-ios.a armv7 issue #251

Closed bhushan12 closed 11 years ago

bhushan12 commented 11 years ago

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)

dinhvh commented 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).