Linux : Torque Tools Linking Error
by James Urquhart · in Torque Game Engine · 10/12/2003 (6:49 am) · 2 replies
When attempting to compile the torque tools on linux (latest HEAD), i get these linker errors :
(All related to ogg/vorbis)
Any suggestions? =)
--> Linking map2dif_DEBUG.bin ../engine/out.GCC3.DEBUG/engine_DEBUG.a(vorbisStream.obj)(.text+0x2f): In functi on 'OggVorbisFile::_get_data()': core/stream.h:140: undefined reference to 'ogg_sync_buffer' ../engine/out.GCC3.DEBUG/engine_DEBUG.a(vorbisStream.obj)(.text+0x74): In functi on 'OggVorbisFile::_get_data()': ...etc...
(All related to ogg/vorbis)
Any suggestions? =)
About the author
#2
Btw i like the idea of separate output directories for release/debug versions.
10/15/2003 (4:41 pm)
Seems to affect HEAD and Release_1_2_0 branches. Worst part is i submitted updates for windows (mingw) version for the vorbis libs/headers for a similar problem but for the engine and didn't catch it there either, LOL! Actually just doublecheck and the conf.GCC2.WIN32.mk and conf.GCC3.WIN32.mk both need similar updates. Oh well! Did you submit a patch for this yet? Btw i like the idea of separate output directories for release/debug versions.
Associate James Urquhart
add $(LINK.LIBS.VORBIS) to LINK.LIBS.TOOLS in conf.UNIX.mk :
Wow... i wonder if map2dif will play me some music when its making the .dif? =)
I also have a similar, if not the same problem when compiling the dedicated server.
Also, the build process is a bit of a mess when compiling tools / the dedicated server.
For eample, making the dedicated server THEN the tools makes tools that say :
Shouldn't the engine lib / dedicated server be build in a seperate directory (aka not OUT.GCCx.