X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "arizvi" Newsgroups: comp.os.msdos.djgpp Subject: Problem with make: undefined reference to vtable Date: 24 Jun 2005 08:23:40 -0700 Organization: http://groups.google.com Lines: 21 Message-ID: <1119626620.773374.221740@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: 66.32.249.19 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1119626626 7535 127.0.0.1 (24 Jun 2005 15:23:46 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 24 Jun 2005 15:23:46 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=66.32.249.19; posting-account=Se-Idg0AAAC00LEpjdiQS7ZeyWGDYpCA To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I am using djgpp to compile a program that comprises several files. I added a new class 'TMyInfoDialog' to the program defined in 'infoDialog.cpp'. I am instantiating this class in another part of the program. When I make the program, it compiles fine. On linking, however it gives the following errors: ./infoDialog.o (text+0x5a): infoDialog.cpp : undefined reference to 'vtable for TMyInfoDialog' ./infoDialog.o (text+blah): infoDialog.cpp : undefined reference to 'VTT for TMyInfoDialog' Can anyone throw some light on this problem?? Regards, Ahmad Rizvi