Problem building mutt-1.5.19 on Cygwin 1.5.25
- To: mutt-dev@xxxxxxxx
- Subject: Problem building mutt-1.5.19 on Cygwin 1.5.25
- From: Gary Johnson <garyjohn@xxxxxxxxxx>
- Date: Mon, 5 Jan 2009 20:52:43 -0800
- Domainkey-signature: a=rsa-sha1; c=nofws; s=mail; d=spocom.com; q=dns; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent:x-operating-system; b=k3BaA5Q/66RWvIOXdo+OiJfHxKKZ781HVV5nbVYlkZYDrUSii/CTbYmvE77IyIauC0V3K2m9FOwfT1bAuZR46g==;
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.4.2.2i
I just tried compiling mutt-1.5.19 under Cygwin 1.5.25-15. Configure
completes successfully and says, in part,
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
but make errors with these messages at the ld step:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.handler.o: In function `enriched_wrap':
/usr/local/src/mutt-1.5.19/mutt-1.5.19/handler.c:554: undefined reference
to `_fputws'
/usr/local/src/mutt-1.5.19/mutt-1.5.19/handler.c:554: undefined reference
to `_fputws'
handler.o: In function `text_enriched_handler':
/usr/local/src/mutt-1.5.19/mutt-1.5.19/handler.c:890: undefined reference
to `_ungetwc'
/usr/local/src/mutt-1.5.19/mutt-1.5.19/handler.c:822: undefined reference
to `_fgetwc'
Info: resolving _COLS by linking to __imp__COLS (auto-import)
Info: resolving _COLOR_PAIRS by linking to __imp__COLOR_PAIRS (auto-import)
Info: resolving _COLORS by linking to __imp__COLORS (auto-import)
Info: resolving _stdscr by linking to __imp__stdscr (auto-import)
Info: resolving _LINES by linking to __imp__LINES (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
collect2: ld returned 1 exit status
make[2]: *** [mutt.exe] Error 1
make[2]: Leaving directory `/usr/local/src/mutt-1.5.19/mutt-1.5.19'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mutt-1.5.19/mutt-1.5.19'
make: *** [all] Error 2
A little research on the Web revealed that ungetwc() is not yet
supported on Cygwin but will be with Cygwin 1.7
(http://www.gnu.org/software/gnulib/manual/html_node/ungetwc.html and
http://www.mail-archive.com/cygwin-announce@xxxxxxxxxx/msg02612.html).
Does anyone know of a workaround for Cygwin 1.5 in the mean time?
Regards,
Gary