while trying to compile guile 3.0.7 on Apple M1... On Mon, Dec 26, 2022 at 12:32 AM Damien Mattei wrote: > hello, > > on Apple M1 i have this error: > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: > note: expanded from macro '__deprecated_msg' > #define __deprecated_msg(_msg) > __attribute__((__deprecated__(_msg))) > ^ > 1 warning generated. > CC libguile_3.0_la-net_db.lo > CC libguile_3.0_la-socket.lo > CC libguile_3.0_la-regex-posix.lo > CCLD libguile-3.0.la > Undefined symbols for architecture arm64: > "_iconv", referenced from: > _mem_cd_iconveh_internal in libgnu.a(striconveh.o) > (maybe you meant: _str_iconveh, _mem_iconveh , > _scm_port_acquire_iconv_descriptors , _iconveh_open , _iconveh_close , > _mem_cd_iconveh , _str_cd_iconveh , _scm_port_release_iconv_descriptors ) > "_iconv_close", referenced from: > _iconveh_open in libgnu.a(striconveh.o) > _iconveh_close in libgnu.a(striconveh.o) > "_iconv_open", referenced from: > _iconveh_open in libgnu.a(striconveh.o) > ld: symbol(s) not found for architecture arm64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[3]: *** [libguile-3.0.la] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > any idea about this arm64? > > regards, > Damien >