mainGnuTLS - Support: sr #107312, Problem compiling gnutls 2.8.6

 
 

sr #107312: Problem compiling gnutls 2.8.6

Submitter:  Pierre <pierre42>
Submitted:  Tue 16 Mar 2010 05:00:40 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Mar 2010 08:35:31 AM UTC, comment #3: 

Also, can you show the output of "grep -i guile config.log"?

Thanks,
Ludo'.

Ludovic Courtès <civodul>
Group Member
Wed 17 Mar 2010 06:49:39 AM UTC, comment #2: 

What does 'guile-config --version' print for you?

/Simon

Simon Josefsson <jas>
Group administrator
Tue 16 Mar 2010 05:38:17 PM UTC, comment #1: 

If I give --disable-guile to configure, I don't have this error anymore

Pierre <pierre42>
Tue 16 Mar 2010 05:00:40 PM UTC, original submission:  

[...]
Making all in guile
make[2]: Entering directory `/tmp/gnutls-2.8.6/guile'
Making all in modules
make[3]: Entering directory `/tmp/gnutls-2.8.6/guile/modules'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gnutls-2.8.6/guile/modules'
Making all in src
make[3]: Entering directory `/tmp/gnutls-2.8.6/guile/src'
make  all-am
make[4]: Entering directory `/tmp/gnutls-2.8.6/guile/src'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../lib/includes -I../../lib/includes -I../../libextra/includes -I../.. -I.  -Wno-strict-prototypes  -I../../lib/gl -I../../lib/gl -I/usr/local/include -s -O3 -march=i686 -MT libguile_gnutls_v_1_la-core.lo -MD -MP -MF .deps/libguile_gnutls_v_1_la-core.Tpo -c -o libguile_gnutls_v_1_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../lib/includes -I../../lib/includes -I../../libextra/includes -I../.. -I. -Wno-strict-prototypes -I../../lib/gl -I../../lib/gl -I/usr/local/include -s -O3 -march=i686 -MT libguile_gnutls_v_1_la-core.lo -MD -MP -MF .deps/libguile_gnutls_v_1_la-core.Tpo -c core.c  -fPIC -DPIC -o .libs/libguile_gnutls_v_1_la-core.o
In file included from core.c:28:
enums.h: In function 'scm_from_gnutls_cipher':
enums.h:25: warning: implicit declaration of function 'scm_is_pair'
In file included from errors.h:23,
                 from core.c:30:
