delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3965FB89.AC477E8A@ece.gatech.edu> |
Date: | Fri, 07 Jul 2000 11:47:21 -0400 |
From: | Charles Wilson <cwilson AT ece DOT gatech DOT edu> |
X-Mailer: | Mozilla 4.73 [en] (Windows NT 5.0; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Jason_Majors AT eFunds DOT Com |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: iterator errors |
References: | <OF9078A360 DOT 91706869-ON07256915 DOT 00531F8F AT deluxedata DOT com> |
You need to update binutils. --Chuck Jason_Majors AT eFunds DOT Com wrote: > > I had cygwin b20 installed and upgraded the following components recently. > bash-2.04.1.tar.gz > cygwin-1.1.2.tar.gz > findutils.tar.gz > gcc-2.95.2-2.tar.gz > grep.tar.gz > groff-1.11a-1.tar.gz > make-3.79-3.tar.gz > man-1.5g-1-src.tar.gz > opengl-1.2.1-1.tar.gz > shellutils.tar.gz > textutils.tar.gz > time.tar.gz > > Now when I try to compile a C++ program with iterators I get the following > errors: > mystring.o: In function `MyString::TrimRight(void)': > /home/Projects/which/mystring.cpp:154: undefined reference to `_imp___ctype_' > /lib/libstdc++.a(iostream.o): In function `skip_ws(streambuf *)': > /cygnus/netrel/src/gcc-2.95.2-2/libio/iostream.cc:66: undefined reference to `_i > mp___ctype_' > /lib/libstdc++.a(iostream.o):/cygnus/netrel/src/gcc-2.95.2-2/libio/iostream.cc:2 > 31: more undefined references to `_imp___ctype_' follow > > Here are the offending lines. > ... // In a member function of a class derived publicly from string. > iterator i; > for (i = end(); i >= begin(); i--) > { > if (!isspace(*i)) // Line 154. Errors out! > ... > > I have no /cygnus/netrel directory. This code compiles fine under my Linux box > at home and compiled fine with the stock b20 install. > Thanks > Jason Majors > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |