Skip to content

python.so: undefined symbol: gcc_location_get_start #178

Open
@CinLH

Description

@CinLH

I am trying to build the plugin on Ubuntu 18.04. After I install the plugin by runing "make plugin", I trying to run the example as follow:

./gcc-with-python examples/show-docs.py test.c

This output

cc1: error: cannot load plugin /home/cin/python/temp/gcc-python-plugin/python.so
   /home/cin/python/temp/gcc-python-plugin/python.so: undefined symbol: gcc_location_get_start

Environment
Ubuntu: 18.04
GCC: 7.4
I install the dependencies by runing:

apt install gcc-7-plugin-dev python-dev python-six python-pygments graphviz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions