-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I believe this is a typo as well. I think it should be PQresultStatus and not PGresultStatus Charlie > > now I'm getting the following error: > > > > ------------------------------------------------------------------------ - > - > > /usr/sfw/bin/gcc -I/usr/sfw/include -Wall -o vchkpw vchkpw.o md5.o > > hmac_md5.o libvpopmail.a -L/usr/lib -lpq -lcrypt > > Undefined first referenced > > symbol in file > > PGresultStatus libvpopmail.a(libvpopmail_a-vauth.o) > > ld: fatal: Symbol referencing errors. No output written to vchkpw > > collect2: ld returned 1 exit status > > gmake[2]: *** [vchkpw] Error 1 > > gmake[2]: Leaving directory `/export/home/user/build/qmail/vpopmail- > 5.4.25' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory `/export/home/user/build/qmail/vpopmail- > 5.4.25' > > gmake: *** [all] Error 2 > > ------------------------------------------------------------------------ - > - > > > > Is this a library issue? > > That is weird. PGresultStatus is the proper PostgreSQL function for > returning query status, and if it is ever found, it should always be > found. It is declared in libpq-fe.h somewhere in your system include > files. On OpenSuSE 10.3 mine is in /usr/include/pgsql/. > > Did you do a make clean before switching between compiling for MySQL and > PostgreSQL? I suspect vpopmail has some dependencies that are not > properly checked, so make clean is always a good idea when you change > ./configure options. > > > Rick > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHPPSXcGGHuFdGSWARApyFAJ95ZOtGSVLlGg++xafBh0ewUBu9iQCfTyOc pBFbnS4QH/WZwMV77VaiyhQ= =k9/t -----END PGP SIGNATURE----- !DSPAM:473cf4c932009991415014!