[gnutls-devel] memmem missing when trying to compile gnutls 3.5.2 on Solaris

Dagobert Michelsen dam at opencsw.org
Mon Jul 11 14:28:39 CEST 2016


Hi Nikos,

Am 09.07.2016 um 00:44 schrieb Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com>:
> On Fri, 2016-07-08 at 22:10 +0200, Dagobert Michelsen wrote:
>> I noticed „memmem“ is missing when trying to compile the testsuite
>> for gnutls 3.5.2 on Solaris:
>> 
>> gmake[3]: 'setcredcrash' is up to date.
>>   CCLD     resume-x509
>> ld: warning: file /home/dam/mgar/pkg/gnutls3/trunk/work/solaris10-
>> sparc/build-isa-sparcv8plus/gnutls-3.5.2/lib/.libs/libgnutls.so:
>> linked to ../lib/.libs/libgnutls.so: attempted multiple inclusion of
>> file
>> Undefined                       first referenced
>>  symbol                             in file
>> memmem                              resume_x509-resume.o
>> ld: fatal: symbol referencing errors. No output written to resume-
>> x509
>> collect2: error: ld returned 1 exit status
>> I suggest to import memmem from gnulib if necessary.
> 
> Memmem() is included in gnutls via gnulib (in gl/ directory) and should
> be used in systems that don't have it. Could you check in your logs why
> it is not used?

I think this is missing:

> dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/gnutls3/trunk/work/solaris10-sparc/build-isa-sparcv8plus/gnutls-3.5.2/tests > git diff --no-color Makefile.am
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index e1f365f..0be380f 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -53,6 +53,7 @@ AM_CPPFLAGS = \
>  AM_LDFLAGS = -no-install
>  LDADD = ../lib/libgnutls.la \
>         libutils.la \
> +       ../gl/libgnu.la \
>         $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSECCOMP)
> 
>  dane_LDADD = $(LDADD) ../libdane/libgnutls-dane.la

Unfortunately I can’t test right now as I don’t have recent enough gettext
at hand - another thing on my todo list for quite some time:
  https://buildfarm.opencsw.org/buildbot/waterfall?category=ggettext


Best regards

  — Dago


--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/attachments/20160711/29068ed4/attachment-0001.sig>


More information about the Gnutls-devel mailing list