[gnutls-help] Compiling gnutls on solaris

Mat Troi mattroisang at gmail.com
Fri Sep 26 23:12:44 CEST 2014


Thanks.  I am compiling with gcc .  I used your other solution disable asm
with --disable-hardware-acceleration.  Now I have this error:
"/root/gnutls-3.2.18/src/gl/./parse-datetime.y", line 289: fatal: invalid
escape, or illegal reserved word: pure
*** Error code 1
The following command caused the error:
echo "  GEN     " parse-datetime.c;/bin/sh ../../build-aux/ylwrap
./parse-datetime.y \
                              y.tab.c parse-datetime.c \
                              y.tab.h parse-datetime.h \
                              y.output parse-datetime.output \
                              -- /usr/bin/yacc   && \
mv parse-datetime.c parse-datetime.c-t && \
mv parse-datetime.c-t ./parse-datetime.c
make: Fatal error: Command failed for target `parse-datetime.c'
Current working directory /root/gnutls-3.2.18/src/gl
*** Error code 1


On Fri, Sep 26, 2014 at 12:31 PM, dev <dev at cor0.com> wrote:

>
>
> On September 26, 2014 at 2:20 AM Nikos Mavrogiannopoulos
> <nmav at gnutls.org> wrote:
> > On Thu, 2014-09-25 at 16:42 -0700, Mat Troi wrote:
> > > I modified libtool manually and now I am at:
> > > ld: warning: symbol referencing errors
> > > Text relocation remains                         referenced
> > >     against symbol                  offset      in file
> > > _gnutls_x86_cpuid_s                 0x3a
> > > accelerated/.libs/libaccelerated.a(sha256-ssse3-x86.o)
> > > ld: fatal: relocations remain against allocatable but non-writable
> > > sections
> > > collect2: error: ld returned 1 exit status
> > > *** Error code 1
> >
> > Hi,
> >  This symbol is defined in x86-common.c with
> > __attribute__((visibility("hidden"))) if compiled with gcc. If not
> > you'll have to provide the equivalent for your compiler (and possibly
> > provide a patch).
> >
> > Another solution is to completely disable asm with
> > --disable-hardware-acceleration.
>
> Which is what I do.  That gets past that problem neatly.
>
> dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140926/994d34a1/attachment.html>


More information about the Gnutls-help mailing list