I had the same error, found no good solution anywhere.
I finally managed to "make it go away" by installing the qmailadmin-devel
1.2.1, which seems to compile and work fine.
I 'm not a programmer, but I think the error has something to do with the
version of your gcc compiler, which would be "too new" and might stumble
upon warnings of undeclared stuff. I had the error on Mandrake 10 which uses
gcc 3.3.2-6mdk.
Conclusion: install qmailadmin 1.2.1
Cheers,
Tom
----- Original Message -----
From: Gustav Hejdenberg
To: [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 15:55
Subject: [qmailadmin] Compilation Error
I get this error when I try to install Qmailadmin 1.20
How do I fix this error ?
---------------------------------------
cgi-bin dir = /home/web/cgi-bin
html dir = /home/web/www/qmailadmin
image dir = /home/web/www/qmailadmin/images/qmailadmin
image URL = /images/qmailadmin
template dir = /usr/local/share/qmailadmin
qmail dir = /var/qmail
vpopmail dir = /home/vpopmail
autorespond dir = /usr/bin
ezmlm dir = /usr/local/bin/ezmlm
ezmlm idx = no
mysql for ezmlm = no
help = yes
modify quota = no
domain autofill = yes
modify spam check = no
[EMAIL PROTECTED]:/tmp/qmail/qmailadmin-1.2.0# make
make all-am
make[1]: Entering directory `/tmp/qmail/qmailadmin-1.2.0'
source='alias.c' object='alias.o' libtool=no \
depfile='.deps/alias.Po' tmpdepfile='.deps/alias.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -I. -I/home/vpopmail/include -I. -I. -I. -g -O2 -c `test -f
'alias.c' || echo './'`alias.c
alias.c: In function `show_dotqmail_lines':
alias.c:81: `MAXALIASESPERPAGE' undeclared (first use in this function)
alias.c:81: (Each undeclared identifier is reported only once
alias.c:81: for each function it appears in.)
alias.c:209: `CGIPATH' undeclared (first use in this function)
alias.c: In function `show_dotqmail_file':
alias.c:291: `CGIPATH' undeclared (first use in this function)
alias.c:304: `IMAGEURL' undeclared (first use in this function)
make[1]: *** [alias.o] Error 1
make[1]: Leaving directory `/tmp/qmail/qmailadmin-1.2.0'
make: *** [all] Error 2