<<< Date Index >>>     <<< Thread Index >>>

[1.5.9 and Cygwin] --enable-hcache still doesn't compile



Hi folks,

FYI: I just tried to build mutt 1.5.9 with the --enable-hcache
switch and get a failure (see below).  This is on a Cygwin
environment with the gcc 3.3.3 compiler.  I got the exact same
error with 1.5.8.

                                                   rudy

----- Error log -----
if gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" 
-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\" 
-DHAVE_CONFIG_H=1 -I. -I. -I. -I. -I. -I./imap  -Iintl  -I/usr/include/ncurses 
-I./intl -I/usr/local/include  -Wall -pedantic -g -O2 -MT hcache.o -MD -MP -MF 
".deps/hcache.Tpo" -c -o hcache.o hcache.c; \
then mv -f ".deps/hcache.Tpo" ".deps/hcache.Po"; else rm -f ".deps/hcache.Tpo"; 
exit 1; fi
hcache.c:62: error: field `timeval' has incomplete type
hcache.c: In function `mutt_hcache_dump':
hcache.c:562: error: storage size of `now' isn't known
hcache.c:563: warning: implicit declaration of function `gettimeofday'
hcache.c:564: error: invalid application of `sizeof' to an incomplete type
hcache.c:562: warning: unused variable `now'
make[2]: *** [hcache.o] Error 1