utils.h: At top level:
utils.h:51: error: expected declaration specifiers or '...' before 'scm_t_array_handle'
utils.h: In function 'scm_gnutls_get_array':
utils.h:57: warning: implicit declaration of function 'scm_array_get_handle'
utils.h:57: error: 'c_handle' undeclared (first use in this function)
utils.h:57: error: (Each undeclared identifier is reported only once
utils.h:57: error: for each function it appears in.)
utils.h:58: warning: implicit declaration of function 'scm_array_handle_dims'
utils.h:58: warning: assignment makes pointer from integer without a cast
utils.h:59: warning: implicit declaration of function 'scm_array_handle_rank'
utils.h:61: warning: implicit declaration of function 'scm_array_handle_release'
utils.h:69: warning: implicit declaration of function 'scm_array_handle_uniform_element_size'
utils.h:72: warning: implicit declaration of function 'scm_array_handle_uniform_elements'
utils.h: At top level:
utils.h:81: error: expected declaration specifiers or '...' before 'scm_t_array_handle'
utils.h: In function 'scm_gnutls_get_writable_array':
utils.h:88: error: 'c_handle' undeclared (first use in this function)
utils.h:89: warning: assignment makes pointer from integer without a cast
utils.h:103: warning: implicit declaration of function 'scm_array_handle_uniform_writable_elements'
core.c: In function 'scm_gnutls_session_peer_certificate_chain':
core.c:414: warning: implicit declaration of function 'scm_make_list'
core.c:414: warning: assignment makes pointer from integer without a cast
core.c:426: warning: implicit declaration of function 'scm_take_u8vector'
core.c:426: warning: assignment makes pointer from integer without a cast
core.c: In function 'scm_gnutls_session_our_certificate_chain':
core.c:467: warning: passing argument 1 of 'scm_list_1' makes pointer from integer without a cast
/usr/local/include/libguile/list.h:30: note: expected 'SCM' but argument is of type 'int'
core.c: In function 'scm_gnutls_record_send':
core.c:647: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:647: error: expected ';' before 'c_handle'
core.c:654: error: 'c_handle' undeclared (first use in this function)
core.c:654: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:654: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_record_receive_x':
core.c:680: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:680: error: expected ';' before 'c_handle'
core.c:687: error: 'c_handle' undeclared (first use in this function)
core.c:688: warning: passing argument 3 of 'scm_gnutls_get_writable_array' from incompatible pointer type
utils.h:81: note: expected 'const char ' but argument is of type 'size_t '
core.c:688: error: too many arguments to function 'scm_gnutls_get_writable_array'
core.c: In function 'fill_session_record_port_input':
core.c:818: warning: implicit declaration of function 'scm_without_guile'
core.c: In function 'pkcs_export_parameters':
core.c:1070: warning: return makes pointer from integer without a cast
core.c: In function 'scm_gnutls_pkcs3_import_dh_parameters':
core.c:1115: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:1115: error: expected ';' before 'c_handle'
core.c:1122: error: 'c_handle' undeclared (first use in this function)
core.c:1122: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:1122: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_pkcs1_import_rsa_parameters':
core.c:1293: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:1293: error: expected ';' before 'c_handle'
core.c:1300: error: 'c_handle' undeclared (first use in this function)
core.c:1300: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:1300: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'set_certificate_data':
core.c:1408: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:1408: error: expected ';' before 'c_handle'
core.c:1416: error: 'c_handle' undeclared (first use in this function)
core.c:1416: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:1416: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_set_certificate_credentials_x509_key_data_x':
core.c:1626: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:1626: error: expected ';' before 'c_cert_handle'
core.c:1637: error: 'c_cert_handle' undeclared (first use in this function)
core.c:1638: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:1638: error: too many arguments to function 'scm_gnutls_get_array'
core.c:1639: error: 'c_key_handle' undeclared (first use in this function)
core.c:1639: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:1639: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_set_certificate_credentials_verify_flags_x':
core.c:1733: warning: implicit declaration of function 'scm_is_null'
core.c: In function 'scm_gnutls_set_psk_client_credentials_x':
core.c:2114: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2114: error: expected ';' before 'c_handle'
core.c:2131: error: 'c_handle' undeclared (first use in this function)
core.c:2131: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:2131: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_import_x509_certificate':
core.c:2187: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2187: error: expected ';' before 'c_data_handle'
core.c:2194: error: 'c_data_handle' undeclared (first use in this function)
core.c:2195: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:2195: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_import_x509_private_key':
core.c:2232: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2232: error: expected ';' before 'c_data_handle'
core.c:2239: error: 'c_data_handle' undeclared (first use in this function)
core.c:2240: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:2240: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_pkcs8_import_x509_private_key':
core.c:2282: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2282: error: expected ';' before 'c_data_handle'
core.c:2310: error: 'c_data_handle' undeclared (first use in this function)
core.c:2311: warning: passing argument 3 of 'scm_gnutls_get_array' from incompatible pointer type
utils.h:51: note: expected 'const char ' but argument is of type 'size_t '
core.c:2311: error: too many arguments to function 'scm_gnutls_get_array'
core.c: In function 'scm_gnutls_x509_certificate_key_id':
core.c:2603: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2603: error: expected ';' before 'c_id_handle'
core.c:2610: warning: implicit declaration of function 'scm_make_u8vector'
core.c:2610: warning: assignment makes pointer from integer without a cast
core.c:2611: error: 'c_id_handle' undeclared (first use in this function)
core.c:2612: warning: implicit declaration of function 'scm_array_handle_u8_writable_elements'
core.c:2612: warning: assignment makes pointer from integer without a cast
core.c: In function 'scm_gnutls_x509_certificate_authority_key_id':
core.c:2635: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2635: error: expected ';' before 'c_id_handle'
core.c:2642: warning: assignment makes pointer from integer without a cast
core.c:2643: error: 'c_id_handle' undeclared (first use in this function)
core.c:2644: warning: assignment makes pointer from integer without a cast
core.c: In function 'scm_gnutls_x509_certificate_subject_key_id':
core.c:2666: error: 'scm_t_array_handle' undeclared (first use in this function)
core.c:2666: error: expected ';' before 'c_id_handle'
core.c:2673: warning: assignment makes pointer from integer without a cast
core.c:2674: error: 'c_id_handle' undeclared (first use in this function)
core.c:2675: warning: assignment makes pointer from integer without a cast
make[4]: * [libguile_gnutls_v_1_la-core.lo] Error 1
make[4]: Leaving directory `/tmp/gnutls-2.8.6/guile/src'
make[3]: * [all] Error 2
make[3]: Leaving directory `/tmp/gnutls-2.8.6/guile/src'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gnutls-2.8.6/guile'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gnutls-2.8.6'
make: * [all] Error 2

Pierre <pierre42>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Updated the item)
  • -email is unavailable- added by civodul (Posted a comment)
  • -email is unavailable- added by jas (Posted a comment)
  • -email is unavailable- added by pierre42 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-10 nmav Open/ClosedOpen Closed
    2010-07-03 nmav StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code