🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #54

GNU shellutils 1.8 installation (gcc 2.2.2, SunOS 4.1.2)

#54
From: Marty Leisner
Date: Mon, 02 Nov 1992 16:13
21 lines
1694 bytes
I had the following problems:
gcc -O -c -g  -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_FTIME=1 -DHAVE_UT_HOST=1 -DH
AVE_C_LINE=1 -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_TM_ZONE=1 -DDIRENT=1 -I. strtoul.c
In file included from /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stdlib.h:10, from strtol.c:33, from strtoul.c:21:
/usr/include/sys/stdtypes.h:27: redefinition of `size_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:82: `size_t' previously declared here
/usr/include/sys/stdtypes.h:28: redefinition of `ptrdiff_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:45: `ptrdiff_t' previously declared here
/usr/include/sys/stdtypes.h:30: redefinition of `wchar_t'
/usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:120: `wchar_t' previously declared here
make[1]: *** [strtoul.o] Error 1
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/shellutils-1.8/lib'
making all in src
make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/shellutils-1.8/src'

I took out STDC_HEADERS from the Makefile, and things appeared to work...

--
marty
leisner.henr801c@xerox.com  
Member of the League for Programming Freedom
Technical Details
Message-ID: <1992Nov2.161306.20470@spectrum.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner
From: leisner@wrc.xerox.COM ( Marty Leisner)
Newsgroups: gnu.utils.bug
Subject: GNU shellutils 1.8 installation (gcc 2.2.2, SunOS 4.1.2)
Message-ID: <1992Nov2.161306.20470@spectrum.xerox.com>
Date: 2 Nov 92 16:13:06 GMT
Sender: gnulists@ai.mit.edu
Reply-To: leisner.henr801c@xerox.com
Distribution: gnu
Organization: Xerox
Lines: 21
Approved: bug-gnu-utils@prep.ai.mit.edu