I'm trying to install GPUOCELOT. Whwn I'm trying to build the file in the directory gpuocelot-master/ocelot. I'm getting the following error. It would be great help if some could help me with the same.
UBUNTU 14.04
~/gpuocelot-master/ocelot$ sudo ./build.py
scons -Q
Build rules for Ocelot....
Failed to get SVN repository version!
Not installing Ocelot.
config_h_build([".release_build/configure.h"], ["
configure.h.in"])
g++ -o .release_build/ocelot/ir/implementation/Module.os -c -O2 -Wall -Werror -std=c++0x -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I/usr/lib/llvm-3.4/include -I.release_build -I. ocelot/ir/implementation/Module.cpp
In file included from ./ocelot/parser/interface/PTXLexer.h:11:0,
from ./ocelot/parser/interface/PTXParser.h:16,
from ocelot/ir/implementation/Module.cpp:10:
.release_build/ptxgrammar.hpp:352:14: error: 'PTXLexer' is not a member of 'parser'
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ptxgrammar.hpp:352:32: error: 'lexer' was not declared in this scope
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ptxgrammar.hpp:352:47: error: 'parser::PTXParser' has not been declared
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ptxgrammar.hpp:352:65: error: 'state' was not declared in this scope
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
.release_build/ptxgrammar.hpp:352:70: error: expression list treated as compound expression in initializer [-fpermissive]
int yyparse (parser::PTXLexer& lexer, parser::PTXParser::State& state);
^
scons: *** [.release_build/ocelot/ir/implementation/Module.os] Error 1
Build failed...
Build failed