The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cygwin installation problem Suraine UNIX for Dummies Questions & Answers 3 12-12-2007 06:49 AM
problem with cygwin raya_g UNIX for Dummies Questions & Answers 0 08-16-2007 10:46 AM
Problem with scheduling a shell script on cygwin using cron shash UNIX for Dummies Questions & Answers 4 08-09-2007 07:08 PM
terminal type problem with cygwin on aix rein UNIX for Advanced & Expert Users 1 05-12-2005 05:35 PM
about cygwin wins1982 UNIX for Dummies Questions & Answers 4 04-29-2004 01:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-28-2005
gauri_agr gauri_agr is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 14
cygwin problem

Hi,

I have install cygwin in my PC which is having Windows-XP.

I am able to run c programm successfully using gcc compiler but when i am running c++ program it is giving the following error:

$ gcc abc.cpp
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0xd): unde
fined reference to `std::basic_string<char, std::char_traits<char>, std::allocat
or<char> >::size() const'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0x60): und
efined reference to `std::basic_string<char, std::char_traits<char>, std::alloca
tor<char> >:perator[](unsigned int) const'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0x9f): und
efined reference to `std::basic_string<char, std::char_traits<char>, std::alloca
tor<char> >:perator[](unsigned int) const'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0xce): und
efined reference to `std::basic_string<char, std::char_traits<char>, std::alloca
tor<char> >:perator[](unsigned int) const'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0x14f): un
defined reference to `std::ios_base::Init::Init()'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cclwkyqD.o:abc.cpp.text+0x16a): un
defined reference to `std::ios_base::Init::~Init()'
collect2: ld returned 1 exit status

can any one help me what mistake i have done in installing gcc complier..Do i have missed some imp file or something..

Thanks in advance.

Regards
Gauri
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0