Game Development Community

Weird DemoGame linking errors...

by Stefan Beffy Moises · in Torque Game Engine · 07/02/2003 (11:02 am) · 1 replies

... another linux linking error....
does anybody have an idea what might be causing this?
Everything compiles fine but then I get this....
(this is a somewhat old HEAD version, like 4-5 months I think, but I couldnt find any difference in the files or the make file that might cause this...)
Thx for ANY help!!

Quote:
linux:/home/beffy/cvslocal/ToRK2 # make
--> Linking out.GCC2.DEBUG/torqueDemo_DEBUG.exe
out.GCC2.DEBUG/game/main.obj(.gnu.linkonce.r._ZTV8DemoGame+0x38):/home/beffy/cvslocal/ToRK2/engine/console/consoleObject.h:73: undefined reference to 'DemoGame::processConnectedAcceptEvent(ConnectedAcceptEvent*)'
out.GCC2.DEBUG/game/main.obj(.gnu.linkonce.r._ZTV8DemoGame+0x3c):/home/beffy/cvslocal/ToRK2/engine/core/tVector.h:451: undefined reference to 'DemoGame::processConnectedReceiveEvent(ConnectedReceiveEvent*)'
out.GCC2.DEBUG/game/main.obj(.gnu.linkonce.r._ZTV8DemoGame+0x40):/home/beffy/cvslocal/ToRK2/engine/core/tVector.h:157: undefined reference to 'DemoGame::processConnectedNotifyEvent(ConnectedNotifyEvent*)'
out.GCC2.DEBUG/game/main.obj(.gnu.linkonce.t._ZN16DemoNetInterfaceC1Ev+0x16): In function 'DemoNetInterface::DemoNetInterface[in-charge]()':
/home/beffy/cvslocal/ToRK2/engine/game/main.cc:71: undefined reference to 'vtable for DemoNetInterface'
out.GCC2.DEBUG/game/main.obj(.gnu.linkonce.t._ZN16DemoNetInterfaceD1Ev+0xb): In function 'DemoNetInterface::~DemoNetInterface [in-charge]()':
/home/beffy/cvslocal/ToRK2/engine/game/main.cc:71: undefined reference to 'vtable for DemoNetInterface'
collect2: ld returned 1 exit status
make[1]: *** [out.GCC2.DEBUG/torqueDemo_DEBUG.exe] Fehler 1
make: *** [default] Fehler 2

#1
07/02/2003 (11:31 am)
Bah, solved it...
was a stupid error in the make file... :P