help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling libtasn1 2.8 on Solaris 9


From: Simon Josefsson
Subject: Re: Problem compiling libtasn1 2.8 on Solaris 9
Date: Thu, 30 Sep 2010 17:25:55 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Dagobert Michelsen <address@hidden> writes:

> Hi Simon,
>
> I get a compile error on Solaris 9 Sparc with Sun Studio 12:
>
>> Undefined                       first referenced
>>  symbol                             in file
>> rpl_ftello                          Test_parser.o
>
> Would you mind having a look?

Hi Dagobert.  I have fixed it in git HEAD, see patch below.  I'll roll a
new release shortly, since I also noticed that Libtasn1's bug reporting
address still pointed at the GnuTLS mailing list.

/Simon

>From 780704afc76297c2b45e48d9e1d996793b7f94de Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Thu, 30 Sep 2010 17:24:12 +0200
Subject: [PATCH] tests: Link to gnulib to avoid build error related to 
'rpl_ftello' on Solaris.

Reported by Dagobert Michelsen.
---
 NEWS              |    2 ++
 tests/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index afbdcb9..46383b1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 GNU Libtasn1 NEWS                                     -*- outline -*-
 
 * Noteworthy changes in release 2.9 (????-??-??) [stable]
+- tests: Link to gnulib to avoid build error related to 'rpl_ftello' on 
Solaris.
+  Reported by Dagobert Michelsen.
 
 * Noteworthy changes in release 2.8 (2010-09-25) [stable]
 - Update gnulib files.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index dec81be..c3f65cd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -20,7 +20,7 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
 
 AM_LDFLAGS = -no-install
-LDADD = ../lib/libtasn1.la
+LDADD = ../lib/libtasn1.la ../gl/libgnu.la
 
 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c        \
        Test_encoding.asn pkix.asn TestIndef.p12
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]