[gnutls-help] Compiling gnutls 3.3 with Solaris Studio 12.2
Nikos Mavrogiannopoulos
nmav at gnutls.org
Fri Oct 24 20:24:08 CEST 2014
On Thu, 2014-10-23 at 15:08 -0700, Mat Troi wrote:
> Hi,
>
> Adding the #if defined(__linux__) doesn't work. Removing the line
> works. I tried switching to GNU compiler and got past that problem.
> I cannot find equivalent syntax in Solaris Studio.
would using .ifdef __linux__ and .endif instead work?
> This is a totally unrelated problem, I have a bunch of missing symbol
> references, but from the configure, nettle was found
> checking for NETTLE... yes
> The error for undefined symbol is:
> Undefined first referenced
> symbol in file
> nettle_gcm_aes_decrypt nettle/.libs/libcrypto.a(cipher.o)
> nettle_rsa_pkcs1_sign_tr nettle/.libs/libcrypto.a(pk.o)
> nettle_ecc_scalar_set nettle/.libs/libcrypto.a(pk.o)
> nettle_ecc_scalar_get nettle/.libs/libcrypto.a(pk.o)
> nettle_sha512_digest nettle/.libs/libcrypto.a(mac.o)
> nettle_sha512_update nettle/.libs/libcrypto.a(mac.o)
> ....
If you are using nettle 2.7.1, these symbols should be there. Could it
be that you have two different versions of nettle in your system that
conflict?
regards,
Nikos
More information about the Gnutls-help
mailing list