From: ayahil@sbast4.ess.sunysb.edu (Amos Yahil)
Subject: Bug in GNU tar 1.11
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 12 Dec 1992 16:38:50 GMT

Compilation failed on a DECstation 3100 running Ultrix for RISC 4.2A.
Following is the installation script file.
Script started on Sat Dec 12 21:32:22 1992
sbast4# configure         diff Makefile.in Makefile.in.orig
78,79c78,79
< CFLAGS = -O
< LDFLAGS = -s
---
> CFLAGS = -g
> LDFLAGS = -g
sbast4# configure
checking for gcc
checking how to run the C preprocessor
checking for install
checking for bison
checking for byacc
checking for AIX
checking for minix/config.h
checking for POSIXized ISC
checking return type of signal handlers
checking for size_t in sys/types.h
checking for major, minor and makedev header
checking for directory library header
checking for dirent.h
checking for closedir return value
checking for fcntl.h
checking for 3-argument open
checking for remote tape and socket header files
checking for sys/mtio.h
checking for remote shell
checking for ANSI C header files
checking for unistd.h
checking for limits.h
checking for BSD string and memory functions
checking default archive
checking for strstr
checking for valloc
checking for mkdir
checking for mknod
checking for rename
checking for ftruncate
checking for ftime
checking for vprintf
checking for working alloca.h
checking for alloca
checking for BSD
checking for HP-UX
checking for Xenix
creating config.status
creating Makefile
sbast4# make tar
cc -c -O  -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 -DBSD42=1 -DDEF_AR_FILE=\"/dev/rmt0h\" -DDEFBLOCKING=20 -I. -I. testpad.c
cc -o testpad testpad.o
./testpad
cc -c -O  -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 -DBSD42=1 -DDEF_AR_FILE=\"/dev/rmt0h\" -DDEFBLOCKING=20 -I. -I. tar.c
cc -c -O  -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 -DBSD42=1 -DDEF_AR_FILE=\"/dev/rmt0h\" -DDEFBLOCKING=20 -I. -I. create.c
cc -c -O  -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 -DBSD42=1 -DDEF_AR_FILE=\"/dev/rmt0h\" -DDEFBLOCKING=20 -I. -I. extract.c
ccom: Error: extract.c, line 296: #ifdef undefined
       #ifdef O_CTG
      ------------^
ccom: Error: extract.c, line 296: syntax error
       #ifdef O_CTG
      ------------^
ccom: Error: extract.c, line 322: #else undefined
      			 fd = open(skipcrud + current_file_name,
      --------------------^
ccom: Error: extract.c, line 325: #endif undefined
      		 }
      -----------^
*** Error code 1

Stop.
sbast4# ^D
script done on Sat Dec 12 21:34:49 1992


Newsgroups: gnu.utils.bug