First, during configure, this appears
configure: WARNING: libc.h: present but cannot be compiled
configure: WARNING: libc.h: check for missing prerequisite headers?
configure: WARNING: libc.h: see the Autoconf documentation
configure: WARNING: libc.h: section "Present But Cannot Be Compiled"
configure: WARNING: libc.h: proceeding with the preprocessor's result
configure: WARNING: libc.h: in the future, the compiler will take precedence
configure: WARNING: ## -------------------------------- ##
configure: WARNING: ## Report this to the guile lists. ##
configure: WARNING: ## -------------------------------- ##
Then, I have to edit the emitted
config.h to remove
#define socklen_t int
because configure wrongly concludes it is absent from the system headers. It is also the cause of the warning during configure.
Then, the build ends during the link step with
ld: warning multiple definitions of symbol _locale_charset
/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/local/lib/libgmp.a(mp_bpl.o) definition of common ___gmp_junk (size 16)
/usr/bin/libtool: internal link edit command failed
Thanks
pat