Can't link map2dif
by Tim Walters · in Torque Game Engine · 01/04/2003 (9:28 am) · 0 replies
I just checkout torque from CVS today and attempting to make the essential map2dif tool fails(Worked in other CVS versions). It generates the following errors:--> Linking map2dif_DEBUG.exe
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXProcessControl.obj): In function 'Cleanup(bool)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXProcessControl.cc:81: undefined reference to 'OpenGLShutdown'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'ProcessSYSWMEvent(SDL_Event const &)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:202: undefined reference to 'NotifySelectionEvent(_XEvent &)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOK(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:425: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:427: undefined reference to 'XMessageBox::alertOK(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:437: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOK(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:425: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:427: undefined reference to 'XMessageBox::alertOK(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:437: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOKCancel(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:450: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:453: undefined reference to 'XMessageBox::alertOKCancel(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:459: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:465: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertRetry(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:478: undefined referencee to 'XMessageBox::XMessageBox(_XDisplay *)'
<...Goes on a bit more...>
/home/tim/torque/engine/platformX86UNIX/x86UNIXCPUInfo.cc:122: undefined reference to 'PlatformBlitInit(void)'
collect2: ld returned 1 exit status
make: *** [map2dif_DEBUG.exe] Error 1
Anybody know how to fix this broken code/Makefile?
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXProcessControl.obj): In function 'Cleanup(bool)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXProcessControl.cc:81: undefined reference to 'OpenGLShutdown'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'ProcessSYSWMEvent(SDL_Event const &)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:202: undefined reference to 'NotifySelectionEvent(_XEvent &)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOK(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:425: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:427: undefined reference to 'XMessageBox::alertOK(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:437: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOK(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:425: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:427: undefined reference to 'XMessageBox::alertOK(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:437: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertOKCancel(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:450: undefined reference to 'XMessageBox::XMessageBox(_XDisplay *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:453: undefined reference to 'XMessageBox::alertOKCancel(char const *, char const *)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:459: undefined reference to 'XMessageBox::~XMessageBox(void)'
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:465: undefined reference to 'XMessageBox::~XMessageBox(void)'
../engine/out.GCC2.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj): In function 'Platform::AlertRetry(char const *, char const *)':
/home/tim/torque/engine/platformX86UNIX/x86UNIXWindow.cc:478: undefined referencee to 'XMessageBox::XMessageBox(_XDisplay *)'
<...Goes on a bit more...>
/home/tim/torque/engine/platformX86UNIX/x86UNIXCPUInfo.cc:122: undefined reference to 'PlatformBlitInit(void)'
collect2: ld returned 1 exit status
make: *** [map2dif_DEBUG.exe] Error 1
Anybody know how to fix this broken code/Makefile?