Try to upgrade your vpopmail to latest version first before compiling
sqwebmail. It may help.
Francis P. Ling writes:
>
> What is happening to this compilation? My configure is
>
> /configure --with-htmllibdir=/usr/local/share/sqwebmail/test
> --enable-cgibindir=/home/httpd/cgi-bin --enable-webpass=no
> --enable-imagedir=/home/httpd/html/images/test --with-module-authvchkpw
> --enable-webpass=vpopmail --enable-maxpurge=30 --enable-hardtimeout=21600
> --enable-softtimeout=21600 --enable-autopurge=7
> --enable-imageurl=http://mail.pansar.com.my/images/test
>
>
> make[2]: Entering directory `/root/download/sqwebmail-1.2.0/authlib'
> gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/home/vpopmail/lib
> -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a
> -lvpopmail -lm -lcrypt
> libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
> /root/download/sqwebmail-1.2.0/authlib/preauthvchkpw.c:86: undefined
> reference to `open_smtp_relay'
> collect2: ld returned 1 exit status
> make[2]: *** [authvchkpw] Error 1
> make[2]: Leaving directory `/root/download/sqwebmail-1.2.0/authlib'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/root/download/sqwebmail-1.2.0'
> make: *** [install-strip] Error 2
>