From: "Y.K. Goh" Sender: "Y.K. Goh" Subject: Linking problem (undefined reference) Newsgroups: comp.os.msdos.djgpp X-User-Info: 153.20.60.34 s6606555 npnsnews NNTP-Posting-Host: 153.20.15.92 Message-ID: <36fa0697.0@nsuxnews> Date: 25 Mar 1999 17:49:11 +0800 X-Trace: 25 Mar 1999 17:49:11 +0800, 153.20.15.92 Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've created a new class called CSentence that has a list of string. list m_Words; There is nothing in the class except a default constructor which is empty, a destructor (also empty) and a test case. While linking, LD displays the following error message: d:/djgpp/tmp\ccdaaaaa(.text+0xe1c6):Sentence.cc: undefined reference to `list > >::operator=(list > > const &)' What's the possible problem? How can I track down the problem? ------------------------------ Yong-Kwang Goh Ngee Ann Polytechnic The Centre for Computer Studies Email: s6606555 AT np DOT edu DOT sg ------------------------------