Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 23 May 2003 14:01:34 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Lafond, Kenneth G" cc: cygwin AT cygwin DOT com Subject: Re: A little help with a build? In-Reply-To: <64F0F24E4646E644B6AF14331D69F84101D00774@orsmsx403.jf.intel.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 23 May 2003, Lafond, Kenneth G wrote: > I'm trying to compile Cygwin from CVS. I followed the instructions to > get the source from CVS - no problem (except for the SSH hints various > parties gave me for the proxy - Thanks). > > I've also followed the instructions in the FAQ at > http://cygwin.com/faq/faq_4.html#SEC104, with the exception that I > modified the suggested compile lines a bit (ie "make > make.log 2>&1" > became "make | tee make.log 2>&1"). I assume that should be harmless. > 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 > c++ -L/home/kglafond/cygwin/build/i686-pc-cygwin/winsup -L/home/kglafond/cygwin/build/i686-pc-cygwin/winsup/cygwin -L/home/kglafond/cygwin/build/i686-pc-cygwin/winsup/w32api/lib -isystem /home/kglafond/cygwin/src/winsup/include -isystem /home/kglafond/cygwin/src/winsup/cygwin/include -isystem /home/kglafond/cygwin/src/winsup/w32api/include -B/home/kglafond/cygwin/build/i686-pc-cygwin/newlib/ -isystem /home/kglafond/cygwin/build/i686-pc-cygwin/newlib/targ-include -isystem /home/kglafond/cygwin/src/newlib/libc/include -o dumper.exe module_info.o parse_pe.o dumper.o -B/home/kglafond/cygwin/build/i686-pc-cygwin/winsup/cygwin/ -B/home/kglafond/cygwin/build/i686-pc-cygwin/newlib/libc -B/home/kglafond/cygwin/build/i686-pc-cygwin/winsup/w32api/lib -lnetapi32 -ladvapi32 /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libbfd.a /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libintl.a -L/home/kglafond/cygwin/build/i686-pc-cygwin/libiberty -liberty > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libintl.a(dcigettext.o)(.text+0xb3a): In function `_nl_find_msg': > /usr/src/gettext/gettext-0.11.5/intl/dcigettext.c:906: undefined reference to `_libiconv' > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libintl.a(loadmsgcat.o)(.text+0x6b5): In function `_nl_init_domain_conv': > /usr/src/gettext/gettext-0.11.5/intl/loadmsgcat.c:863: undefined reference to `_libiconv_open' > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libintl.a(loadmsgcat.o)(.text+0x6fb): In function `_nl_free_domain_conv': > /usr/src/gettext/gettext-0.11.5/intl/loadmsgcat.c:890: undefined reference to `_libiconv_close' > collect2: ld returned 1 exit status > make[2]: *** [dumper.exe] Error 1 > make[1]: make[2]: Leaving directory `/home/kglafond/cygwin/build/i686-pc-cygwin/winsup/utils' > *** [utils] Error 1 > make[1]: Leaving directory `/home/kglafond/cygwin/build/i686-pc-cygwin/winsup' > make: *** [all-target-winsup] Error 2 > > I'm not sure what the system directory complaint is all about, 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 'libiconv compile' in the archives without finding the > info I think I'm looking for. I've also Googled and found the GNU > library it's looking for, but based on what I've seen on the list, > simply using the library from GNU won't work. > > Did I miss a step in the compile process, or am I missing a library from > somewhere? Help? > > Kenneth G Lafond Kenneth, The system directory complaints are harmless, and they actually mean that Cygwin reorders include search paths around to make sure you pick up the latest headers... As for your second problem, did you try searching for "libiconv" at ? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/