Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Code::Blocks don't compile on Ubuntu
juju67:
I try to compile Code::Blocks on my Ubuntu Edgy, but it doesn't compile.
--- Code: ---/usr/bin/ld: .libs/codeblocks: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
--- End code ---
So why does it not compile?
Can someone help me, please ? :)
Game_Ender:
How about a more full error trace? And what version are you trying to compile? are you using wxWidgets 2.6 ?
juju67:
I'm trying to compile the SVN version, and I'm using wxWidget 2.6.3.x
I've attached the the file with all the lines of the console.
[attachment deleted by admin]
thomas:
I've found several references on the internet with the exact same error (but not with Code::Blocks). It seems to be a rather common problem.
People having that problem report that they first encountered it after updating to Ubuntu 6.10, but I have found no satisfying explanation.
One source suggests that it is a gcc 4.1 problem and advises to rebuild the program with -fno-stack-protector. I don't know if that solves it, but you might try...
Game_Ender:
Have you given it a try with a little less aggressive compiler settings, as in none.
Navigation
[0] Message Index
[#] Next page
Go to full version