Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcsp build failure #8

Closed
donpdonp opened this issue Dec 25, 2020 · 1 comment
Closed

libcsp build failure #8

donpdonp opened this issue Dec 25, 2020 · 1 comment

Comments

@donpdonp
Copy link

after installing the gcc-plugin-dev and unpacking libcsp-0.0.1.tar.gz and running configure, I get the following error from Ubuntu 18.04/gcc 7.5

libcsp-0.0.1$ make
make  all-am
make[1]: Entering directory '/home/donp/projects/v/libcsp-0.0.1'
depbase=`echo plugin/plugin.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.    -I `gcc -print-file-name=plugin`/include -O3 -MT plugin/plugin.lo -MD -MP -MF $depbase.Tpo -c -o plugin/plugin.lo plugin/plugin.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I /usr/lib/gcc/x86_64-linux-gnu/7/plugin/include -O3 -MT plugin/plugin.lo -MD -MP -MF plugin/.deps/plugin.Tpo -c plugin/plugin.cpp  -fPIC -DPIC -o plugin/.libs/plugin.o
In file included from plugin/plugin.cpp:22:0:
plugin/proc.hpp: In function ‘std::__cxx11::string csp::get_callee_name(tree)’:
plugin/proc.hpp:83:49: error: ‘TDF_VOPS’ was not declared in this scope
   dump_generic_node(&pp, CALL_EXPR_FN(call), 0, TDF_VOPS|TDF_MEMSYMS, false);
                                                 ^~~~~~~~
@donpdonp donpdonp changed the title libscp build failure libcsp build failure Dec 25, 2020
@shiyanhui
Copy link
Owner

The version of gcc should be at least 8. See https://libcsp.com/installation/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants