delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/23/13:50:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Subject: A little help with a build?
Date: Fri, 23 May 2003 10:44:57 -0700
Message-ID: <64F0F24E4646E644B6AF14331D69F84101D00774@orsmsx403.jf.intel.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Lafond, Kenneth G" <kenneth DOT g DOT lafond AT intel DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 23 May 2003 17:44:58.0443 (UTC) FILETIME=[074461B0:01C32153]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h4NHo3025252

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

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


--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019