Hello all,

I am a new user for qmail and sqwebmail,and I Compile SqWebMail Failed on my
solaris 7 SPARC with vpopmail4.9.6+mysql+qmail 1.03,and get a error
message below.

first ./configure --with-authvchkpw
then edit authlib/Makefile replace CRYTLIBS= lcrypt with CRYTLIBS =
-lcrypt -L/usr/lib/mysql -lmysqlclient
and edit sewebmail/Makefile replace LIBS = with LIBS = -lcrypt
-L/usr/lib/mysql -lmysqlclient.
then I run make,get a error message
It seemed like some error with open_smtp_relay!!!
please help me to solve it!
I am very very thanks

---------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -c 
authmoduser.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -c 
authmoduser2.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -c 
authmoduser3.c
rm -f libauthmod.a
ar cru libauthmod.a authmod.o authmodclient.o authmodfail.o authmoduser.o 
authmoduser2.o authmoduser3.o 
ranlib libauthmod.a
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -c 
modauthcustom.c
gcc  -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -L/home/vmail/lib  -o authcustom  
modauthcustom.o libauthmod.a
libauth.a  ../md5/libmd5.a  -lcrypt -L/usr/lib/mysql -lmysqlclient 
gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -c 
modauthvchkpw.c
gcc  -I/home/vmail/include -g -O2 -Wall -I.. -I./.. -L/home/vmail/lib  -o authvchkpw  
modauthvchkpw.o libauthmod.a
libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt -L/usr/lib/mysql -lmysqlclient 
Undefined                       first referenced
 symbol                             in file
open_smtp_relay                     libauth.a(preauthvchkpw.o)
ld: fatal: Symbol referencing errors. No output written to authvchkpw
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/home/teng/sqwebmail/sqwebmail-1.2.4/authlib'
make: *** [all-recursive] Error 1
---------------------------------------------------------------



  

-- 
Best regards,
 sqwebmail                          mailto:[EMAIL PROTECTED]



Reply via email to