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

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Sat Jul 9 00:44:36 CEST 2016


On Fri, 2016-07-08 at 22:10 +0200, Dagobert Michelsen wrote:
> Hi,
> 
> 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?

regards,
Nikos




More information about the Gnutls-devel mailing list