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.
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) .... I tried to do a find in the nettle directory and found #define hmac_sha512_update nettle_hmac_sha512_update #define hmac_sha384_update nettle_hmac_sha512_update ./hmac.h But where is nettle_hmac_sha512_update defined? Thanks, Matt On Thu, Oct 23, 2014 at 12:14 AM, Nikos Mavrogiannopoulos <[email protected]> wrote: > On Thu, Oct 23, 2014 at 9:09 AM, Nikos Mavrogiannopoulos > <[email protected]> wrote: > > On Wed, Oct 22, 2014 at 4:36 AM, Mat Troi <[email protected]> wrote: > >> Hi, > >> > >> While compiling gnutls 3.3 with Solaris Studio 12.2, I got the error > below: > >> > >> Assembler: > >> "elf/cpuid-x86_64.s", line 59 : Syntax error > >> Near line: ".section .note.GNU-stack,"",%progbits" > >> cc: fbe failed for elf/cpuid-x86_64.s > >> > >> I did a little research and found this has to do with hinting this > object > >> file does not require an executable stack, but I could not find any > hint on > >> fixing the error. Has anyone seen and know how to fix? > > Hi, > > You can simply remove that line, or compile using gnu as. If you know > > some way to express that portably for the solaris as it would be > > better. > > btw. would putting that line in > #if defined(__linux__) > > #endif > > block work in solaris? > > regards, > Nikos >
_______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
