Re: [fedora-india] Autotools Problem

2011-09-30 Thread Shakthi Kannan
Hi, --- On Thu, Sep 29, 2011 at 10:14 PM, Gautam Akiwate wrote: | But then why does this problem arise only when I use autotools. I never \-- Because the generated configure script from autotools tries to call yywrap() which didn't exist in the first place. Read the configure script and config.

Re: [fedora-india] Autotools Problem

2011-09-29 Thread Gautam Akiwate
Hi, It seems that the flex has a bug. ( and it still hasn't been corrected apparently as the version I run is 2.5.35) The following is the solution suggested in the bison info. /* Work around an incompatibility in flex (at least versions 2.5.31 through 2.5.33): it generates code that

Re: [fedora-india] Autotools Problem

2011-09-28 Thread Shakthi Kannan
Hi, --- On Wed, Sep 28, 2011 at 8:52 PM, Gautam Akiwate wrote: | Aren't yyerror and yywrap inbuilt definitions? \-- AFAIK, you need to provide them. Read: $ info bison SK -- Shakthi Kannan http://www.shakthimaan.com ___ india mailing list india@l

[fedora-india] Autotools Problem

2011-09-28 Thread Gautam Akiwate
omake -a -c > $ ./configure; make > $ ./lparser < learn.txt > > SK > > -- > Shakthi Kannan > http://www.shakthimaan.com > > > -- > > Message: 3 > Date: Mon, 26 Sep 2011 23:16:28 +0530 > From: Siddhesh Poyarekar

Re: [fedora-india] Autotools Problem

2011-09-26 Thread Siddhesh Poyarekar
On Mon, Sep 26, 2011 at 10:01 PM, Gautam Akiwate wrote: > AC_PROG_YACC > AM_PROG_LEX The problem with these macros are that they only generate warnings and do not die with an error. So if you want to surely die if there is no lex/yacc on the system, then you will need to add additional checks. Th

Re: [fedora-india] Autotools Problem

2011-09-26 Thread Shakthi Kannan
Hi, --- On Mon, Sep 26, 2011 at 10:01 PM, Gautam Akiwate wrote: | But when I do a make it generates an error saying that it is unable to find | yylwrap etc. \-- In addition, I also got the error 'undefined reference to yyerror' when I tried your language-parser-1.0 sources that you had sent. I a

[fedora-india] Autotools Problem

2011-09-26 Thread Gautam Akiwate
Hello, I was part of the FAD, Pune held on 24th Sept. Following this I tried to use autotools with a small code that I am working on. The issue is that it uses lex and yacc and I haven't been able to make it work. The present Makefile that I am using does the following: CC=cc LEXFLAG=-ll YACCFLAG