This is the mail archive of the
mailing list for the Cygwin project.
Re: A little help with a build?
Lafond, Kenneth G wrote:
> I'm trying to compile Cygwin from CVS.
> I got about 20 mins or so into the compile and got the following errors:
> cc1plus: warning: changing search order for system directory
> cc1plus: warning: as it has already been specified as a non-system
> In function `_nl_find_msg':
> /usr/src/gettext/gettext-0.11.5/intl/dcigettext.c:906: undefined reference
> to `_libiconv'
> collect2: ld returned 1 exit status
> make: *** [dumper.exe] Error 1
> I'm not sure what the system directory complaint is all about,
I'm pretty sure that that is harmless.
> but the one
> I'm really concerned with is the missing references to _libiconv. I think
> that's why the compile bombed. I did a search for 'libiconv' and
> compile' in the archives without finding the info I think I'm looking for.
How to fix:
Install the 'libiconv' package from setup.exe, and either re-run configure,
or manually edit obj/i686-pc-cygwin/winsup/utils/Makefile, changing
"LIBICONV:=" to "LIBICONV:=-liconv".
Why it happens:
The build system tries to check if you have the necessary libraries to build
dumper. It worked well back when Cygwin's libintl build didn't depend on
libiconv. Now it does, and the build system hasn't been updated to know
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html