X-Spam-Check-By: sourceware.org
Date: Sun, 3 Dec 2006 21:33:09 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: dvmorris <dvmorris@gmail.com>
cc: cygwin@cygwin.com
Subject: Re: Troubleshooting compiler errors
In-Reply-To: <7669802.post@talk.nabble.com>
Message-ID: <Pine.GSO.4.63.0612032131480.989@access1.cims.nyu.edu>
References: <7669802.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sun, 3 Dec 2006, dvmorris wrote:

> I am trying to compile a linux program on cygwin, and I'm getting the
> following error:
>
> undefined reference to `std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::c_str() const'
>
> along with about a million other errors that look pretty similar.
>
> I guess my real problem is that I have no clue how to troubleshoot any
> of these errors, and I don't really know who to ask for help. I don't
> really think this is the right place to ask, so if anyone knows where I
> could go for help, I would really appreciate it.

You really have not provided much information about the kind of code
you're compiling, what command you use to compile it, etc, but if I had to
take a WAG...

Use 'g++' to compile and link C++ programs.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

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

