The other solution to this problem, is adding something to the Makefile.

-I~vpopmail/include and -L~vpopmail/lib

That works as well.

Mad.


On Fri, 2 Feb 2001, Lindsay Haisley wrote:

> You probably don't have vpopmail set up properly.  Make sure that
> ~vpopmail/etc/inc_deps and ~vpoopmail/etc/lib_deps exist and are readable by
> the user doing the qmailadmin compile.
> 
> This problem can occur if the configure for vpopmail wasn't done as root,
> which is definitely a nasty on the part of vpopmail which needs to be fixed.
> 
> I had a similar problem and had to go back and run the vpopmail configure as
> root, which created the required files, and the problem went away.
> 
> Thus spake ���� on Fri, Feb 02, 2001 at 04:16:58AM CST
> >     I use the qmailadmin-0.42.tar.gz and copy the vpopmail.h��vauth.h to the 
>qmailadmin's unpacked directory,and the config.h in vpopmail as vpopmail_config.h to 
>qmailadmin's directory.
> > 
> >     here is what i did in my setup:
> > 
> > 
> > /configure
> > make
> > 
> > then the error happened! the following is errors:
> > 
> > qmailadmin.o: In function `main':
> > /qmail/qmailadmin-0.42/qmailadmin.c:122: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/qmailadmin.c:125: undefined reference to `vget_assign'
> > /qmail/qmailadmin-0.42/qmailadmin.c:164: undefined reference to `vget_assign'
> > /qmail/qmailadmin-0.42/qmailadmin.c:194: undefined make[2]: Leaving directory 
>`/qmail/qmailadmin-0.42'
> > make[1]: Leaving directory `/qmail/qmailadmin-0.42'
> > /qmail/qmailadmin-0.42/qmailadmin.c:229: undefined reference to `vget_assign'
> > alias.o: In function `show_redirect_lines':
> > /qmail/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
> > /qmail/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
> > /qmail/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
> > alias.o: In function `doredirect':
> > /qmail/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
> > /qmail/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
> > /qmail/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
> > alias.o: In function `moddotqmailnow':
> > /qmail/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
> > alias.o: In function `adddotqmailnow':
> > /qmail/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
> > alias.o: In function `delredirectnow':
> > /qmail/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
> > /qmail/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
> > /qmail/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
> > autorespond.o: In function `delautorespondnow':
> > /qmail/qmailadmin-0.42/autorespond.c:236: undefined reference to `vdelfiles'
> > mailinglist.o: In function `delmailinglistnow':
> > /qmail/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
> > /qmail/qmailadmin-0.42/mailinglist.c:287: undefined reference to `vdelfiles'
> > mailinglist.o: In function `showlistusers':
> > /qmail/qmailadmin-0.42/mailinglist.c:439: undefined reference to `lowerit'
> > mailinglist.o: In function `showlistmod':
> > /qmail/qmailadmin-0.42/mailinglist.c:484: undefined reference to `lowerit'
> > mailinglist.o: In function `addlistusernow':
> > /qmail/qmailadmin-0.42/mailinglist.c:539: undefined reference to `lowerit'
> > mailinglist.o: In function `addlistmodnow':
> > /qmail/qmailadmin-0.42/mailinglist.c:573: undefined reference to `lowerit'
> > mailinglist.o: In function `dellistusernow':
> > /qmail/qmailadmin-0.42/mailinglist.c:676: undefined reference to `lowerit'
> > mailinglist.o:/qmail/qmailadmin-0.42/mailinglist.c:706: more undefined references 
>to `lowerit' follow
> > user.o: In function `show_user_lines':
> > /qmail/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
> > /qmail/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
> > /qmail/qmailadmin-0.42/user.c:125: undefined reference to `vauth_getall'
> > /qmail/qmailadmin-0.42/user.c:130: undefined reference to `vauth_getall'
> > /qmail/qmailadmin-0.42/user.c:175: undefined reference to `vauth_getall'
> > user.o: In function `addusernow':
> > /qmail/qmailadmin-0.42/user.c:332: undefined reference to `vadduser'
> > user.o: In function `modusergo':
> > /qmail/qmailadmin-0.42/user.c:378: undefined reference to `vpasswd'
> > /qmail/qmailadmin-0.42/user.c:381: undefined reference to `vauth_getpw'
> > /qmail/qmailadmin-0.42/user.c:383: undefined reference to `vauth_setpw'
> > user.o: In function `delusergo':
> > /qmail/qmailadmin-0.42/user.c:493: undefined reference to `vdeluser'
> > user.o: In function `count_users':
> > /qmail/qmailadmin-0.42/user.c:545: undefined reference to `vauth_getall'
> > util.o: In function `check_email_addr':
> > /qmail/qmailadmin-0.42/util.c:90: undefined reference to `lowerit'
> > util.o: In function `fixup_local_name':
> > /qmail/qmailadmin-0.42/util.c:123: undefined reference to `lowerit'
> > template.o: In function `send_template':
> > /qmail/qmailadmin-0.42/template.c:338: undefined reference to `vauth_getall'
> > /qmail/qmailadmin-0.42/template.c:342: undefined reference to `vauth_getall'
> > command.o: In function `setdefaultaccount':
> > /qmail/qmailadmin-0.42/command.c:209: undefined reference to `vauth_getpw'
> > collect2: ld returned 1 exit status
> > make[2]: *** [qmailadmin] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive-am] Error 2
> > 
> >     the vpopmail and qmailadmin's unpacked source directories are in the same 
>level. it seems that the make can't find the vpopmail's c files? but how to do to 
>resolve it?
> > 
> 
> -- 
> Lindsay Haisley       | "Everything works    |     PGP public key
> FMP Computer Services |       if you let it" |      available at
> 512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
> http://www.fmp.com    |                      |
> 

Reply via email to