Hope you can help with this,

I have a fresh Redhat 7 Install with all the required updates applied.
Installed qmail and compiled vpopmail in /opt/vpopmail.  No special switches
were passed to configure.
Tested vpopmail can send/recieve messages locally/remotely (pop3d) without
an issue.
Installed ezmlm-idx-0.40.  "ezmlm-test" test script runs with no errors
reported.
Install autoresponder-1.0.0  " can manually set up an autoresponder
sucessfully.

When I go to compile qmailadmin-0.42 I get the following.   Any suggestions.
NOTE: qmailadmin-0.39 compiles fine with no errors.  Same configure switches
used.

Configured with:
./configure --enable-vpopmaildir=/opt/vpopmail --enable-htmldir=/var/www/htm
l --enable-cgibindir=
/var/www/cgi-bin

I also found that I had to modify the Makefile and change "DEFS = -I." to
"DEFS = -I. -I/opt/vpopmail/include"
Otherwise make complained that it couldn't find the vpopmail include files.

[root@redhat7 qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/root/qmailadmin-0.42'
make[2]: Entering directory `/root/qmailadmin-0.42'
gcc -I. -I/opt/vpopmail/include      -g -O2 -c qmailadmin.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c alias.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c autorespond.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c forward.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c mailinglist.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c sysadmin.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c user.c
In file included from user.c:32:
/opt/vpopmail/include/vpopmail_config.h:138:17: warning: "PACKAGE" redefined
config.h:97:1: warning: this is the location of the previous definition
/opt/vpopmail/include/vpopmail_config.h:141:17: warning: "VERSION" redefined
config.h:100:1: warning: this is the location of the previous definition
gcc -I. -I/opt/vpopmail/include      -g -O2 -c util.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c auth.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c template.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c command.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c show.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c cgi.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c limits.c
gcc -I. -I/opt/vpopmail/include      -g -O2 -c dotqmail.c
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  -lnsl -lm -lcrypt
qmailadmin.o: In function `main':
/root/qmailadmin-0.42/qmailadmin.c:122: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/qmailadmin.c:125: undefined reference to `vget_assign'
/root/qmailadmin-0.42/qmailadmin.c:164: undefined reference to `vget_assign'
/root/qmailadmin-0.42/qmailadmin.c:194: undefined reference to `vget_assign'
/root/qmailadmin-0.42/qmailadmin.c:210: undefined reference to `vauth_user'
/root/qmailadmin-0.42/qmailadmin.c:229: undefined reference to `vget_assign'
alias.o: In function `show_redirect_lines':
/root/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/root/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/root/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/root/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/root/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/root/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/root/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
alias.o: In function `adddotqmailnow':
/root/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
alias.o: In function `delredirectnow':
/root/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/root/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/root/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
autorespond.o: In function `delautorespondnow':
/root/qmailadmin-0.42/autorespond.c:236: undefined reference to `vdelfiles'
mailinglist.o: In function `delmailinglistnow':
/root/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/root/qmailadmin-0.42/mailinglist.c:287: undefined reference to `vdelfiles'
mailinglist.o: In function `showlistusers':
/root/qmailadmin-0.42/mailinglist.c:439: undefined reference to `lowerit'
mailinglist.o: In function `showlistmod':
/root/qmailadmin-0.42/mailinglist.c:484: undefined reference to `lowerit'
mailinglist.o: In function `addlistusernow':
/root/qmailadmin-0.42/mailinglist.c:539: undefined reference to `lowerit'
mailinglist.o: In function `addlistmodnow':
/root/qmailadmin-0.42/mailinglist.c:573: undefined reference to `lowerit'
mailinglist.o: In function `dellistusernow':
/root/qmailadmin-0.42/mailinglist.c:676: undefined reference to `lowerit'
mailinglist.o:/root/qmailadmin-0.42/mailinglist.c:706: more undefined
references to `lowerit' follow
user.o: In function `show_user_lines':
/root/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
/root/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
/root/qmailadmin-0.42/user.c:125: undefined reference to `vauth_getall'
/root/qmailadmin-0.42/user.c:130: undefined reference to `vauth_getall'
/root/qmailadmin-0.42/user.c:175: undefined reference to `vauth_getall'
user.o: In function `addusernow':
/root/qmailadmin-0.42/user.c:332: undefined reference to `vadduser'
user.o: In function `modusergo':
/root/qmailadmin-0.42/user.c:378: undefined reference to `vpasswd'
/root/qmailadmin-0.42/user.c:381: undefined reference to `vauth_getpw'
/root/qmailadmin-0.42/user.c:383: undefined reference to `vauth_setpw'
user.o: In function `delusergo':
/root/qmailadmin-0.42/user.c:493: undefined reference to `vdeluser'
user.o: In function `count_users':
/root/qmailadmin-0.42/user.c:545: undefined reference to `vauth_getall'
util.o: In function `check_email_addr':
/root/qmailadmin-0.42/util.c:90: undefined reference to `lowerit'
util.o: In function `fixup_local_name':
/root/qmailadmin-0.42/util.c:123: undefined reference to `lowerit'
template.o: In function `send_template':
/root/qmailadmin-0.42/template.c:338: undefined reference to `vauth_getall'
/root/qmailadmin-0.42/template.c:342: undefined reference to `vauth_getall'
command.o: In function `setdefaultaccount':
/root/qmailadmin-0.42/command.c:209: undefined reference to `vauth_getpw'
collect2: ld returned 1 exit status
make[2]: *** [qmailadmin] Error 1
make[2]: Leaving directory `/root/qmailadmin-0.42'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qmailadmin-0.42'
make: *** [all-recursive-am] Error 2
[root@redhat7 qmailadmin-0.42]#

Any suggestions would be greatly appreciated.
I'm sure I'm missing something obvious, but it eludes me.

Mark

Reply via email to