This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> "/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include"
> cc1plus: warning:   as it has already been specified as a non-system
> directory
> 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[2]: *** [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
about this.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]