I could use some help in compiling dbmail on Solaris 10. I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -c quota.c gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -c imap4.c imap4.c: In function `IMAPClientHandler': imap4.c:238: warning: int format, pid_t arg (arg 3) gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -c imaputil.c imaputil.c: In function `date_sql2imap': imaputil.c:1808: error: structure has no member named `tm_gmtoff' imaputil.c:1808: error: structure has no member named `tm_gmtoff' gmake[2]: *** [imaputil.o] Error 1 gmake[2]: Leaving directory `/root/dbmail_snapshot' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/dbmail_snapshot' gmake: *** [all-recursive-am] Error 2 My understanding is that the tm_gmtoff function is not available in Solaris, only on Linux and BSD's . How can I work around this? --Patrick
