I have my error below
Can anyone help me out with this?

[EMAIL PROTECTED] PAS]$ make
-------------------------------------- Building Sources --------------------
flex lex.l
mv lex.yy.cc ./src
bison -d parser.yy
mv parser.tab.cc ./src
mv *.hh ./include
make -C ./src
make[1]: Entering directory `/home/jamespet/PAS/src'
g++ -c -I../include -g -O2 -Wall    -o ../obj/main.o main.cpp
g++ -c -I../include -g -O2 -Wall    -o ../obj/stentry.o stentry.cpp
g++ -c -I../include -g -O2 -Wall    -o ../obj/stclass.o stclass.cpp
g++ -c -I../include -g -O2 -Wall    -o ../obj/lex.yy.o lex.yy.cc
g++ -c -I../include -g -O2 -Wall    -o ../obj/parser.tab.o parser.tab.cc
parser.tab.cc: In member function `virtual int yy::Parser::parse()':
parser.tab.cc:305: warning: label `yyerrorlab' defined but not used
make[1]: Leaving directory `/home/jamespet/PAS/src'
-------------------------------------- Building pas ------------------------
g++  -ggdb -o ./bin/pas ./obj/*.o
./obj/parser.tab.o(.gnu.linkonce.r._ZTVN2yy6ParserE+0x18): undefined
reference to `yy::Parser::error_()'
./obj/parser.tab.o(.gnu.linkonce.r._ZTVN2yy6ParserE+0x1c): undefined
reference to `yy::Parser::print_()'
collect2: ld returned 1 exit status
make: *** [pas] Error 1



_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to