Hi, I received this report from a GNU Smalltalk user and it seems like it is a bug in libtool, triggered by newer versions of autoconf (the old version uses 2.52, the new one uses 2.53). The configure.ac file has AC_LIBTOOL_WIN32_DLL. It looks like the AC_PROVIDE mechanism has been moved into M4SUGAR and the macros that AC_PROVIDE defines are named differently.
The simplest fix is to define AC_PROVIDE_AC_LIBTOOL_WIN32_DLL in AC_LIBTOOL_WIN32_DLL and so on. Is asking to release a 1.5 version with this changes too much? Here is the report: > I tried to make Smalltalk-1.95.11 under Cygwin and had an error > "undefined reference to `WinMain@16'" when building DLLs. > > Its cause and workaround are described in The Cygwin FAQ > <http://cygwin.com/faq/faq_4.html#SEC93>. > I used empty main function as shown below. > > I remember I didn't see this error when I made 1.95.9. > I tried to see the difference between 1.95.9 and 1.95.11. > Then I found the care of WinMain@16 in the configure > script of 1.95.9, which is missing for 1.95.11. > Why have these lines gone away? > It seems better than empty main function in source code. > > ------------------------------------------------------------------ > echo "$as_me:4235: result: $lt_cv_cc_dll_switch" >&5 > echo "${ECHO_T}$lt_cv_cc_dll_switch" >&6 > CFLAGS="$SAVE_CFLAGS" ;; > *-*-cygwin* | *-*-pw32*) > # cygwin systems need to pass --dll to the linker, and not link > # crt.o which will require a WinMain@16 definition. > lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; > esac > ;; > > esac > ------------------------------------------------------------------ Paolo _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool