help-bison
[Top][All Lists]
Advanced

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

Re: std::string as YYSTYPE segfaults


From: Vitaliy Ziskin
Subject: Re: std::string as YYSTYPE segfaults
Date: Thu, 28 Feb 2002 18:08:31 -0500

    What does this error mean:

/tmp/cc1YK6zZ.o: In function `yyparse':
/usr/lib/bison.simple:249: multiple definition of `yyparse'
/tmp/ccp07cId.o:/usr/lib/bison.simple:249: first defined here
collect2: ld returned 1 exit status
make: *** [LexParser] Error 1

Can someone help me.  Thanks a lot.

                                    Cheers, Vitaliy

P.S.  Here is the make file I'm using

BisonParser.tab.c: BisonParser.y
 bison -d BisonParser.y

lex.yy.c: LexParser.y
 flex -i LexParser.y

LexParser: lex.yy.c lexer.o BisonParser.tab.c
 $(CPP) -Wall -g -o LexParser $(LIBS) lexer.o BisonParser.tab.c lex.yy.c

--
=====================================================================
Vitaliy Ziskin                                Tel: (617)253-9209
MIT 26-547                          http://www.lns.mit.edu/people/vziskin/
77 Massachusetts Ave
Cambridge, Ma
02139
======================================================================
        "For long you live and high you fly
         And smiles you'll give and tears you'll cry
         And all you touch and all you see
         Is all your life will ever be"--Pink Floyd






reply via email to

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