Skip to content

fi.error: the C compiler says 'VMI_EVENTS_VERSION' is equal to 8 (0x8), but the cdef disagrees #75

Description

@cotic

VMI_EVENTS_VERSION is 8 in :

https://github.com/libvmi/libvmi/blob/master/libvmi/events.h#L36

and is 7 in the current python bindings:

https://github.com/libvmi/python/blob/master/libvmi/events_cdef.h#L1

This causes an error:

File "singlestep-event.py", line 8, in <module>
    from libvmi.event import SingleStepEvent
  File "/home/andrew/Documents/python-virtual-environments/LibVMI/lib/python3.8/site-packages/libvmi-3.4-py3.8-linux-x86_64.egg/libvmi/event.py", line 7, in <module>
    EVENTS_VERSION = lib.VMI_EVENTS_VERSION
ffi.error: the C compiler says 'VMI_EVENTS_VERSION' is equal to 8 (0x8), but the cdef disagrees

I assume this is a check, as the DS may have changed, and the fix, for now, is to use with an older version of LibVMI that is set to 7?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions