Build error on 64-bit machine

lfinsto at lfinsto at
Wed Nov 25 10:03:22 CET 2009


When following the instructions for building GNUTLS using `autoreconf' on
a 64-bit machine (x86_64) with Linux kernel version
(OpenSuse), I got the following error:

serv.c: In function 'main':
serv.c:1170: error: cast to pointer from integer of different size
make[3]: *** [serv.o] Error 1
make[3]: Leaving directory `/home/lfinsto/gnutls/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lfinsto/gnutls/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfinsto/gnutls'
make: *** [all] Error 2

The version of GNUTLS was from the GIT repository on Nov. 18, 2009;
version 2.9.10, assuming the version numbers of `certtool' and
`gnutls-cli' correspond with the package version numbers.

I was able to build the package by calling `configure' with the
appropriate argument for turning off the option for treating warnings as
errors, etc.

Laurence Finston

More information about the Gnutls-devel mailing list