🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #829

tar-1.11 on Sun4

#829
From: Bruno Haible
Date: Sat, 12 Sep 1992 16:05
31 lines
1520 bytes
To build tar-1.11 on Sun Sparc (Sun OS 4.1.1), it is necessary to include
<sys/time.h> in getdate.y . Otherwise:

gcc -O -traditional -g  -target sun4 -c -o getdate.o y.tab.c
getdate.y: In function `get_date':
getdate.y:858: storage size of `tv' isn't known    /* struct timeval */
getdate.y:859: storage size of `tz' isn't known    /* struct timezone */
*** Error code 1

Here are the relevant parts of config.status:

PROGS='tar rmt'
CC='gcc -O -traditional'
CPP='${CC-cc} -E'
INSTALL='/bin/install -c'
INSTALL_PROGRAM='$(INSTALL)'
INSTALL_DATA='$(INSTALL) -m 644'
YACC='bison -y'
RTAPELIB='rtapelib.o'
DEF_AR_FILE='/dev/rmt8'
ALLOCA=''
MALLOC='malloc.o'
LIBS=''
srcdir='.'
DEFS=' -DDIRENT=1 -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRSTR=1 -DHAVE_VALLOC=1 -DHAVE_MKDIR=1 -DHAVE_MKNOD=1 -DHAVE_RENAME=1 -DHAVE_FTRUNCATE=1 -DHAVE_FTIME=1 -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DBSD42=1'
prefix=''
exec_prefix=''
prsub=''

Bruno Haible
haible@ma2s2.mathematik.uni-karlsruhe.de
Technical Details
Message-ID: <9209121205.AA02603@ma2s2.mathematik.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ma2s2.mathematik.uni-karlsruhe.de!haible

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ma2s2.mathematik.uni-karlsruhe.de!haible
From: haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible)
Subject: tar-1.11 on Sun4
Message-ID: <9209121205.AA02603@ma2s2.mathematik.uni-karlsruhe.de>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 12 Sep 1992 16:05:38 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 32