[gnutls-help] gnutls_record_set_timeout not in libgnutls.so.28

Graham Murray GMurray at webwayone.co.uk
Thu Aug 29 11:16:13 CEST 2013


Using gnutls 3.2.3.

When I include calls to the function gnutls_set_record_timeout() in my
application, I get the error message 
ssl.o: In function `ssl_connect_monitor':
ssl.c:(.text+0x1a4f): undefined reference to `gnutls_record_set_timeout'
collect2: error: ld returned 1 exit status

graham at gmdev ~ $ readelf -s /usr/lib64/libgnutls.so.28 | grep gnutls_record
   294: 0000000000027b50   268 FUNC    GLOBAL DEFAULT   12 gnutls_record_uncork@@GNUTLS_3_1_0
   299: 0000000000057220    80 FUNC    GLOBAL DEFAULT   12 gnutls_record_overhead_si@@GNUTLS_3_1_0
   358: 0000000000024c30   133 FUNC    GLOBAL DEFAULT   12 gnutls_record_can_use_len@@GNUTLS_3_1_0
   551: 00000000000584d0    52 FUNC    GLOBAL DEFAULT   12 gnutls_record_get_discard@@GNUTLS_3_0_0
   579: 000000000004c380    59 FUNC    GLOBAL DEFAULT   12 _gnutls_record_set_defaul@@GNUTLS_PRIVATE
   612: 0000000000025300    46 FUNC    GLOBAL DEFAULT   12 gnutls_record_disable_pad@@GNUTLS_1_4
   639: 0000000000027b10    56 FUNC    GLOBAL DEFAULT   12 gnutls_record_cork@@GNUTLS_3_1_0
   786: 00000000000a7ea0   178 FUNC    GLOBAL DEFAULT   12 gnutls_record_set_max_siz@@GNUTLS_1_4
   843: 00000000000a7e60    53 FUNC    GLOBAL DEFAULT   12 gnutls_record_get_max_siz@@GNUTLS_1_4
   913: 000000000004cb40    58 FUNC    GLOBAL DEFAULT   12 gnutls_record_get_directi@@GNUTLS_1_4
   946: 000000000002b910    53 FUNC    GLOBAL DEFAULT   12 gnutls_record_check_pendi@@GNUTLS_1_4
   951: 0000000000027cc0    85 FUNC    GLOBAL DEFAULT   12 gnutls_record_recv_seq@@GNUTLS_3_0_0
  1045: 0000000000025330    52 FUNC    GLOBAL DEFAULT   12 gnutls_record_set_max_emp@@GNUTLS_3_1_0
  1050: 0000000000027a50   183 FUNC    GLOBAL DEFAULT   12 gnutls_record_send@@GNUTLS_1_4
  1056: 0000000000027c60    85 FUNC    GLOBAL DEFAULT   12 gnutls_record_recv@@GNUTLS_1_4
  1100: 0000000000024f10   787 FUNC    GLOBAL DEFAULT   12 gnutls_record_send_range@@GNUTLS_3_1_0



More information about the Gnutls-help mailing list