bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget-1.17: undefined references in ftp.c


From: Darshit Shah
Subject: Re: [Bug-wget] wget-1.17: undefined references in ftp.c
Date: Tue, 17 Nov 2015 00:22:19 +0100
User-agent: Mutt/1.5.24+27 (c799162691b2) (2015-08-30)

Hi Lars,

Thanks for reporting the issue. I've debugged it and identified the issue. The functions were defined inside another #ifdef block by mistake which based on your configure settings caused the compiler to not see the definations.

Please find attached a patch that should fix the problem. If nobody on this list complains, I'll push it to master tomorrow.

On 11/16, Lars Wendler wrote:
Hello list,

I am unable to compile wget-1.17 on my Gentoo system. I've already
tried both, gnutls and openssl as ssl provider but that doesn't seem
to have any influence on the outcome:

x86_64-pc-linux-gnu-gcc  -DHAVE_LIBGNUTLS  -DNDEBUG -march=native
-mtune=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 utils.o exits.o build_info.o
iri.o  version.o ftp-opie.o gnutls.o ../lib/libgnu.a -lpcre -lgnutls
-lz  -lidn
ftp.o: In function `init_control_ssl_connection.isra.0':
ftp.c:(.text+0x246): undefined reference to `ftp_auth'
ftp.o: In function `getftp':
ftp.c:(.text+0x2971): undefined reference to `ftp_pbsz'
ftp.c:(.text+0x2995): undefined reference to `ftp_prot'
collect2: error: ld returned 1 exit status
Makefile:1492: recipe for target 'wget' failed
make[3]: *** [wget] Error 1


This error didn't appear in wget-1.16.3
Any hint what's going wrong here? In case it helps I have attached the
full build log file (xz compressed).

Kind regards
Lars


P.S.: Please CC me on answers as I am not subscribed to this list.

--
Lars Wendler
Gentoo package maintainer
GPG: 4DD8 C47C CDFA 5295 E1A6 3FC8 F696 74AB 981C A6FC





--
Thanking You,
Darshit Shah

Attachment: 0002-Fix-compile-error-when-IPv6-is-disabled.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

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