building recent git

Brad Hards bradh at frogmouth.net
Thu Nov 5 02:32:26 CET 2009


Hi,

I'm having a problem with building a recent git checkout.
"make bootstrap" results in
configure: summary of build options:

  version:          2.9.8 shared 42:3:16
  Host type:        i686-pc-linux-gnu
  Install prefix:   /usr/local
  Compiler:         gcc -std=gnu99
  Warning flags:    errors:  -Werror warnings:  -Wall -W -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-
pragmas -Wstrict-aliasing -Wfloat-equal -Wdeclaration-after-statement -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -
Wpacked -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wlong-long -Wvla -Wvolatile-register-var -Wdisabled-
optimization -Wstack-protector -Woverlength-strings -Wbuiltin-macro-redefined -Wmudflap -Wpacked-bitfield-compat -Wsync-nand -
Wattributes -Wcoverage-mismatch -Wmultichar -Wunused-macros -Wno-missing-field-initializers -Wno-sign-compare -Wno-pointer-
sign -Wno-unused-parameter -Wno-unused-parameter -Wno-stack-protector -fdiagnostics-show-option
  Library types:    Shared=yes, Static=yes
  Valgrind:         valgrind
  Guile wrappers:   yes
  C++ library:      yes
  OpenSSL library:  yes

makeobj[0]: Leaving directory `/home/bradh-dev/gnutls-git'


I then make, and it dies with:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/local/share/locale\" -I./gl -I./gl -I./includes -I./includes -I./x509 -
I./opencdk -Werror -Wframe-larger-than=2100 -Wall -W -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-
pragmas -Wstrict-aliasing -Wfloat-equal -Wdeclaration-after-statement -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -
Wpacked -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wlong-long -Wvla -Wvolatile-register-var -Wdisabled-
optimization -Wstack-protector -Woverlength-strings -Wbuiltin-macro-redefined -Wmudflap -Wpacked-bitfield-compat -Wsync-nand -
Wattributes -Wcoverage-mismatch -Wmultichar -Wunused-macros -Wno-missing-field-initializers -Wno-sign-compare -Wno-pointer-
sign -Wno-unused-parameter -Wno-unused-parameter -Wno-stack-protector -fdiagnostics-show-option -g -O2 -MT auth_cert.lo -MD -
MP -MF .deps/auth_cert.Tpo -c auth_cert.c  -fPIC -DPIC -o .libs/auth_cert.o                                                                    
cc1: warnings being treated as errors                                                                             
auth_cert.c: In function '_gnutls_proc_x509_server_certificate':
auth_cert.c:1030: error: implicit declaration of function '_gnutls_session_sign_algo_enabled' [-Wimplicit-function-declaration]
auth_cert.c:1030: error: nested extern declaration of '_gnutls_session_sign_algo_enabled' [-Wnested-externs]
auth_cert.c: In function '_gnutls_proc_cert_cert_req':
auth_cert.c:1371: error: implicit declaration of function '_gnutls_sign_algorithm_parse_data' [-Wimplicit-function-declaration]
auth_cert.c:1371: error: nested extern declaration of '_gnutls_sign_algorithm_parse_data' [-Wnested-externs]
auth_cert.c: In function '_gnutls_gen_cert_server_cert_req':
auth_cert.c:1617: error: implicit declaration of function '_gnutls_sign_algorithm_write_params' [-Wimplicit-function-declaration]
auth_cert.c:1617: error: nested extern declaration of '_gnutls_sign_algorithm_write_params' [-Wnested-externs]
auth_cert.c: In function '_gnutls_server_select_cert':
auth_cert.c:1929: error: implicit declaration of function '_gnutls_session_sign_algo_requested' [-Wimplicit-function-declaration]
auth_cert.c:1929: error: nested extern declaration of '_gnutls_session_sign_algo_requested' [-Wnested-externs]
make[4]: *** [auth_cert.lo] Error 1
make[4]: Leaving directory `/home/bradh-dev/gnutls-git/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bradh-dev/gnutls-git/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bradh-dev/gnutls-git/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bradh-dev/gnutls-git'
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/bradh-dev/gnutls-git'

Does that look familiar to anyone?

Brad





More information about the Gnutls-devel mailing list