So there I was, trying to build SPIKE in an Ubuntu 8.10 VM. GCC gave about 9,000 warnings, then said something like this:
/usr/bin/ld: (blahblahblah)
Since it took me longer than 10 minutes to find the solution, I'm posting it here. The solution is to manually edit the Makefile and add "-fno-stack-protector" to the CFLAGS. Then make clean; make. The end. Happy Thanksgiving.
Thursday, November 27, 2008
__stack_chk_fail_local
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment