-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

And the pertinent text:

cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp
list.o debug.o pipe.o mime.o pgsql/dbpgsql.o dbmd5.o md5.o bounce.o
forward.o memblock.o pgsql/dbauthpgsql.o config.o
- -L/usr/lib/postgresql/lib/ -I/usr/include/postgresql/ -lpq -lcrypto -lssl
- -lkrb5
/usr/lib/postgresql/lib//libpq.a(fe-auth.o)(.text+0xfb): In function
`pg_krb5_init':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/postgresql/lib//libpq.a(fe-auth.o)(.text+0x135): In function
`pg_krb5_init':
: undefined reference to `krb5_cc_close'
/usr/lib/postgresql/lib//libpq.a(fe-auth.o)(.text+0x1c7): In function
`pg_krb5_init':
: undefined reference to `krb5_cc_close'
collect2: ld returned 1 exit status
make: *** [smtp] Error 1
Sorry, Make failed.

The above functions exist in /usr/include/krb5.h:

chiriqui:/usr/include# grep krb5_cc_get_principal krb5.h 
krb5_cc_get_principal (krb5_context context, krb5_ccache cache,
#define krb5_cc_get_principal(context, cache, principal)               
#krb5_x ((cache)->ops->get_princ,(context, cache, principal))

chiriqui:/usr/include# grep krb5_cc_close krb5.h 
krb5_cc_close (krb5_context context, krb5_ccache cache);
#define krb5_cc_close(context, cache)                                  
#krb5_x ((cache)->ops->close,(context, cache))

I've even tried adding:
#include <krb5.h>
to some of the .c files, but it doesn't seem to help (or I've chosen the
wrong files).

Running Debian 3.0 unstable

Hints, FMs to read, whatever, appreciated.

TIA,

David A. Bandel
- -- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE983Uc3uVcotqGMQcRAnbeAJ4nE4309hUn5o4iwMtnVzd3k1/aRgCeInmy
5iUwVWnAVQMosdhaTm0PWl8=
=VIJz
-----END PGP SIGNATURE-----

Reply via email to