Ignacio Mas Ivars wrote:
> Hi all!
> I am trying to compile ns-2.30 in an linux Ubuntu box with g++ 4.1 and I
> am having problems with the linker. All the files are compiled correctly
> but when linking the following message appears:
> 
> /usr/bin/ld: ns: 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
> 
> 
> I have tried compiling as well with g++ 4.0 without success and now I am
> a bit out of ideas. Any pointers on where to look? This is my version of
> g++ (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
> 
> Thanks for the help!
> /Nacho
> 
> ---
>        ,,,
>       (o o)
> --ooO--(_)---Ooo-----------
> Time flies like an arrow, fruit flies like a banana. -Groucho Marx 
> --oo0--------0oo-----------
> 
> 
> 

This page seems to suggest to turn off SSP by changing the default 
options to build with -fno-stack-protector

https://wiki.ubuntu.com/GccSsp

Let me know if that works.

Tom

Reply via email to