Hello Laszlo,
Good hint. We are building against openssl-0.9.7f-7.10. For testing purposes I have commented out the INCLUDE of md5.h in nonce.c, now the module compiles with the following warning:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"auth"' -DNAME='"kamailio"' -DVERSION='"1.5.3-tls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.0.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DUSE_LOCAL_ROUTE -DF_MALLOC -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/openssl -c nonce.c -o nonce.o nonce.c: In function âcalc_nonceâ: nonce.c:116: warning: implicit declaration of function âMD5Initâ nonce.c:126: warning: implicit declaration of function âMD5Updateâ nonce.c:129: warning: implicit declaration of function âU_MD5Finalâ
I'll try to see if this is functional now. However, it feels like a "dirty hack".
Best regards, Martin
________________________________
Von: voipfreak.net@gmail.com [mailto:voipfreak.net@gmail.com] Im Auftrag von Laszlo Gesendet: Montag, 30. November 2009 17:57 An: Martin Koenig Betreff: Re: [Kamailio-Users] Compiling nonce.o (Auth Module) with TLS=1 fails
Hi Martin,
[...]
Which version of openssl you have? You might find this interesting: http://bugs.gentoo.org/146780 (botton of the page)
-Laszlo