[OTR-users] libtool: undefined symbols not allowed in i686-pc-mingw32 shared

Marcin Cieslak saper at saper.info
Fri Mar 12 11:03:47 EST 2010


Ian Goldberg <ian at cypherpunks.ca> wrote:
> AFAIK, it's just:
>
>     autoreconf -s -i

$ autoreconf -s -i
/usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of AG_PATH_AU
TOOPTS
/usr/share/aclocal/autoopts.m4:22:   run info '(automake)Extending aclocal'
/usr/share/aclocal/autoopts.m4:22:   or see http://sources.redhat.com/automake/a
utomake.html#Extending-aclocal
C:\msys\1.0\bin\libtoolize: putting auxiliary files in `.'.
C:\msys\1.0\bin\libtoolize: linking file `./ltmain.sh'
C:\msys\1.0\bin\libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to confi
gure.ac and
C:\msys\1.0\bin\libtoolize: rerunning C:\msys\1.0\bin\libtoolize, to keep the co
rrect libtool macros in-tree.
C:\msys\1.0\bin\libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefi
le.am.
/usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of AG_PATH_AU
TOOPTS
/usr/share/aclocal/autoopts.m4:22:   run info '(automake)Extending aclocal'
/usr/share/aclocal/autoopts.m4:22:   or see http://sources.redhat.com/automake/a
utomake.html#Extending-aclocal

> If you get it working, I'm of course more than happy to include the
> patch.  ;-)

Well, autoreconf rebuilt stuff properly, but still no cigar:

--- configure.ac~       2008-05-27 12:35:28 +0000
+++ configure.ac        2010-03-12 15:33:20 +0000
@@ -23,6 +23,7 @@

 AC_PROG_CC

+AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL

 AM_PATH_LIBGCRYPT(1:1.2.0,,AC_MSG_ERROR(libgcrypt 1.2.0 or newer is required.))

doesn't make libtool happy enough to generate DLL. Will dig further...

-- 
              << Marcin Cieslak // saper at saper.info >>




More information about the OTR-users mailing list