[gnutls-devel] gnutls-3.2.1 does not build on Solaris 10

Jörn Clausen joern.clausen at uni-bielefeld.de
Wed Jul 10 13:15:56 CEST 2013


Building gnutls-3.2.1 fails on Solaris 10, because "nanosleep" is not found:

   CCLD   psktool
Undefined                       first referenced
  symbol                             in file
nanosleep                           ../lib/.libs/libgnutls.so
ld: fatal: Symbol referencing errors. No output written to .libs/psktool
collect2: error: ld returned 1 exit status
gmake[4]: *** [psktool] Error 1


This function is implemented in /usr/lib/librt.so:

NAME
      nanosleep - high resolution sleep

SYNOPSIS
      cc [ flag... ] file... -lrt [ library... ]
      #include <time.h>


-- 
  Jörn Clausen                             joern.clausen at uni-bielefeld.de
  Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
  Universität Bielefeld



More information about the Gnutls-devel mailing list