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]

A little help with a build?

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, 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/
*** [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

There are 10 kinds of people in this world: Those who understand binary, and those who don't.

Unsubscribe info:
Problem reports:

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