Monday, July 21, 2014

Encountering the pars.yacc:5426 error when installing Grace 5.1.23 on CentOS 5

I encountered Encountering the pars.yacc:5426: error: âlog2â undeclared here (not in a function) when installing Grace-5.1.23 on CentOS 5 when Installing Grace (xmgrace) on CentOS 5 and 6

I used gcc44 as the gcc compilers.
pars.yacc:5426: error: âlog2â undeclared here (not in a function)
make[1]: *** [pars.o] Error 1
make[1]: Leaving directory `/root/Downloads/grace-5.1.23/src'
make: *** [subdirs] Error 1

The only solution is to use Grace 5.1.22. It will compile nicely. 

No comments: