home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 2013 < prev    next >
Encoding:
Text File  |  1992-11-08  |  5.2 KB  |  145 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icule.UUCP!pinard
  3. From: pinard@icule.UUCP (Francois Pinard)
  4. Subject: Oleo 1.0 installation report
  5. Message-ID: <9211081800.AA01243@icule.UUCP>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: pinard@iro.umontreal.ca
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Sun, 8 Nov 1992 18:00:16 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 131
  13.  
  14. This pertains to GNU Oleo 1.0 installation, using GNU C 1.41 under
  15. COFF encapsulation, on a 386/ix 2.0.2 system, waiting for Hurd :-).
  16. This is only a partial report, lacking time of doing better for now.
  17.  
  18. * As already reported, the BUGS file is missing a line.  I am also
  19. sending a copy of this to <lord@gnu.ai.mit.edu> whom *might* be the
  20. Oleo maintainer, I am not sure.  I previously communicated some Oleo
  21. 0.03.[12] reports to Jay Fenlason, which reports might could be lost
  22. by now.  I never received acknowledgement nor reply, in any case.
  23. Would the current maintainer tell me where should I resubmit these old
  24. articles?
  25.  
  26. * There is no ChangeLog.  There should be one as per GNU standards.
  27.  
  28. * The autoconfiguration process ends with:
  29.  
  30.     [...]
  31.     checking for vprintf
  32. ->    checking for -1
  33.     creating config.status
  34.     creating Makefile
  35.  
  36. Here is a correction:
  37.  
  38. --- 1.1    1992/11/08 17:00:12
  39. +++ configure.in    1992/11/08 17:01:27
  40. @@ -18,5 +18,6 @@
  41.  AC_HAVE_HEADERS(X11/X.h)
  42.  dnl checks for functions
  43.  AC_REPLACE_FUNCS(_doprnt random ualarm)
  44. +undefine([index])dnl
  45.  AC_HAVE_FUNCS(ualarm setitimer rint rename vprintf index)
  46.  AC_OUTPUT(Makefile)
  47.  
  48. * There are two (and only two) references to USG:
  49.  
  50.     io_curses.c:26:#undef USG
  51.     io_edit.c:24:#undef USG
  52.  
  53. If they have no useful purpose, these lines might be deleted.
  54.  
  55. * Because <time.h> is included both in eval.c and in sysdef.h, one gets:
  56.  
  57.     gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  eval.c
  58.     In file included from sysdef.h:31, from eval.c:62:
  59.     /usr/include/time.h:10: redefinition of `struct tm'
  60.  
  61. I removed the include of <time.h> in eval.c.
  62.  
  63. * Because "time.h" is included in print.c *after* global.h, which
  64. includes sysdef.h, which includes <time.h>, one gets:
  65.  
  66.     gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  print.c
  67.     In file included from print.c:21:
  68.     /usr/include/time.h:10: redefinition of `struct tm'
  69.  
  70. I removed the include in "time.h" in print.c.  Besides, there is no
  71. local file named time.h.
  72.  
  73. * The `inline' keyword is verboten in ANSI C.  This yields:
  74.  
  75.     gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  lists.c
  76.     lists.c:60: parse error before `void'
  77.     lists.c:74: parse error before `void'
  78.     lists.c:100: parse error before `void'
  79.     lists.c:116: parse error before `void'
  80.     lists.c:217: parse error before `void'
  81.     lists.c:250: parse error before `void'
  82.     lists.c:362: parse error before `void'
  83.  
  84. This patch is inspired from an advice given in GNU C documentation:
  85.  
  86. --- 1.1    1992/11/08 17:34:16
  87. +++ lists.c    1992/11/08 17:35:25
  88. @@ -18,7 +18,9 @@
  89.  #define malloc_chain_check(x)
  90.  #endif
  91.  
  92. -#ifndef __GNUC__
  93. +#ifdef __GNUC__
  94. +#define inline __inline__
  95. +#else
  96.  #define inline
  97.  #endif
  98.  
  99. * Here are, in a unsorted bunch, the remaining compilation errors and
  100. warnings.  If I have more time, I might take a deeper look.  That
  101. would certainly not be before a few days, however...
  102.  
  103. cd /usr0/tmp/oleo-1.0/
  104. make -k
  105. gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  io_term.c
  106. io_term.c: In function real_get_chr:
  107. io_term.c:539: `TRUE' undeclared (first use this function)
  108. io_term.c:539: (Each undeclared identifier is reported only once
  109. io_term.c:539: for each function it appears in.)
  110. io_term.c:541: `ERR' undeclared (first use this function)
  111. io_term.c:547: `FALSE' undeclared (first use this function)
  112. io_term.c: In function do_bind_key:
  113. io_term.c:3766: argument `vector' doesn't match function prototype
  114. io_term.c:3766: a formal parameter type that promotes to `int'
  115. io_term.c:3766: can match only `int' in the prototype
  116. io_term.c:3766: argument `code' doesn't match function prototype
  117. io_term.c:3766: a formal parameter type that promotes to `int'
  118. io_term.c:3766: can match only `int' in the prototype
  119. make: *** [io_term.o] Error 1
  120. gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  io_utils.c
  121. io_utils.c: In function cell_value_string:
  122. io_utils.c:353: argument `row' doesn't match function prototype
  123. io_utils.c:353: argument `col' doesn't match function prototype
  124. make: *** [io_utils.o] Error 1
  125. gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  io_curses.c
  126. /usr/include/curses.h:26: warning: SYSV redefined
  127. io_curses.c:56: warning: `struct sgttyb' declared inside parameter list
  128. io_curses.c:56: warning: its scope is only this definition or declaration,
  129. io_curses.c:56: warning: which is probably not what you want.
  130. io_curses.c: In function _io_nodelay:
  131. io_curses.c:446: `_curses_fns' undeclared (first use this function)
  132. io_curses.c:446: (Each undeclared identifier is reported only once
  133. io_curses.c:446: for each function it appears in.)
  134. make: *** [io_curses.o] Error 1
  135. gcc -ansi -Di386 -O -c -g  -DSYSV=1 -DHAVE_VPRINTF=1  print.c
  136. make: Target `all' not remade because of errors.
  137.  
  138. Compilation exited abnormally with code 1 at Sun Nov  8 12:50:20
  139.  
  140. -- 
  141. Franc,ois Pinard        ``Vivement GNU!''       pinard@iro.umontreal.ca
  142. (514) 588-4656                                   ...!uunet!iros1!pinard
  143. About the League for Programming Freedom?  Email me or lpf@uunet.uu.net
  144.  
  145.