bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #50788] Build failure against openssl-1.1 that lacks dep


From: Lars Wendler
Subject: [Bug-wget] [bug #50788] Build failure against openssl-1.1 that lacks deprecated features
Date: Wed, 12 Apr 2017 05:05:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

URL:
  <http://savannah.gnu.org/bugs/?50788>

                 Summary: Build failure against openssl-1.1 that lacks
deprecated features
                 Project: GNU Wget
            Submitted by: polyc
            Submitted on: Wed 12 Apr 2017 11:05:51 AM CEST
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: GNU/Linux
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: No
           Work Required: None
          Patch Included: No

    _______________________________________________________

Details:

Although with commit 309e72c74f4ea6c3707ca185bc92ae95ebf56b16 some openssl-1.1
compatibility had been added, trying to build wget against openssl-1.1 that
was compiled with either "--api=1.1.0" or "no-deprecated" option still fails:


i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/share/locale\" -I.  -I../lib -I../lib   -DHAVE_LIBSSL 
-DNDEBUG -march=native -O2 -pipe -c -o openssl.o openssl.c
openssl.c: In function 'ssl_init':
openssl.c:181:7: warning: implicit declaration of function 'OPENSSL_config'
[-Wimplicit-function-declaration]
       OPENSSL_config (NULL);
       ^
openssl.c:205:3: warning: implicit declaration of function 'SSL_library_init'
[-Wimplicit-function-declaration]
   SSL_library_init ();
   ^
openssl.c:206:3: warning: implicit declaration of function
'SSL_load_error_strings' [-Wimplicit-function-declaration]
   SSL_load_error_strings ();
   ^
openssl.c:232:14: warning: implicit declaration of function
'TLSv1_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_client_method ();
              ^
openssl.c:232:12: warning: assignment makes pointer from integer without a
cast [-Wint-conversion]
       meth = TLSv1_client_method ();
            ^
openssl.c:237:14: warning: implicit declaration of function
'TLSv1_1_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_1_client_method ();
              ^
openssl.c:237:12: warning: assignment makes pointer from integer without a
cast [-Wint-conversion]
       meth = TLSv1_1_client_method ();
            ^
openssl.c:241:14: warning: implicit declaration of function
'TLSv1_2_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_2_client_method ();
              ^
openssl.c:241:12: warning: assignment makes pointer from integer without a
cast [-Wint-conversion]
       meth = TLSv1_2_client_method ();
            ^
i686-pc-linux-gnu-gcc  -DHAVE_LIBSSL  -DNDEBUG -march=native -O2 -pipe 
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o wget
connect.o convert.o cookies.o ftp.o css_.o css-url.o ftp-basic.o ftp-ls.o
hash.o host.o hsts.o html-parse.o html-url.o http.o init.o log.o main.o
netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o url.o warc.o xattr.o
utils.o exits.o build_info.o iri.o  version.o ftp-opie.o openssl.o
../lib/libgnu.a               -lpcre -lidn2 -lssl -lcrypto -lz
openssl.o: In function `ssl_init':
openssl.c:(.text+0x546): undefined reference to `OPENSSL_config'
openssl.c:(.text+0x619): undefined reference to `SSL_library_init'
openssl.c:(.text+0x61e): undefined reference to `SSL_load_error_strings'
openssl.c:(.text+0x63c): undefined reference to `TLSv1_2_client_method'
openssl.c:(.text+0x7b9): undefined reference to `TLSv1_1_client_method'
openssl.c:(.text+0x7c3): undefined reference to `TLSv1_client_method'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1565: wget] Error 1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50788>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]