delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/15/00:44:57

Date: Sun, 14 Jun 1998 23:44:23 -0500 (CDT)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: djgpp <djgpp AT delorie DOT com>
cc: allegro AT canvaslink DOT com
Subject: Linker Problem with C++
Message-ID: <Pine.GSO.3.96.980614234032.19009A-100000@oscar.eecs.uic.edu>
MIME-Version: 1.0

I'm trying to create a new object using degui and inherit it from
dialog_object but I get the error:
agui.o(.text+0x699):agui.cpp: undefined reference to `dialog_object
type_info function'
agui.o(.text+0x6a0):agui.cpp: undefined reference to `dialog_object
type_info node'

I've done that before and it worked fine, but this time I really have no
idea what's going on.

All I do is this:
class testObject : public dialog_object {
public:
	testObject(void);
	~testObject(void);
// and other stuff
}; // this is in header file

and in source file I have a definition of the class.

Can anyone help?
Thanks.

                        ,,,
                       (0 0)
   +-------------oOO----(_)-------------------+
   |                Andrew Deren              |  
   |             aderen AT eecs DOT uic DOT edu          |
   | www.eecs.uic.edu/~aderen/ader/main.html  |
   +-------------------------oOO--------------+
                       || ||
                      ooO Ooo
 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019