A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=489 ====================================================================== Reported By: metalchaos Assigned To: ====================================================================== Project: DBMail Issue ID: 489 Category: General Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 10-Jan-07 20:50 CET Last Modified: 20-Jan-07 07:52 CET ====================================================================== Summary: inet_aton fix for Solaris Description: Hi,
I was trying to compile dbmail on Solaris 10 and I got the following error: Undefined first referenced symbol in file inet_aton ./.libs/libdbmail.so ld: fatal: Symbol referencing errors. No output written to .libs/dbmail-smtp After searching in the mailing lists I've found out that the workaround is to add -lresolv in LIBS variable in Makefile. Could be possible to add this in a future release? ====================================================================== ---------------------------------------------------------------------- aaron - 18-Jan-07 21:26 ---------------------------------------------------------------------- I'm looking for an autoconf macro that'll take care of figuring out these additional LDFLAGS for Solaris. I will get it into SVN as soon as I find a good one. ---------------------------------------------------------------------- aaron - 19-Jan-07 01:31 ---------------------------------------------------------------------- Please check out current SVN, run 'autoreconf -f -i', and then run ./configure with your favorite options. Please post the output of the SOCKETS: line. I am expecting that you will see -lresolv and maybe some other libraries listed there. I haven't connected this into the build process yet, just collecting information right now. Thanks! ---------------------------------------------------------------------- metalchaos - 19-Jan-07 18:36 ---------------------------------------------------------------------- -bash-3.00# autoreconf -f -i /opt/csw/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Putting files in AC_CONFIG_AUX_DIR, `buildtools'. /opt/csw/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in: installing `buildtools/install-sh' configure.in: installing `buildtools/missing' modules/Makefile.am:22: bad characters in variable name `' modules/Makefile.am:23: AM_CFLAGS multiply defined in condition TRUE ... modules/Makefile.am:21: ... `AM_CFLAGS' previously defined here modules/Makefile.am: installing `buildtools/depcomp' Makefile.am: installing `buildtools/compile' autoreconf: automake failed with exit status: 1 ---------------------------------------------------------------------- aaron - 19-Jan-07 19:44 ---------------------------------------------------------------------- Try newer autotools? Otherwise, Paul could update the autotools files in SVN so that you can just do a fresh checkout. ---------------------------------------------------------------------- metalchaos - 20-Jan-07 07:52 ---------------------------------------------------------------------- I've had autotools 2.59. Now I've compiled version 2.61 and it still gives me the same error. Issue History Date Modified Username Field Change ====================================================================== 10-Jan-07 20:50 metalchaos New Issue 18-Jan-07 21:26 aaron Note Added: 0001726 19-Jan-07 01:31 aaron Note Added: 0001734 19-Jan-07 18:36 metalchaos Note Added: 0001737 19-Jan-07 19:44 aaron Note Added: 0001738 20-Jan-07 07:52 metalchaos Note Added: 0001739 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev