Troubleshooting compiler errors

Igor Peshansky
Mon Dec 4 02:33:00 GMT 2006

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.

      |\      _,,,---,,_ |
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:
Problem reports:

More information about the Cygwin mailing list