Mail Archives: cygwin/2003/05/23/14:26:23
> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> Sent: Friday, May 23, 2003 11:02 AM
> To: Lafond, Kenneth G
> Cc: cygwin AT cygwin DOT com
> Subject: Re: A little help with a build?
>
>
> 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(dcigett
> ext.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(loadmsg
> cat.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(loadmsg
> cat.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
> <http://cygwin.com/packages/>?
Ah. No. Thanks. I didn't realize that certain packages needed to be installed in Cygwin when building from a complete CVS source tree. Seems like the missing step. Where would I look to see if I'm missing other packages necessary for the build?
Seems like this would be a good thing to add to the FAQ or CVS.html too.
Ken
> 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/
- Raw text -