dinhvh / libetpan

Mail Framework for C Language
www.etpan.org
Other
612 stars 284 forks source link

Unable to compile and link the library to my C project on Mac M1pro ! #432

Closed KAZIcodes closed 1 year ago

KAZIcodes commented 1 year ago

when I want to follow the tutorial under the unix section in README on my Mpro mac it seems to install but when I want to compile one of the example codes in tests folder and link against the library files when I compiling I get the below error: Undefined symbols for architecture arm64: "_etpan_fetch_message", referenced from: _save_mime_content in fetch-1e2d4f.o "_init_storage", referenced from: _main in fetch-1e2d4f.o "_parse_options", referenced from: _main in fetch-1e2d4f.o ld: symbol(s) not found for architecture arm64

and I think there is no problem in my compile command and linking! does it mean that the library really does not support M1 architecture when you want to install it using the unix ssection of README ? and so it have to be installed and built using Xcode to work for M1 architecture ?