I am having troubles with compiling the IPv6 tunnel agent, AICCU with GnutLS-3.4 (works fine with 3.3).

Is 3.4 incompatible with 3.3, or are there other reasons why it failes? Sample compile output:

=================================

   x86_64-pc-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -march=native
   -mtune=native -msse3 -D_GNU_SOURCE -D AICCU_CONSOLE -D AICCU_GNUTLS
   -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""   -c -o
   ../common/aiccu_linux.o ../common/aiccu_linux.c
   In file included from ../common/aiccu.h:17:0,
                     from ../common/aiccu_linux.c:13:
   ../common/common.h:384:2: warning: ‘gnutls_session’ is deprecated
   [-Wdeprecated-declarations]
      gnutls_session  session; /* The GnuTLS sesision */
      ^
   In file included from ../common/aiccu_linux.c:13:0:
   ../common/aiccu.h:114:2: warning: ‘gnutls_certificate_credentials’
   is deprecated [-Wdeprecated-declarations]
      gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
      ^
   ../common/aiccu_linux.c: In function ‘aiccu_os_install’:
   ../common/aiccu_linux.c:21:3: warning: ignoring return value of
   ‘system’, declared with attribute warn_unused_result [-Wunused-result]
       (void)system("modprobe -q ipv6 2>/dev/null >/dev/null");
       ^
   ../common/aiccu_linux.c:36:2: warning: ignoring return value of
   ‘system’, declared with attribute warn_unused_result [-Wunused-result]
      (void)system("modprobe -q sit 2>/dev/null >/dev/null");
      ^
   ../common/aiccu_linux.c:37:2: warning: ignoring return value of
   ‘system’, declared with attribute warn_unused_result [-Wunused-result]
      (void)system("modprobe -q tun 2>/dev/null >/dev/null");
      ^
   x86_64-pc-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -march=native
   -mtune=native -msse3 -D_GNU_SOURCE -D AICCU_CONSOLE -D AICCU_GNUTLS
   -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""
   -Wl,-O1,--sort-common,--enable-new-dtags -o aiccu main.o
   ../common/tun.o ../common/aiccu.o ../common/hash_md5.o
   ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o
   ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o
   ../common/resolver.o ../common/aiccu_linux.o -lgnutls -lpthread -lresolv
   ../common/common.o: In function `sock_alloc':
   common.c:(.text+0x5c7): undefined reference to
   `gnutls_certificate_type_set_priority'
   collect2: error: ld returned 1 exit status
   Makefile:148: recipe for target 'aiccu' failed
   make: *** [aiccu] Error 1
   make: Leaving directory
   
'/mnt/storageTemp/portage/portage/net-misc/aiccu-2007.01.15-r4/work/aiccu/unix-console'

=================================

The source is rather old. 2007 is last update according to : https://www.sixxs.net/tools/aiccu/

~A

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to