← Back to team overview

yade-dev team mailing list archive

Re: trying cmdGui

 

Possible cause is the stack protector, you will need to disable it (see
CXXFLAGS option for scons):

http://code.google.com/p/modwsgi/wiki/InstallationIssues (under GNU C
Stack Smashing Extensions)

https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/66681

https://wiki.ubuntu.com/GccSsp

http://www.thescripts.com/forum/thread476894.html :
> Make sure you have a recent version of GCC and binutils. I just ran
> into the same problem with python 2.4.3. It had nothing to do with the
> code base. The linker was broken and an update of my binutils fixed the
> issue.
> Kind regards,
> Chris
V.

> Hi,
>
> I made it compile with qt3 "slots" and committed fix. Now I can
> finally have a look at python scripting. So I try to launch this
> example, cmdGui1.py (I copied it into /bin/ where yade executable
> resides).
>
> $ ./yade-svn1244 -N cmdGui -- -s ./cmdGui1.py
>
> Constructing ClassFactory  (if multiple times - check '-rdynamic' flag!).
> Constructing SerializableSingleton  (if multiple times - check '-rdynamic' flag!).
> WARNING: cannot open file used for capillary law, in TriaxalTestWater
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
> ImportError: /home/janek/40-Yade/Bin/HEAD/lib/yade-svn1244/gui/yadeControl.so: undefined symbol: __stack_chk_fail_local
> Traceback (most recent call last):
>   File "./cmdGui1.py", line 6, in ?
>     p=Preprocessor()
> NameError: name 'Preprocessor' is not defined
>   
>>>> ^D
>>>>         
>
> what now? :)
>   

_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References