[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] Compilation error on OS X



On Tue, Oct 24, 2006 at 10:33:10PM +0200, Martin Lambers wrote:
Could you send me a log of your build? There should not be any warnings,
or at least not plenty of them.

Attached. "Plenty" was perhaps an exaggeration. I did not analyse the
output in detail, beyond noting that there were warnings. Most of them
are for the same thing (long doubles).

I'm interested in your config.log file. I switched the configure script
of version 1.4.7 to use the AC_LIB_HAVE_LINKFLAGS macro to detect
libraries. This should either add "-lcrypto" automatically, or omit it
if the linker can handle library dependencies itself (libssl depends on
libcrypto). This seems to fail in your situation.

These are rather large, so I've put them on the web:

http://pentangle.net/tmp/config-libs.log (with LIBS=-lcrypto)
http://pentangle.net/tmp/config-no-libs.log (without)

Let me know if you need anything else.

-- Mike
make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in gnulib
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
sed -e 's/@''HAVE_WCHAR_H''@/1/g' \
    -e 's/@''HAVE_STDINT_H''@/1/g' \
    -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \
    -e 's|@''ABSOLUTE_STDINT_H''@|"///usr/include/gcc/darwin/3.3/stdint.h"|g' \
    -e 's/@''HAVE_INTTYPES_H''@/1/g' \
    -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \
    -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \
    -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
    -e 's/@''BITSIZEOF_PTRDIFF_T''@/32/g' \
    -e 's/@''PTRDIFF_T_SUFFIX''@//g' \
    -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \
    -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \
    -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \
    -e 's/@''BITSIZEOF_SIZE_T''@/32/g' \
    -e 's/@''SIZE_T_SUFFIX''@/ul/g' \
    -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \
    -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \
    -e 's/@''WCHAR_T_SUFFIX''@//g' \
    -e 's/@''BITSIZEOF_WINT_T''@/32/g' \
    -e 's/@''HAVE_SIGNED_WINT_T''@/1/g' \
    -e 's/@''WINT_T_SUFFIX''@//g' \
    < ./stdint_.h > stdint.h-t
mv stdint.h-t stdint.h
make  all-am
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c base64.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c xvasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c xasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c getdelim.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c getline.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c getopt.c
getopt.c:42:1: warning: "_" redefined
In file included from getopt.c:24:
../config.h:432:1: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c hmac-md5.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c md5.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c memxor.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c vasnprintf.c
In file included from printf-parse.h:21,
                 from vasnprintf.c:48:
printf-args.h:97: warning: use of `long double' type; its size may change in a future release
printf-args.h:97: warning: (Long double usage is reported only once for each file.
printf-args.h:97: warning: To disable this warning, use -Wno-long-double.)
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c printf-args.c
In file included from printf-args.c:23:
printf-args.h:97: warning: use of `long double' type; its size may change in a future release
printf-args.h:97: warning: (Long double usage is reported only once for each file.
printf-args.h:97: warning: To disable this warning, use -Wno-long-double.)
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c printf-parse.c
In file included from printf-parse.h:21,
                 from printf-parse.c:26:
printf-args.h:97: warning: use of `long double' type; its size may change in a future release
printf-args.h:97: warning: (Long double usage is reported only once for each file.
printf-args.h:97: warning: To disable this warning, use -Wno-long-double.)
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c asnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -c xmalloc.c
rm -f libgnu.a
ar cru libgnu.a base64.o xvasprintf.o xasprintf.o getdelim.o getline.o getopt.o getopt1.o hmac-md5.o md5.o memxor.o vasnprintf.o printf-args.o printf-parse.o asnprintf.o xmalloc.o
ranlib libgnu.a
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT conf.o -MD -MP -MF ".deps/conf.Tpo" -c -o conf.o conf.c; \
then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; else rm -f ".deps/conf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o list.o list.c; \
then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f ".deps/list.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT msmtp.o -MD -MP -MF ".deps/msmtp.Tpo" -c -o msmtp.o msmtp.c; \
then mv -f ".deps/msmtp.Tpo" ".deps/msmtp.Po"; else rm -f ".deps/msmtp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.c; \
then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT netrc.o -MD -MP -MF ".deps/netrc.Tpo" -c -o netrc.o netrc.c; \
then mv -f ".deps/netrc.Tpo" ".deps/netrc.Po"; else rm -f ".deps/netrc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT smtp.o -MD -MP -MF ".deps/smtp.Tpo" -c -o smtp.o smtp.c; \
then mv -f ".deps/smtp.Tpo" ".deps/smtp.Po"; else rm -f ".deps/smtp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT stream.o -MD -MP -MF ".deps/stream.Tpo" -c -o stream.o stream.c; \
then mv -f ".deps/stream.Tpo" ".deps/stream.Po"; else rm -f ".deps/stream.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.c; \
then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/Users/mike/usr/etc\" -DLOCALEDIR=\"/Users/mike/usr/share/locale\" -I. -I. -I..  -I../gnulib   -g -O2 -MT tls.o -MD -MP -MF ".deps/tls.Tpo" -c -o tls.o tls.c; \
then mv -f ".deps/tls.Tpo" ".deps/tls.Po"; else rm -f ".deps/tls.Tpo"; exit 1; fi
gcc  -g -O2   -o msmtp  conf.o list.o msmtp.o net.o netrc.o smtp.o stream.o tools.o tls.o ../gnulib/libgnu.a  -lcrypto  -lssl