Hi! Hat schon jemand versucht, pident-3.0.7 mit Verschlüsselung zu kompilieren? ld steigt immer beim Linken von idecrypt aus: idecrypt.o: In function `decrypt_packet': pidentd-3.0.7/src/idecrypt.c:169: undefined reference to `s_inet_ntoa' pidentd-3.0.7/src/idecrypt.c:167: undefined reference to `s_inet_ntoa' collect2: ld returned 1 exit status Ein Blick in die Datei zeigt (Zeilen 166-169): s_inet_ntoa(ip_local, buf1, sizeof(buf1)), (unsigned) ntohs(r.fields.port_local), s_inet_ntoa(ip_remote, buf2, sizeof(buf2)), (unsigned) ntohs(r.fields.port_remote)); Ein grep nach s_inet_ntoa ergibt: idecrypt.c: s_inet_ntoa(ip_local, buf1, sizeof(buf1)), idecrypt.c: s_inet_ntoa(ip_remote, buf2, sizeof(buf2)), kernel.c: s_inet_ntoa(kp->remote.sin_addr, buf1, sizeof(buf1)), kernel.c: s_inet_ntoa(kp->local.sin_addr, buf1, sizeof(buf1)), send.c: s_inet_ntoa(remote_addr->sin_addr, buf2, sizeof(buf2)), send.c: s_inet_ntoa(kp->remote.sin_addr, buf2, sizeof(buf2)), send.c: s_inet_ntoa(remote_addr->sin_addr, buf2, sizeof(buf2)), support.c:s_inet_ntoa(struct in_addr ia, support.h:extern char *s_inet_ntoa(struct in_addr ia, char *buf, size_t bufsize) Diese Funktion wird wohl nur in support.h deklariert, allerdings in einer ganz anderen Art. Ein include "support.h" bringt gar nichts. Außerdem gibt es noch ständig die Warnungen: /usr/include/stdint.h:50: warning: empty declaration /usr/include/stdint.h:51: warning: empty declaration /usr/include/stdint.h:52: warning: empty declaration Aktuelle Potato mit den installierten Paketen libssl09-dev und kerberos4kth-dev. Warum gibt es eigentlich unter Non-US kein pidentd mit einkompilierter Verschlüsselung? Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: rzsss@rzawb02.rz.uni-saarland.de | | WWW: http://fsing.fs.uni-sb.de/~stse/ | | PGP Public Keys: http://fsing.fs.uni-sb.de/~stse/pgp.html |
Attachment:
pgpUD9_Vb3ufj.pgp
Description: PGP signature