Re: [hypermail] Problems compiling Hypermail on three different platoforms

From: Peter Becker <>
Date: Sat, 14 Apr 2001 17:18:39 +1000
Message-ID: <>

Peter C. McCluskey wrote:

> (Peter Becker) writes:

>> Hello,
>> maybe it is just time for me to go into bed but I have some problems
>> compiling hypermail. I tried to compile both 2.0.0 and 2.1.0 on a RedHat
>> 6.2 machine with this result:
>> Expect 13 shift/reduce conflicts.
>> bison -y getdate.y
>> conflicts: 13 shift/reduce
>> gcc -c -g -O2 getdate.c
>> /usr/lib/bison.simple: In function `gd_parse':
>> /usr/lib/bison.simple:285: invalid initializer
>> make[1]: *** [getdate.o] Error 1
>> make[1]: Leaving directory
>> `/mnt/disk5/home/pbecker/build/hypermail-2.0.0/src'
>> make: *** [hypermail] Error 2
>  I use RedHat 6.2 and don't see this problem. Did you install a nonstandard
> version of bison?

Not that I am aware of, but this system has definiterly seen too many administrators and I am not used to RedHat. RPM says:

[pbecker_at_meganesia pbecker]$ rpm --query bison bison-1.28-2

The comments in the files getdate.c and bison.simple match this version number (1.28).

> Can you send us the relevant part of the getdate.c that is generated on > your system? It's probably near a "#line 286".

Isn't this the relevant part:

#line 183 "getdate.y"
typedef union {
int Number;
enum _MERIDIAN Meridian;

#include <stdio.h>                                                      


Here is the part you wanted:

case 20:
#line 286 "getdate.y"

           yyMonth = yyvsp[-2].Number;
           yyDay = yyvsp[0].Number;


The whole file is temporarly available as and the bison file can be found via -- I'll delete them in some days.


PS: another thing that might be relevant:

[pbecker_at_meganesia hypermail-2.1.0]$ gcc --version egcs-2.91.66

at least a difference to the SuSE installations. Received on Mon 16 Apr 2001 02:53:05 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT