Troubleshooting compiler errors
I am trying to compile a linux program on cygwin, and I'm getting the following error: undefined reference to `std::basic_stringchar, std::char_traitschar, std::allocatorchar ::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. Thanks, dave -- View this message in context: http://www.nabble.com/Troubleshooting-compiler-errors-tf2749026.html#a7669802 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
Re: Troubleshooting compiler errors
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_stringchar, std::char_traitschar, std::allocatorchar ::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/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] 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/
Re: Troubleshooting compiler errors
[EMAIL PROTECTED] wrote: I am trying to compile a linux program on cygwin, and I'm getting the following error: undefined reference to `std::basic_stringchar, std::char_traitschar, std::allocatorchar ::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. The most likely alternative would be the gcc-help mailing list. In any case, you would have to be much more explicit about your problem, and you would have to take the documented steps and report on their results, if anyone is to help. For example, you might have tried to use gcc rather than g++ to link, for all we can tell. -- 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/