Help with building gcc
    Jit Keong Tan 
    jit at SLIC.CELLBIO.DUKE.EDU
       
    Thu Dec 20 03:47:52 AEST 1990
    
    
  
=> 
=> cc -c -g   -I. -I../gcc-1.37.1 -I../gcc-1.37.1/config ../gcc-1.37.1/symout.c
=> ccom: Error: ../gcc-1.37.1/stddef.h, line 12: illegal type combination
=>       typedef unsigned long size_t;
=>       ----------------------------^
=> *** Error code 1
Are you using IRIX 3.2 ?
I think the problem is you have declared size_t twice.
The header files in IRIX 3.3 have added the #if conditional 
compile statement so that you can't typedef the size_t twice.
(Of course the error messages don't mean anything.)
Look in to the stddef.h itself, it #define _SIZE_T_ , so is the
header file in IRIX 3.3.  As I recall, this #define _SIZE_T_
statement wasn't appeared in 3.2.  
So, the only way is, not to include this statement at all, or edit
the /usr/include/sys/types.h (or whereever it appears) to make to
#define _SIZE_T_ as it does in stddef.h
--------------------------------------------------------
Jit Keong Tan     | internet: jit at slic.cellbio.duke.edu
(919) 684-8098    | bitnet  : tan00001 at dukemc.bitnet
--------------------------------------------------------
U.S. Mail:
Duke University Medical Center
Box 3709
Department Of Cell Biology
Nanaline Duke Bldg., Rm 385
Research Drive
Durham, NC 27710
    
    
More information about the Comp.sys.sgi
mailing list