bugSimulavr: an AVR simulator - Bugs: bug #55794, Pysimulavr installation throwing...

 
 

bug #55794: Pysimulavr installation throwing exception - undefined symbol: _ZTI14RWMemoryMember

Submitter:  None
Submitted:  Thu 28 Feb 2019 07:36:47 AM UTC
   
 
Category:  Configure Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tomk
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Oct 2020 12:08:27 PM UTC, comment #3: 

Pythonlib builds now and works as expected.

Attention: python 3 is mandatory!

Bug is fixed with commit e6265fb48a906392056a8b67c32b38e3a844e6a7


Klaus Rudolph <zfrdh>
Group administrator
Tue 03 Dec 2019 05:49:18 PM UTC, comment #2: 

Will be solved with cmake in upcoming version

Thomas K. <tomk>
Group administrator
Sat 09 Nov 2019 08:02:31 AM UTC, comment #1: 

Hi,

if you have the possibility, please use the current master branch of git repository or, if you have cmake installed, then try dev-cmake branch - in this case let me know, if it works.

cu, Thomas

Thomas K. <tomk>
Group administrator
Thu 28 Feb 2019 07:36:47 AM UTC, original submission:  

Hi,

I am trying to compile and build pysimulavr. I have cloned Simulavr-1.0.0 and ran the following commands
1. ./bootstrap
2. ./configure --enable-python
3. make
4. sudo make install
5. cd src/python
6. sudo python setup.py install

After running these steps, pysimulavr.so file is generated. I also configured libsim.so file  path in my LD_LIBRARY_PATH. But when I run the following commands, I get the below error that  _ZTI14RWMemoryMember symbol is not defined. Kindly look into this and let me know what exactly needs to be done.

1. python
2. import pysimulavr

or

1. cd examples/python
2. make example

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pysimulavr-1.1.dev0-py2.7-linux-x86_64.egg/pysimulavr.py", line 17, in <module>
    _pysimulavr = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/pysimulavr-1.1.dev0-py2.7-linux-x86_64.egg/pysimulavr.py", line 16, in swig_import_helper
    return importlib.import_module('_pysimulavr')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    _import_(name)
ImportError: /usr/local/lib/python2.7/dist-packages/pysimulavr-1.1.dev0-py2.7-linux-x86_64.egg/_pysimulavr.so: undefined symbol: _ZTI14RWMemoryMember

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zfrdh (Posted a comment)
  • -email is unavailable- added by tomk (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-03 tomk StatusNone Fixed
        Assigned toNone tomk
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code