You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gpuocelot
Hey List,
so I am getting some error in installing gpuocelot, I am not able to
track them down !! Does anyone ahs any idea what maybe the cause of
error at the end. Any pointers will be appreciated.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gpuo...@googlegroups.com
On first glance it looks like an issue with the version of flex you have installed. Try './build.sh -w --install -p /path/' as a workaround and post back if you run into any other issues.
Regards,
Greg
Shoaib
unread,
Mar 2, 2012, 12:56:37 PM3/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gpuocelot
Thanks for the reply Greg.
So I included the 'w' flag but it didn't help, then I used flex 2.5.35
version which gave me this result ... any guess??
<stdout>:327:25: error: no 'int ptxFlexLexer::yywrap()' member
function declared in class 'ptxFlexLexer'
<stdout>: In member function 'virtual int parser::PTXLexer::yylex()':
<stdout>:1267:10: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:1267:10: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>:1268:27: error: 'yyensure_buffer_stack' was not declared in
this scope
<stdout>:2945:8: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:2945:8: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>:2968:25: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:2968:25: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>:3010:19: error: 'yywrap' was not declared in this scope
<stdout>: In constructor 'ptxFlexLexer::ptxFlexLexer(std::istream*,
std::ostream*)':
<stdout>:3087:2: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3088:2: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>:3089:2: error: 'yy_buffer_stack_max' was not declared in this
scope
<stdout>: In destructor 'virtual ptxFlexLexer::~ptxFlexLexer()':
<stdout>:3101:20: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3101:20: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'virtual void
ptxFlexLexer::switch_streams(std::istream*, std::ostream*)':
<stdout>:3111:21: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3111:21: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'int ptxFlexLexer::yy_get_next_buffer()':
<stdout>:3163:28: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3163:28: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'void ptxFlexLexer::yyunput(int, char*)':
<stdout>:3359:15: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3359:15: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'int ptxFlexLexer::yyinput()':
<stdout>:3403:24: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3403:24: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>:3432:20: error: 'yywrap' was not declared in this scope
<stdout>: In member function 'virtual void
ptxFlexLexer::yyrestart(std::istream*)':
<stdout>:3471:9: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3471:9: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>:3472:32: error: 'yyensure_buffer_stack' was not declared in
this scope
<stdout>:3477:18: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3477:18: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'virtual void
ptxFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
<stdout>:3493:25: error: 'yyensure_buffer_stack' was not declared in
this scope
<stdout>:3494:7: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3494:7: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>:3497:7: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3497:7: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>:3505:2: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3505:2: error: 'yy_buffer_stack_top' was not declared in this
scope
<stdout>: In member function 'void
ptxFlexLexer::yy_load_buffer_state()':
<stdout>:3518:21: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3518:21: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'virtual void
ptxFlexLexer::yy_delete_buffer(yy_buffer_state*)':
<stdout>:3564:12: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3564:12: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'void
ptxFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
<stdout>:3593:14: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3593:14: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: In member function 'void
ptxFlexLexer::yy_flush_buffer(yy_buffer_state*)':
<stdout>:3625:12: error: 'yy_buffer_stack' was not declared in this
scope
<stdout>:3625:12: error: 'yy_buffer_stack_top' was not declared in
this scope
<stdout>: At global scope:
<stdout>:3635:66: error: no 'void
ptxFlexLexer::yypush_buffer_state(yy_buffer_state*)' member function
declared in class 'ptxFlexLexer'
<stdout>:3665:43: error: no 'void ptxFlexLexer::yypop_buffer_state()'
member function declared in class 'ptxFlexLexer'
<stdout>:3684:45: error: no 'void
ptxFlexLexer::yyensure_buffer_stack()' member function declared in
class 'ptxFlexLexer'
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gpuocelot
And got this one with flex 2.5.4
ocelot/parser/implementation/ptx.ll: In member function 'virtual int
parser::PTXLexer::yylex()':
ocelot/parser/implementation/ptx.ll:101:12: error: 'cin' was not
declared in this scope
ocelot/parser/implementation/ptx.ll:104:13: error: 'cout' was not
declared in this scope
ocelot/parser/implementation/ptx.ll:626:39: error: cannot convert
'std::istream*' to 'istream*' in assignment
ocelot/parser/implementation/ptx.ll:147:1: warning: label 'find_rule'
defined but not used
ocelot/parser/implementation/ptx.ll: At global scope:
ocelot/parser/implementation/ptx.ll:734:46: error: 'ostream' has not
been declared
ocelot/parser/implementation/ptx.ll:734:1: error: prototype for
'ptxFlexLexer::ptxFlexLexer(istream*, int*)' does not match any in
class 'ptxFlexLexer'
/usr/include/FlexLexer.h:103:38: error: candidates are:
ptxFlexLexer::ptxFlexLexer(const ptxFlexLexer&)
/usr/include/FlexLexer.h:107:2: error:
ocelot/parser/implementation/ptx.ll:769:52: error: 'ostream' has not
been declared
ocelot/parser/implementation/ptx.ll:769:6: error: prototype for 'void
ptxFlexLexer::switch_streams(istream*, int*)' does not match any in
class 'ptxFlexLexer'
/usr/include/FlexLexer.h:117:15: error: candidate is: virtual void
ocelot/parser/implementation/ptx.ll:1118:6: error: prototype for 'void
ptxFlexLexer::yyrestart(istream*)' does not match any in class
'ptxFlexLexer'
/usr/include/FlexLexer.h:114:7: error: candidate is: virtual void
ptxFlexLexer::yyrestart(std::istream*)
ocelot/parser/implementation/ptx.ll: In member function 'void
ptxFlexLexer::yy_load_buffer_state()':
ocelot/parser/implementation/ptx.ll:1157:28: error: cannot convert
'istream*' to 'std::istream*' in assignment
ocelot/parser/implementation/ptx.ll: At global scope:
ocelot/parser/implementation/ptx.ll:1162:17: error: prototype for
'yy_buffer_state* ptxFlexLexer::yy_create_buffer(istream*, int)' does
not match any in class 'ptxFlexLexer'
/usr/include/FlexLexer.h:112:26: error: candidate is: virtual
yy_buffer_state* ptxFlexLexer::yy_create_buffer(std::istream*, int)
ocelot/parser/implementation/ptx.ll:1203:6: error: prototype for 'void
ptxFlexLexer::yy_init_buffer(yy_buffer_state*, istream*)' does not
match any in class 'ptxFlexLexer'
/usr/include/FlexLexer.h:128:7: error: candidate is: void
ptxFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)
ocelot/parser/implementation/ptx.ll: In member function 'virtual void
ptxFlexLexer::LexerError(const char*)':
ocelot/parser/implementation/ptx.ll:1305:2: error: 'cerr' was not
declared in this scope
ocelot/parser/implementation/ptx.ll: At global scope:
ocelot/parser/implementation/ptx.ll:605:5: error: expected unqualified-
id before numeric constant
ocelot/parser/implementation/ptx.ll:1362:14: warning: 'void*
yy_flex_alloc(yy_size_t)' defined but not used
ocelot/parser/implementation/ptx.ll:1372:14: warning: 'void*
yy_flex_realloc(void*, yy_size_t)' defined but not used