[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] Re: Make error
From: |
Harshavardhana |
Subject: |
[Gluster-devel] Re: Make error |
Date: |
Mon, 30 Apr 2007 19:41:01 +0530 (IST) |
User-agent: |
SquirrelMail/1.4.9a |
Hi avati,
Please find the attached patch. Well now the configure will exit for
byacc parser as it doesn't have yylval defined as YYSTYPE inside
y.tab.h of which bison has
I tried adding a below type of code to spec.y to actually support byacc.
But found some errors further.
#if ! defined YYSTYPE && ....
typedef int YYSTYPE;
.....
.....
extern YYSTYPE yylval;
Which byacc lacks yylval declaration inside y.tab.h. Sole reason why build
breaks. Right now byacc will not be supported as parser for glusterfs.
Regards
>>
>> That might be a problem with 'byacc' and 'bison' compatibility. These
>> were seen at many places with many other packages. Even the 'bison -y'
>> i don't think is fully 'byacc' mode. As you can see after installing
>> bison the error goes away and 'make' is smooth as it has to be. But
>> for having that compatibility check we can add in configure.ac a better
>> check for yylval, and yylex function.
>
> Good suggestion, please send a patch to configure.ac to check for yylval
>
>
> avati
>
>
> --
> ultimate_answer_t
> deep_thought (void)
> {
> sleep (years2secs (7500000));
> return 42;
> }
>
>
--
Harshavardhana
"Software gets slower faster as Hardware gets faster"