← Back to team overview

yade-users team mailing list archive

Re: [Question #281177]: Boot error for secondly developed YADE

 

Question #281177 on Yade changed:
https://answers.launchpad.net/yade/+question/281177

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Ocean,

you can't just switch compiled files (boot.so) from different versions,
especially if you did some modifications..

undefined symbol: _ZN9SingletonI5OmegaE4selfE "


undefined symbol errors is because of you include some .hpp files, but the
result is not linked with corresponding compiled .cpp file (I am not
familiar with the correct terminology). Basically your program knows what
the code does (declared in .hpp file), but don't know how it should do it
(it misses the definition in .cpp file).

could you please place your modified files somewhere on the internet and
send us the link?

cheers
Jan


2016-01-19 10:37 GMT+01:00 Ocean <question281177@xxxxxxxxxxxxxxxxxxxxx>:

> New question #281177 on Yade:
> https://answers.launchpad.net/yade/+question/281177
>
> Dear all,
>
> I’m now doing some modification on the source code of Yade to achieve GPU
> acceleration for contact detection module using CUDA. ( Acturally, The file
> I  have modified include CMakeFIles.txt, Omega, InsertionSortCollider. Also
> add some other new files to realize contact detection parallel ). The IDE I
> used is Kedevelop4.
>
> The compile, build and install process is smooth and without error
> message. but at the very beginning running Yade, An ImportError error
> appear just like "
> ImportError:/.../Install/lib/x86_64-linux-gnu/yade-2014-03-15.git-c53eab0/py/yade/boot.so:undefined
> symbol: _ZN9SingletonI5OmegaE4selfE ".
>
> It seems that there has some questions in file boot.so, then I use the
> original file boot.so to replace the new one, got another error after the
> welcome message " FATAL /home/zhy/Software/YADE/trunk/core/Omega.cpp:225
> loadPlugins:
> /home/zhy/projects/GPU_YADE/Install/lib/x86_64-linux-gnu/yade-2014-03-15.git-c53eab0/libyade.so:
> undefined symbol `Aborted (core dumped) "
>
> I feel confused about the two errors above. Is there somebody has ideas
> for the possible reason ?
>
> Thanks a lot for your help in advance.
> Ocean
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.