bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10)


From: Tim Ruehsen
Subject: Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10)
Date: Thu, 11 Dec 2014 12:59:10 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

On Thursday 11 December 2014 20:32:59 Kiyoshi KANAZAWA wrote:
> Hello,
>
> Not easy for me to analyze, but I can comment.
>
> When tried to make wget-1.16.1 on Solaris10 x86,
>
> configuring with "--without-libiconv-prefix --without-libintl-prefix",
> make failed with message:
> === from here, message ==>
> In file included from http.c:32:0:
> /usr/include/libintl.h:62:14: error: expected identifier or '(' before
> 'char' extern char *ngettext(const char *, const char *, unsigned long
> int); ^
> Makefile:1542: recipe for target 'http.o' failed
>
> === till here, message ==>
>
> Your patch solves this...

Good to hear, thanks for testing.

> ...but ld (gcc -o wget) fails with message:
> === from here, message ==> Undefined                       first referenced
>  symbol                             in file
> strcasestr                          iri.o
> ld: fatal: symbol referencing errors. No output written to wget
> collect2: error: ld returned 1 exit status
>
> === till here, message ==
This is a different issue (I wonder why this does not happen me).
Could you please test the attached patch ?
BUT: you have to ./bootstrap and ./configure again after applying the patch.

Tim

Attachment: 0001-Use-c_strcasestr-instead-of-strcasestr-in-iri.c.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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