Anyone getting the following error when compiling cedega:
undefined reference to `__stack_chk_fail’
Try editing the Makefile in miscemu and adding “-fno-stack-protector”. Thus:
CFLAGS = -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,–execstack -D__int8=char -D__int16=short -D__int32=int “-D__int64=long long”
becomes…
CFLAGS = -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-stack-protector -fno-keep-static-consts -D__const=const -fno-strict-aliasing -Wa,–execstack -D__int8=char -D__int16=short -D__int32=int “-D__int64=long long”
I also added it to the root Makefile, but that appeared to make absolutely no difference. No guarantees it will sort all problems and/or even run after compiling, but it certainly got me past that problem.
Took a bit of googling and even then a bit more experimentation to figure that out. Hopefully this post might shortcut the searching for someone else…
PS. Came to a complete and rather painful halt with configuration shortly afterwards. Approaching the more-pain-than-fun limit, so about to give up…

doesn’t work for me, sorry
Works for me, thanks.
Fish:
Don’t cut & paste the line from your browser, juste add -fno-stack-protector .
And do a “make clean” in the miscemu directory.
Thanks, that works for me (Ubuntu 6.10)
I made like Acathia comment says.
Thanks, work for me too (Ubuntu 7.04)