Subject: Re: problem building f2c
To: None <firstname.lastname@example.org>
From: Brad Salai <email@example.com>
Date: 07/23/1998 11:08:31
At 10:35 AM -0400 7/23/98, firstname.lastname@example.org wrote:
>On Thu, 23 Jul 1998, Brad Salai wrote:
>> from sources supped Thursday morning, I get:
>> cc -c -DSkip_f2c_Undefs -O2 -DNO_ONEXIT signal_.c
>> In file included from /usr/include/signal.h:42,
>> from signal1.h:6,
>> from signal_.c:2:
>> /usr/include/sys/signal.h:157: syntax error before `size_t'
>> *** Error code 1
>On my machine (NetBSD/mac68k 1.3), I must have a different signal.h:
>grep size_t /usr/include/sys/signal.h
>shows nothing (ie, no 'size_t' to be found in that file).
>For what its worth, I have
>/* $NetBSD: signal.h,v 1.23 1997/05/14 16:12:15 christos Exp $ */
>and -current has
>/* $NetBSD: signal.h,v 1.31 1998/06/25 23:40:59 thorpej Exp $ */
>so, I grabbed <sys/signal.h> and <sys/featurelist.h> (-current) and
>pointed to those instead and now I get the same message.
>dan@dinah-moe (175)-% cc -c -DSkip_f2c_Undefs -O2 -DNO_ONEXIT signal_.c
>In file included from signal1.h:6,
> from signal_.c:2:
>signal.h:171: syntax error before `size_t'
>The problems is that 'size_t' needs to be defined somewhere. That
>somewhere is in <sys/types.h> which is not included.
>If you add
>at the top of 'signal1.h' in the f2c/libF77 directory, f2c will compile
>correctly. I don't know if the right answer is to add one more patch file
>to the f2c package for -current support or if the right answer is to add
>Any comments from someone who is qualified to answer this one (I'm
>btw, what sort of machine is this on Brad? Not that it should matter, but
>I'm just curious.
That fixed it, thank you.
This is on a i386 machine running 1.3E not -current
Stephen B. Salai Phone (716) 325-5553
Cumpston & Shaw Fax (716) 262-3906
Two State Street email email@example.com
Rochester, NY 14614