[Pidgin] #3106: 2.2.0 build errors ssl-gnutls.c - linux

Pidgin trac at pidgin.im
Sat Sep 15 10:53:46 EDT 2007


#3106: 2.2.0 build errors ssl-gnutls.c - linux
-----------------------+----------------------------------------------------
 Reporter:  bpier      |       Type:  defect
   Status:  new        |   Priority:  minor 
Component:  libpurple  |    Version:  2.2.0 
 Keywords:             |    Pending:  0     
-----------------------+----------------------------------------------------
 compile time errors in ssl-gnutls.c

 platform: Mandriva Linux release 2006.0  2.6.12-17mdk

 previous successful build: libpurple 2.1.1

 ssl-gnutls.c: In function 'ssl_gnutls_handshake_cb':
 ssl-gnutls.c:166: error: syntax error before '*' token
 ssl-gnutls.c:168: error: 'gnutls_session_t' undeclared (first use in this
 function)
 ssl-gnutls.c:168: error: (Each undeclared identifier is reported only once
 ssl-gnutls.c:168: error: for each function it appears in.)
 ssl-gnutls.c:168: error: syntax error before 'session'
 ssl-gnutls.c:171: error: 'cert_list' undeclared (first use in this
 function)
 ssl-gnutls.c:172: error: 'session' undeclared (first use in this function)
 ssl-gnutls.c:185: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:185: error: syntax error before 'cert'
 ssl-gnutls.c:187: error: 'cert' undeclared (first use in this function)
 ssl-gnutls.c: At top level:
 ssl-gnutls.c:366: warning: type defaults to 'int' in declaration of
 'gnutls_datum_t'
 ssl-gnutls.c:366: error: syntax error before 'dt'
 ssl-gnutls.c: In function 'ssl_gnutls_get_peer_certificates':
 ssl-gnutls.c:377: error: syntax error before '*' token
 ssl-gnutls.c:387: error: 'cert_list' undeclared (first use in this
 function)
 ssl-gnutls.c: At top level:
 ssl-gnutls.c:415: error: syntax error before 'gnutls_x509_crt_t'
 ssl-gnutls.c:415: warning: no semicolon at end of struct or union
 ssl-gnutls.c:416: warning: type defaults to 'int' in declaration of
 'x509_crtdata_t'
 ssl-gnutls.c:416: warning: data definition has no type or storage class
 ssl-gnutls.c:419: error: syntax error before '*' token
 ssl-gnutls.c:420: error: syntax error before '*' token
 ssl-gnutls.c:421: warning: return type defaults to 'int'
 ssl-gnutls.c:421: warning: no previous prototype for 'x509_crtdata_addref'
 ssl-gnutls.c: In function 'x509_crtdata_addref':
 ssl-gnutls.c:422: error: 'cd' undeclared (first use in this function)
 ssl-gnutls.c: At top level:
 ssl-gnutls.c:427: error: syntax error before '*' token
 ssl-gnutls.c: In function 'x509_crtdata_delref':
 ssl-gnutls.c:429: error: 'cd' undeclared (first use in this function)
 ssl-gnutls.c: At top level:
 ssl-gnutls.c:460: warning: type defaults to 'int' in declaration of
 'gnutls_datum_t'
 ssl-gnutls.c:460: error: syntax error before 'dt'
 ssl-gnutls.c:461: warning: 'x509_import_from_datum' was used with no
 prototype before its definition
 ssl-gnutls.c: In function 'x509_import_from_datum':
 ssl-gnutls.c:463: error: 'certdat' undeclared (first use in this function)
 ssl-gnutls.c:465: warning: ISO C90 forbids mixed declarations and code
 ssl-gnutls.c:468: error: syntax error before ')' token
 ssl-gnutls.c:474: error: 'dt' undeclared (first use in this function)
 ssl-gnutls.c:474: error: 'mode' undeclared (first use in this function)
 ssl-gnutls.c: In function 'x509_import_from_file':
 ssl-gnutls.c:495: error: 'gnutls_datum_t' undeclared (first use in this
 function)
 ssl-gnutls.c:495: error: syntax error before 'dt'
 ssl-gnutls.c:513: error: 'dt' undeclared (first use in this function)
 ssl-gnutls.c: In function 'x509_export_certificate':
 ssl-gnutls.c:536: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:536: error: syntax error before 'crt_dat'
 ssl-gnutls.c:548: error: 'crt_dat' undeclared (first use in this function)
 ssl-gnutls.c:548: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_copy_certificate':
 ssl-gnutls.c:584: error: 'crtdat' undeclared (first use in this function)
 ssl-gnutls.c:585: warning: ISO C90 forbids mixed declarations and code
 ssl-gnutls.c:590: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_destroy_certificate':
 ssl-gnutls.c:625: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_certificate_signed_by':
 ssl-gnutls.c:643: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:643: error: syntax error before 'crt_dat'
 ssl-gnutls.c:657: error: 'crt_dat' undeclared (first use in this function)
 ssl-gnutls.c:657: error: syntax error before ')' token
 ssl-gnutls.c:658: error: 'issuer_dat' undeclared (first use in this
 function)
 ssl-gnutls.c:658: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_sha1sum':
 ssl-gnutls.c:730: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:730: error: syntax error before 'crt_dat'
 ssl-gnutls.c:736: error: 'crt_dat' undeclared (first use in this function)
 ssl-gnutls.c:736: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_cert_dn':
 ssl-gnutls.c:757: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:757: error: syntax error before 'cert_dat'
 ssl-gnutls.c:764: error: 'cert_dat' undeclared (first use in this
 function)
 ssl-gnutls.c:764: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_issuer_dn':
 ssl-gnutls.c:787: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:787: error: syntax error before 'cert_dat'
 ssl-gnutls.c:794: error: 'cert_dat' undeclared (first use in this
 function)
 ssl-gnutls.c:794: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_common_name':
 ssl-gnutls.c:818: error: 'gnutls_x509_crt_t' undeclared (first use in this
 function)
 ssl-gnutls.c:818: error: syntax error before 'cert_dat'
 ssl-gnutls.c:826: error: 'cert_dat' undeclared (first use in this
 function)
 ssl-gnutls.c:826: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_check_name':
 ssl-gnutls.c:858: error: 'gnutls_x509_crt_t' undeclared (first use in this
 funct
 ion)
 ssl-gnutls.c:858: error: syntax error before 'crt_dat'
 ssl-gnutls.c:864: error: 'crt_dat' undeclared (first use in this function)
 ssl-gnutls.c:864: error: syntax error before ')' token
 ssl-gnutls.c: In function 'x509_times':
 ssl-gnutls.c:876: error: 'gnutls_x509_crt_t' undeclared (first use in this
 funct
 ion)
 ssl-gnutls.c:876: error: syntax error before 'crt_dat'
 ssl-gnutls.c:884: error: 'crt_dat' undeclared (first use in this function)
 ssl-gnutls.c:884: error: syntax error before ')' token

 ---

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3106>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list