1

Topic: undefined reference to `send_chat

hi at all, when i compile teeworlds, i have this problems:

bam: building 'server_release'
link teeworlds_srv
/home/enry/Scrivania/teeworlds-0.4.3-src/objs/gs_game_tbn.o: In function `gameobject_tbn::set_tbn(bool)':
gs_game_tbn.cpp:(.text+0x210): undefined reference to `send_chat(int, int, char const*)'
gs_game_tbn.cpp:(.text+0x278): undefined reference to `send_chat(int, int, char const*)'
collect2: ld returned 1 exit status
bam: link returned error number 256
bam: error during build

help please, thanks

2 (edited by gokussj5 2008-10-20 09:42:30)

Re: undefined reference to `send_chat

i apply a patch before compile, black ninja mod

http://teeworlds.com/forum/viewtopic.php?id=950

if i compile without a patch it's all ok, and the server works.... i don't know...
i apply the patch with this comand
patch -p1 < ../tbn.patch

3

Re: undefined reference to `send_chat

ok i solved it, it's a patch for teeworlds-0.4.1 smile

4

Re: undefined reference to `send_chat

*closed* we don't leave support for mods