g++ or gcc error about yacc