From: "Signe Petersson" To: Subject: undefined reference to `__rtti_user' Date: Sun, 26 Apr 1998 14:04:49 +0200 Message-ID: <01bd710b$838bd440$a3a9efc2@default> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk I have some problems using virtual functions with DJGPP. Even with this stripped-down sample: class class_A { public: virtual void T() {;} }; class class_B: public class_A { public: virtual void T() {;} }; void main () { class_A *a1; a1 = new class_A; delete a1; } When compiling (I mean the linkstep): gcc test.cpp -o test.exe I get this error: e:/djgpp/tmp\ccdaaaaa(.text+0x87):test.cpp: undefined reference to `__rtti_user' What am I doing wrong??? /Kent Petersson