Subject: Re: cc: Internal compiler error
To: None <cmason+@CMU.EDU>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 11/20/1996 13:30:18
>Date: Wed, 20 Nov 1996 12:46:55 -0500 (EST)
>From: Christopher J Mason <cmason+@CMU.EDU>
>
>I'm trying to compile a kerberized lpr.  I've fixed several references
>to sys_errlist[] but now I get:
>
>In file included from /usr/include/a.out.h:42,
>                 from lp.local.h:19,
>                 from lpdchar.c:14:
>/usr/include/sys/exec.h:98: syntax error before `__P'
>/usr/include/sys/exec.h:101: syntax error before `u_int'
>
>*******from lp.local.h:*************
>
>#ifndef SOLARIS
>#include <a.out.h>

Add

#include <sys/types.h>
#include <sys/cdefs.h>

after the '#ifndef SOLARIS' line.  There is a bug here; <sys/exec.h>
should #include <sys/cdefs.h> for itself.

>cc: Internal compiler error: program cc1 got fatal signal 6
>*** Error code 1

>I have no idea what this means.

It means you've managed to trigger a bug in gcc, which caused gcc to
call abort().  If it persists after you add the #includes above, try
applying the patches in PR 2827 to upgrade gcc to version 2.7.2.1.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil