Hey guys,

I've been struggling with getting qmailadmin to compile. 

I've got all the pieces installed, sQwebmail working happily, etc, but I
can't seem to get qmailadmin happy.

I'm using this as my configure line (although I've tried just plain
./configure):

./configure --enable-vpopmaildir=/home/vpopmail
--enable-htmldir=/var/www/html --enable-cgibindir=/var/www/cgi-bin
--with-htmllibdir=/var/www/qmailadminlib --enable-qmaildir=/var/qmail
--enable-autoresponder-bin=/usr/bin/qmail-autoresponder=/usr/local/bin/ezmlm


When I do a make I get:

[root@fax qmailadmin-0.45]# make clean
Making clean in .
make[1]: Entering directory `/root/qmailadmin-0.45'
test -z "qmailadmin" || rm -f qmailadmin
rm -f *.o core *.core
make[1]: Leaving directory `/root/qmailadmin-0.45'
[root@fax qmailadmin-0.45]# make
make  all-recursive
make[1]: Entering directory `/root/qmailadmin-0.45'
make[2]: Entering directory `/root/qmailadmin-0.45'
gcc -I. -I/home/vpopmail/include      -g -O2 -c qmailadmin.c
qmailadmin.c: In function `main':
qmailadmin.c:122: warning: assignment from incompatible pointer type
qmailadmin.c:206: warning: assignment from incompatible pointer type
gcc -I. -I/home/vpopmail/include      -g -O2 -c alias.c
alias.c: In function `show_redirect_lines':
alias.c:295: warning: assignment from incompatible pointer type
alias.c: In function `doredirect':
alias.c:326: warning: assignment from incompatible pointer type
alias.c: In function `moddotqmailnow':
alias.c:409: warning: assignment from incompatible pointer type
alias.c: In function `adddotqmailnow':
alias.c:501: warning: assignment from incompatible pointer type
alias.c: In function `delredirectnow':
alias.c:582: warning: assignment from incompatible pointer type
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o show.o
cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -L/usr/lib/mysql
-lmysqlclient -lz -lnsl -lm -lcrypt 
alias.o: In function `show_redirect_lines':
/root/qmailadmin-0.45/alias.c:301: undefined reference to `slen'
/root/qmailadmin-0.45/alias.c:303: undefined reference to `scopy'
/root/qmailadmin-0.45/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/root/qmailadmin-0.45/alias.c:333: undefined reference to `slen'
/root/qmailadmin-0.45/alias.c:335: undefined reference to `scopy'
/root/qmailadmin-0.45/alias.c:336: undefined reference to `scat'
alias.o: In function `delredirectnow':
/root/qmailadmin-0.45/alias.c:587: undefined reference to `slen'
/root/qmailadmin-0.45/alias.c:589: undefined reference to `scopy'

And it continues. 

Seems like some libraries or something might be missing?


Reply via email to