Topic: Compiling teeworld: "undefined reference to `__stack_chk_guard'"
Hi, i'm trying to compile teeworlds on debian and I have a problem. When I compile bam I have no message, I think it's ok. But when i compile the server I have this:
philippe@TOTO:~/teeworlds_race2$ ../bam/src/bam server_release
bam: building 'server_release'
link teeworlds_srv
/home/philippe/teeworlds_race2/objs/g_collision.o: In function `col_width()':
g_collision.cpp:(.text+0x7): undefined reference to `__stack_chk_guard'
g_collision.cpp:(.text+0x1a): undefined reference to `__stack_chk_guard'
/home/philippe/teeworlds_race2/objs/g_collision.o: In function `col_height()':
g_collision.cpp:(.text+0x37): undefined reference to `__stack_chk_guard'
g_collision.cpp:(.text+0x4a): undefined reference to `__stack_chk_guard'
/home/philippe/teeworlds_race2/objs/g_collision.o: In function `col_is_solid(int, int)':
g_collision.cpp:(.text+0x6b): undefined reference to `__stack_chk_guard'
/home/philippe/teeworlds_race2/objs/g_collision.o:g_collision.cpp:(.text+0xcd): more undefined references to `__stack_chk_guard' follow
collect2: ld returned 1 exit status
bam: link returned error number 256
bam: error during build
So do you know what is going on? (the first time, there was more writings but then I tryied again and again and it gave me that)
Thanks for your help