Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!ucbvax!SLIC.CELLBIO.DUKE.EDU!jit From: jit@SLIC.CELLBIO.DUKE.EDU (Jit Keong Tan) Newsgroups: comp.sys.sgi Subject: Re: Help with building gcc Message-ID: <9012191647.AA00526@slic.cellbio.duke.edu> Date: 19 Dec 90 16:47:52 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 34 => => 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@slic.cellbio.duke.edu (919) 684-8098 | bitnet : tan00001@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