help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking Error


From: jamespet
Subject: Linking Error
Date: Sun, 15 Apr 2007 19:43:24 -0500 (CDT)
User-agent: SquirrelMail/1.4.8

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

address@hidden 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]