2006/1/29, Christopher Pinon <[EMAIL PROTECTED]>:
> On Sat, Jan 28, 2006 at 10:47:26PM +0100, Axel Liljencrantz wrote:
> > 2006/1/28, Christopher Pinon <[EMAIL PROTECTED]>:
> > > Hi,
> > >
> > > I would like to ask whether there's any hope of compiling fish-1.20.1 on
> > > an older system (gcc-2.95.3, glibc-2.2.3, doxygen-1.2.18). I've included
> > > the console log of configure below, but this looks OK. The problem is
> > > that I get a bad error as soon as I start make:
> > >
> > >
> > > $ make
> > > gcc -g -O2  -Wall -std=gnu99 -fno-strict-aliasing   -c -o function.o 
> > > function.c
> > > cc1: unknown C standard `gnu99'
> > > function.c: In function `function_add':
> > > function.c:96: parse error before `*'
> > > function.c:97: `d' undeclared (first use in this function)
> > > function.c:97: (Each undeclared identifier is reported only once
> > > function.c:97: for each function it appears in.)
> > > make: *** [function.o] Error 1
> > >
> >
> > I honestly don't know. The above error is caused by sloppy coding,
> > namely a variable which is declared in the middle of a block. Moving
> > the declaration to the top of the function should solve it. But GCC3
> > and GCC4 refuse to compile unless one sets the C version to C99. As
> > near as I can tell, this is either a Glibc bug or a GCC bug, seems
> > there is some kind of problem with the siginfo_t type.
>
> Hi Axel,
>
> Thanks for your reply. I don't think that I'm going to investigate this
> further.

Too bad.

> However, you might take this as a good example of fish's not
> compiling with gcc-2.95.3 and suggest a minimal gcc requirement
> somewhere in your install instructions (though I admit that I may not a
> typical user in this respect).

I'm not sure where to put this. In the INSTALL file? Maybe ./configure
should send out a warning? Anyone with an opinion?

>
> Christopher
>

--
Axel
N�HY޵隊X���'���u���[�������
ަ�k��!���W�~�鮆�zk��C� [EMAIL PROTECTED],����a{�
��,�H��4�m�����Z��jY�w��ǥrg

Reply via email to