compile gnu-tls 2.10.1

Goran Pivac goran.pivac at gmail.com
Mon Aug 30 10:41:19 CEST 2010


Hi,
I'm trying to compile and install gnutls2.10.1 on my AIX6.1 machine
but I'm having difficulties.

This is an error I get:
*****************************
make[1]: Entering directory `/tmp/gnutls-2.10.1'
Making all in lib
make[2]: Entering directory `/tmp/gnutls-2.10.1/lib'
/usr/linux/bin/make  all-recursive
make[3]: Entering directory `/tmp/gnutls-2.10.1/lib'
Making all in gl
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib/gl'
/usr/linux/bin/make  all-recursive
make[5]: Entering directory `/tmp/gnutls-2.10.1/lib/gl'
Making all in tests
make[6]: Entering directory `/tmp/gnutls-2.10.1/lib/gl/tests'
/usr/linux/bin/make  all-recursive
make[7]: Entering directory `/tmp/gnutls-2.10.1/lib/gl/tests'
Making all in .
make[8]: Entering directory `/tmp/gnutls-2.10.1/lib/gl/tests'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl/tests'
make[7]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl/tests'
make[6]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl/tests'
make[6]: Entering directory `/tmp/gnutls-2.10.1/lib/gl'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl'
make[5]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl'
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib/gl'
Making all in po
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib/po'
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib/po'
Making all in includes
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib/includes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib/includes'
Making all in x509
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib/x509'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib/x509'
Making all in minitasn1
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib/minitasn1'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib/minitasn1'
make[4]: Entering directory `/tmp/gnutls-2.10.1/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/lib'
make[3]: Leaving directory `/tmp/gnutls-2.10.1/lib'
make[2]: Leaving directory `/tmp/gnutls-2.10.1/lib'
Making all in libextra
make[2]: Entering directory `/tmp/gnutls-2.10.1/libextra'
/usr/linux/bin/make  all-recursive
make[3]: Entering directory `/tmp/gnutls-2.10.1/libextra'
Making all in gl
make[4]: Entering directory `/tmp/gnutls-2.10.1/libextra/gl'
/usr/linux/bin/make  all-am
make[5]: Entering directory `/tmp/gnutls-2.10.1/libextra/gl'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/tmp/gnutls-2.10.1/libextra/gl'
make[4]: Leaving directory `/tmp/gnutls-2.10.1/libextra/gl'
Making all in includes
make[4]: Entering directory `/tmp/gnutls-2.10.1/libextra/includes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/libextra/includes'
make[4]: Entering directory `/tmp/gnutls-2.10.1/libextra'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/libextra'
make[3]: Leaving directory `/tmp/gnutls-2.10.1/libextra'
make[2]: Leaving directory `/tmp/gnutls-2.10.1/libextra'
Making all in gl
make[2]: Entering directory `/tmp/gnutls-2.10.1/gl'
/usr/linux/bin/make  all-recursive
make[3]: Entering directory `/tmp/gnutls-2.10.1/gl'
Making all in tests
make[4]: Entering directory `/tmp/gnutls-2.10.1/gl/tests'
/usr/linux/bin/make  all-recursive
make[5]: Entering directory `/tmp/gnutls-2.10.1/gl/tests'
Making all in .
make[6]: Entering directory `/tmp/gnutls-2.10.1/gl/tests'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/tmp/gnutls-2.10.1/gl/tests'
make[5]: Leaving directory `/tmp/gnutls-2.10.1/gl/tests'
make[4]: Leaving directory `/tmp/gnutls-2.10.1/gl/tests'
make[4]: Entering directory `/tmp/gnutls-2.10.1/gl'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/gl'
make[3]: Leaving directory `/tmp/gnutls-2.10.1/gl'
make[2]: Leaving directory `/tmp/gnutls-2.10.1/gl'
Making all in src
make[2]: Entering directory `/tmp/gnutls-2.10.1/src'
Making all in cfg
make[3]: Entering directory `/tmp/gnutls-2.10.1/src/cfg'
Making all in platon
make[4]: Entering directory `/tmp/gnutls-2.10.1/src/cfg/platon'
Making all in str
make[5]: Entering directory `/tmp/gnutls-2.10.1/src/cfg/platon/str'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/tmp/gnutls-2.10.1/src/cfg/platon/str'
make[5]: Entering directory `/tmp/gnutls-2.10.1/src/cfg/platon'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/tmp/gnutls-2.10.1/src/cfg/platon'
make[4]: Leaving directory `/tmp/gnutls-2.10.1/src/cfg/platon'
make[4]: Entering directory `/tmp/gnutls-2.10.1/src/cfg'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/gnutls-2.10.1/src/cfg'
make[3]: Leaving directory `/tmp/gnutls-2.10.1/src/cfg'
make[3]: Entering directory `/tmp/gnutls-2.10.1/src'
cli.gaa -o cli-gaa.c -i cli-gaa.h
make[3]: cli.gaa: Command not found
make[3]: [cli-gaa.c] Error 127 (ignored)
make[3]: Leaving directory `/tmp/gnutls-2.10.1/src'
make[2]: Leaving directory `/tmp/gnutls-2.10.1/src'
Making all in doc
make[2]: Entering directory `/tmp/gnutls-2.10.1/doc'
/usr/linux/bin/make  all-recursive
make[3]: Entering directory `/tmp/gnutls-2.10.1/doc'
Making all in examples
make[4]: Entering directory `/tmp/gnutls-2.10.1/doc/examples'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99   -g -O2
-no-install  -o ex-serv1 ex-serv1.o libexamples.la ../../lib/li
bgnutls.la ../../libextra/libgnutls-extra.la ../../gl/libgnu.la
libtool: link: gcc -std=gnu99 -g -O2 -o ex-serv1 ex-serv1.o
./.libs/libexamples.a -L../../lib/.libs -lgnutls
-L../../libextra/.libs
 -lgnutls-extra ../../gl/.libs/libgnu.a
-Wl,-blibpath:/tmp/gnutls-2.10.1/lib/.libs:/tmp/gnutls-2.10.1/libextra/.libs:/usr/local/lib:
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .gcry_control
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[4]: *** [ex-serv1] Error 1
make[4]: Leaving directory `/tmp/gnutls-2.10.1/doc/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/gnutls-2.10.1/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/gnutls-2.10.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gnutls-2.10.1'
make: *** [all] Error 2
*********************************************
???
ld: 0711-317 ERROR: Undefined symbol: .gcry_control
???


I'm using make3.8.
gcc4.2.0.3
and before that I've compiled and installed libgcrypt1.4.6 downloaded
from ftp://ftp.gnupg.org/gcrypt/libgcrypt/

I've also tried with older version of gnutls2.8.6, but error is the same!

I'm new at compiling, but I have a feeling that it's very stupid error!


Does anybody have any idea?




More information about the Gnutls-help mailing list