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 |
Answered by
PrabinKuSabat
Sep 12, 2025
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); |
0 replies
Answer selected by
PrabinKuSabat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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);