undefined reference to yyerror :- Error 2 while doing Cmake #463
-
this is the error I got while executing the following command: I have installed all the dependencies and I'm using a CUDA 12.4. Can anyone provide the reason the reason for this popping up and how to solve it? Thanks and Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Define the function yyerror in~/Prabin/secTry/accel-sim-framework/gpu-simulator/gpgpu-sim/src/intersim2/config.l addedvoid yyerror(const char* s); Declare the function yyerror in~/Prabin/secTry/accel-sim-framework/gpu-simulator/gpgpu-sim/src/intersim2/config.y addedvoid yyerror(const char* s); |
Beta Was this translation helpful? Give feedback.
Define the function yyerror in
~/Prabin/secTry/accel-sim-framework/gpu-simulator/gpgpu-sim/src/intersim2/config.l
added
void yyerror(const char* s);
void yyerror(const char* s){
fprintf(stderr, "Parse error: %s\n", s);
}
Declare the function yyerror in
~/Prabin/secTry/accel-sim-framework/gpu-simulator/gpgpu-sim/src/intersim2/config.y
added
void yyerror(const char* s);