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. 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).

Christopher


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to