I'm trying to build gpuocelot on a Linux Mint 18.1 system (it's based on Ubuntu 16.04 Xenial Xerus). After following the clone and submodule init instructions, I ran:
./build.py -j 4 -p ~/opt/gpuocelot -i
in the gpuocelot source directory, and after some successful compilations I get:
In file included from ocelot/ocelot/parser/interface/PTXLexer.h:11:0,
from ocelot/ocelot/parser/interface/PTXParser.h:16,
from ocelot/ocelot/ir/implementation/Module.cpp:10:
.release_build/ocelot/ptxgrammar.hpp:354:14: error: 'PTXLexer' is not a member of 'parser'
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ocelot/ptxgrammar.hpp:354:32: error: 'lexer' was not declared in this scope
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ocelot/ptxgrammar.hpp:354:47: error: 'parser::PTXParser' has not been declared
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ocelot/ptxgrammar.hpp:354:65: error: 'state' was not declared in this scope
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ocelot/ptxgrammar.hpp:354:70: error: expression list treated as compound expression in initializer [-fpermissive]
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
What should I do?
I'm trying to build gpuocelot on a Linux Mint 18.1 system (it's based on Ubuntu 16.04 Xenial Xerus). After following the clone and submodule init instructions, I ran:
./build.py -j 4 -p ~/opt/gpuocelot -iin the gpuocelot source directory, and after some successful compilations I get:
What should I do?