> As I understood it tries to find ~vpopmail/etc/inc_deps and
> ~vpopmail/etc/lib_deps. Just curious, what is inc_deps and lib_deps? I
> guess it has something to do with 4.9.x devel? Am I wrong?

You answer this question below.


>
> # if test -f ${vpopmail_home}/etc/lib_deps
> # then
> CFLAGS="-I/home/vpopmail/include $CFLAGS"

The line that you added is what is in the ~vpopmail/etc/inc_deps

> VPOPMAILLIBS="-L/home/vpopmail/lib"

Yep, what you added here is what is in the ~vpopmain/etc/lib_deps, with the
exception of the '-lvpopmail'.  Also if you compiled with mysql support you
need to add '-lmysqlclient -lz'


 gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..  -o authvchkpw
> modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a
> -L/home/vpopmail/lib -lm -lcrypt
> libauth.a(authvchkpw.o): In function `auth_vchkpw_changepass':
> /usr/tmp/courier-imap-1.3.11.20011014/authlib/authvchkpw.c(.text+0x1ee):
> undefined reference to `vget_assign'

Undefined references are usually caused by the linker not being able to find
the external functions in the library.  You put in the -L~vpopmail/lib, so
you told the linker where to find the library but you missed passing the
'-lvpopmail' telling the linker which library the functions are stored in.

Joe Modjeski
Systems Administrator
CommSpeed

>
> Thank you very much.
> Regards,
> Roman
>
>
>


Reply via email to