[gnutls-help] Compiling gnutls 3.3 with Solaris Studio 12.2
mattroisang at gmail.com
Fri Oct 24 00:08:39 CEST 2014
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
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
But where is nettle_hmac_sha512_update defined?
On Thu, Oct 23, 2014 at 12:14 AM, Nikos Mavrogiannopoulos <nmav at gnutls.org>
> On Thu, Oct 23, 2014 at 9:09 AM, Nikos Mavrogiannopoulos
> <nmav at gnutls.org> wrote:
> > On Wed, Oct 22, 2014 at 4:36 AM, Mat Troi <mattroisang at gmail.com> wrote:
> >> Hi,
> >> While compiling gnutls 3.3 with Solaris Studio 12.2, I got the error
> >> 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
> >> 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__)
> block work in solaris?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-help