>>I'm trying to compile qpopper 4.0.3 with kerberos support >>on a mandrake 8.2 linux box (gcc 2.96) with MIT >>kerberos 1.2.6 installed and working. >>without kerberos support "make" works fine, with >>kerberos I get the following error message:
[cut] >>/root/tmp/qpopper4.0.3/common/maillock.c:278: the use of `tempnam' is dangerous, be >>tter use `mkstemp' >>/usr/local/lib/libkrb5util.a(compat_recv.o): In function `krb_v4_recvauth': >>compat_recv.o(.text+0x71c): undefined reference to `krb_net_read' >>compat_recv.o(.text+0x756): undefined reference to `krb_net_read' > You need to add -lkrb -ldes425 (and maybe -lresolv) to the link line. > --Ken hi Ken, I must confess, i don't have idea of what the "link line" is.. :) anyway, I was able to compile correctly adding "-lkrb4" and "-lresolv" to the "LIBS" line in popper/Makefile, but I needed to place "-lkrb4" immediately after or immediately before "-lkrb5". this seems a strange behaviour to me, but I'm not a unix guru.. thank you again alessandro p.s.: to compile succesfully "-lkrb4" must be added even if kerberos 4 compatibility is disabled in config.h, as explained in qpopper manual.
