home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / utils / bug / 1579 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  5.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!wupost!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!madonna.physics.ucla.edu!aoki
  2. From: aoki@madonna.physics.ucla.edu (Ken-ichiro Aoki)
  3. Newsgroups: gnu.utils.bug
  4. Subject: tar-1.11 problems compiling on NeXT2.1
  5. Message-ID: <9209111611.AA00643@_madonna.physics.ucla.edu_>
  6. Date: 11 Sep 92 16:11:00 GMT
  7. Sender: gnulists@ai.mit.edu
  8. Distribution: gnu
  9. Organization: Gnus Not Usenet
  10. Lines: 88
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12.  
  13. tar1.11 does not compile under NeXT 2.1 (I included the machine info
  14. at the end.) I am using GNU make. The output of the make follows.
  15. (I added -Wall flag) I use GNU tar 1.10, and I recall that 
  16. I had no problems compiling that version. I used the 
  17. ./configure provided with tar-1.11. 
  18. I tried fiddling around with the CFLAGS a bit, but to
  19. no avail. cc (which is based on a previous version of gcc) 
  20. chokes on create.c.
  21.  
  22. It compiled fine on the sparc IPX running sunOS4.1.2.
  23.  
  24. Before I leave, I just mention that I have compiled+installed a lot
  25. of GNU stuff on the NeXT's (and sparcs as a user)
  26. here and most of the stuff have
  27. no problems and the routines  are of very high quality.
  28. I try to use GNU versions when I can. Thank you for your
  29. time and great work.
  30.                       ___Kenichiro Aoki.
  31. -------------------------------------------------------------------
  32. cc -O -c -g -Wall  -DSYSDIR=1 -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=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 -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20 -I. -I. testpad.c
  33. testpad.c: In function main:
  34. testpad.c:53: warning: implicit declaration of function `exit'
  35. cc -O -o testpad testpad.o
  36. ./testpad
  37. cc -O -c -g -Wall  -DSYSDIR=1 -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=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 -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20 -I. -I. tar.c
  38. port.h:101: warning: index redefined
  39. port.h:102: warning: rindex redefined
  40. port.h:103: warning: bcopy redefined
  41. port.h:104: warning: bzero redefined
  42. port.h:105: warning: bcmp redefined
  43. In file included from port.h:111, from tar.c:38:
  44. /usr/include/stdlib.h:43: warning: built-in function `__builtin_alloca' redeclared
  45. tar.c: In function main:
  46. tar.c:220: warning: implicit declaration of function `init_volume_number'
  47. tar.c:287: warning: implicit declaration of function `closeout_volume_number'
  48. tar.c: In function name_next:
  49. tar.c:851: warning: implicit declaration of function `chdir'
  50. tar.c: In function addname:
  51. tar.c:961: warning: `i' may be used uninitialized in this function
  52. cc -O -c -g -Wall  -DSYSDIR=1 -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=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 -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20 -I. -I. create.c
  53. port.h:101: warning: index redefined
  54. port.h:102: warning: rindex redefined
  55. port.h:103: warning: bcopy redefined
  56. port.h:104: warning: bzero redefined
  57. port.h:105: warning: bcmp redefined
  58. In file included from port.h:111, from create.c:45:
  59. /usr/include/stdlib.h:43: warning: built-in function `__builtin_alloca' redeclared
  60. create.c: In function dump_file:
  61. create.c:312: warning: implicit declaration of function `write_long'
  62. create.c:332: warning: implicit declaration of function `unlink'
  63. create.c:464: warning: implicit declaration of function `open'
  64. create.c:475: warning: implicit declaration of function `close'
  65. create.c:549: warning: implicit declaration of function `read'
  66. create.c:577: warning: implicit declaration of function `utime'
  67. create.c:607: warning: implicit declaration of function `readlink'
  68. create.c:638: parse error before `*'
  69. create.c:751: `dirp' undeclared (first use this function)
  70. create.c:751: (Each undeclared identifier is reported only once
  71. create.c:751: for each function it appears in.)
  72. create.c:751: warning: implicit declaration of function `opendir'
  73. create.c:767: warning: implicit declaration of function `readdir'
  74. create.c:767: warning: assignment of pointer from integer lacks a cast
  75. create.c:769: invalid use of undefined type `struct direct'
  76. create.c:772: warning: implicit declaration of function `DP_NAMELEN'
  77. create.c:780: invalid use of undefined type `struct direct'
  78. create.c:786: warning: implicit declaration of function `closedir'
  79. create.c:638: warning: unused variable `DIR'
  80. create.c:200: warning: `header' may be used uninitialized in this function
  81. create.c: In function write_long:
  82. create.c:1341: warning: return-type defaults to `int'
  83. create.c:1371: warning: control reaches end of non-void function
  84. make: *** [create.o] Error 1
  85. Command had non-zero exit status 1
  86. 8.78user 2.2system 0:14.18elapsed 76%CPU (0text+0data 0max)k
  87. 80inputs+94outputs (0major+0minor)pagefaults 0swaps
  88. ------------------------------------------------------------------------
  89.  
  90.  
  91. Mach kernel version:
  92.      NeXT Mach 2.1: Thu Mar  7 19:13:47 PST 1991; /ph1_sources/projects/mk-108.14/RELEASE
  93.  
  94. Kernel configured for a single processor only.
  95. 1 processor is physically available.
  96. Processor type: MC680x0 (68040)
  97. Processor active: 0
  98. Primary memory available: 20.00 megabytes.
  99. Default processor set: 43 tasks, 65 threads, 1 processors
  100. Load average: 0.00, Mach factor: 0.99
  101.