🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1176

GCC-2.2.2 and X11R5 for SUN

#1176
From: Pete Geenhuizen
Date: Fri, 09 Oct 1992 09:37
34 lines
2252 bytes
I have a SUN running SUNOS 4.1.2 with X11R5 upto fix 17 compiled with SUN's
compiler.  I recently got GCC-2.2.2 and successfully compiled it, and ran the
fix-includes.  
Noting the changes required in the README.X11 I applied those patches to X11R5 
and attempted to recompile XR5, but alas and alack to no avail, the compile 
failed with many repetitions of the the following errors and the ever present

make: Warning: Target `all' not remade because of errors

making all in ./extensions/server...
... deleted some of the output
In file included from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/string.h:6, from ../.././server/include/os.h:106, from ../.././server/include/misc.h:61, from mitmisc.c:24:
/usr/include/sys/stdtypes.h:27: redefinition of `size_t'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/stddef.h:82: `size_t' previously declared here
/usr/include/sys/stdtypes.h:28: redefinition of `ptrdiff_t'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/stddef.h:45: `ptrdiff_t' previously declared here
/usr/include/sys/stdtypes.h:30: redefinition of `wchar_t'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/stddef.h:120: `wchar_t' previously declared here
*** Error code 1

Being a C novice of the expert catagory, could some kind soul please help me
out and show me the error of my ways and provide me with a solution to this 
predicament.

Thanks
Pete
   ____ .. ____
  /   //||\\   \    TELEDYNE - GEOTECH           
 /   // || \\   \                               
'---'/  ||  \`---`  Pete Geenhuizen             Phone : (407) 494-5481/2/6049
     |  /\  |       Drawer 372630               Fax   :
     | /  \ |       Indian Harbor Beach         Email : peteg@beno.CSS.GOV  
     |/    \|       Florida 32937-0630
     '      `
Technical Details
Message-ID: <51314@seismo.CSS.GOV>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!seismo.css.gov!peteg

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!seismo.css.gov!peteg
From: peteg@seismo.css.gov (Pete Geenhuizen)
Subject: GCC-2.2.2 and X11R5 for SUN
Message-ID: <51314@seismo.CSS.GOV>
Sender: gnulists@ai.mit.edu
Organization: Center for Seismic Studies, Arlington, VA
Distribution: gnu
Date: Fri, 9 Oct 1992 09:37:57 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 35