[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Problems with (not) building wget against libiconv
From: |
Mojca Miklavec |
Subject: |
Re: [Bug-wget] Problems with (not) building wget against libiconv |
Date: |
Thu, 20 Apr 2017 02:15:06 +0200 |
On 20 April 2017 at 02:06, Mojca Miklavec wrote:
> On 18 April 2017 at 14:43, Tim Rühsen wrote:
>>
>> Just pushed some commits. That should enable you to
>> $ CC=cc ./configure ... (all your options)
>>
>> to get a clean wget executable (with just Solaris system libraries).
>
> Thank you. This indeed works, but if I try the gcc compiler again, then I get
>
> CCLD wget
> Undefined first referenced
> symbol in file
> bind connect.o
> recv connect.o
> getservbyname ../lib/libgnu.a(getaddrinfo.o)
> getsockname connect.o
> accept connect.o
> listen connect.o
> gethostbyname ../lib/libgnu.a(getaddrinfo.o)
> socket connect.o
> setsockopt connect.o
> connect connect.o
> getpeername connect.o
> inet_ntop host.o
> gai_strerror host.o
> ld: fatal: symbol referencing errors. No output written to wget
>
> and I suspect users on other OSes might experience similar problems.
Oh, I'm sorry. This is an older bug that has already been present in
the previous version (which is not to say that it shouldn't be fixed
:).
If I manually add "-lsocket -lnsl" to the last linker command, then it works.
Mojca
- Re: [Bug-wget] Problems with (not) building wget against libiconv, (continued)
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Mojca Miklavec, 2017/04/16
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/16
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/16
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Mojca Miklavec, 2017/04/17
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/18
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Akash Rawal, 2017/04/20
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/20
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/18
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/18
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Mojca Miklavec, 2017/04/19
- Re: [Bug-wget] Problems with (not) building wget against libiconv,
Mojca Miklavec <=
- Re: [Bug-wget] Problems with (not) building wget against libiconv, Tim Rühsen, 2017/04/20