home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / utils / bug / 1458 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.9 KB  |  71 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!eso.mc.xerox.COM!leisner
  3. From: leisner@eso.mc.xerox.COM (Marty Leisner 311/? x?)
  4. Subject: shellutils 1.7
  5. Message-ID: <9209011504.AA19300@louvre.wbst147.xerox.com>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: leisner.henr801c@xerox.com
  8. Organization: Xerox
  9. Distribution: gnu
  10. Date: Tue, 1 Sep 1992 15:04:41 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 57
  13.  
  14. I just got shellutils 1.7 up and running on a sparcstation (OS 4.1.1B, gcc 2.2.2)
  15.  
  16. There should be n easier way to get version information -- I tried 
  17. grep shellutils /usr/local/bin/basename
  18. and it dumped the symbol table to my screen.  At least, how about an RCS
  19. keybword in each file so I can ident it?
  20.  
  21. Also, I just began to look texinfo documentation in Emacs.   I'm confused about whether
  22. GNU wants man pages or texinfo docs (or both in some cases...)
  23.  
  24. I had problems making it...
  25. for dir in lib src man; do echo making all in $dir; cd $dir; make bindir='/usr/gnu/bin' mandir='/us
  26. r/gnu/man/man1' manext='1' binprefix='' manprefix='' LIBS='' AR='ar' RANLIB='ranlib' INSTALL_PROGRA
  27. M='/usr/gnu/bin/install -c' INSTALL_DATA='/usr/gnu/bin/install -c -m 644' DEFS='-DHAVE_LIMITS_H=1 -
  28. DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_FTIME=1 -DHAVE_UT_HOST=1 -DHAVE_C_LINE=1
  29.  -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_TM_ZONE=1 -DDIRENT=1' CFLAGS='-g' LDFLAGS='-g' LIBS='' C
  30. C='gcc -O' all; cd ..; done
  31. making all in lib
  32. make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/shellutils-1.7/lib'
  33. gcc -O -c -g  -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_FTIME=1
  34.  -DHAVE_UT_HOST=1 -DHAVE_C_LINE=1 -DHAVE_VPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_TM_ZONE=1 -DDIRENT=1 -I
  35. . strtoul.c
  36. In file included from /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stdlib.h:10, from ./strtol.c:33, from
  37.  strtoul.c:21:
  38. /usr/include/sys/stdtypes.h:27: redefinition of `size_t'
  39. /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:82: `size_t' previously declared here
  40. /usr/include/sys/stdtypes.h:28: redefinition of `ptrdiff_t'
  41. /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:45: `ptrdiff_t' previously declared here
  42. /usr/include/sys/stdtypes.h:30: redefinition of `wchar_t'
  43. /usr/gnu/lib/gcc-lib/sun4/2.2.2/include/stddef.h:120: `wchar_t' previously declared here
  44. make[1]: *** [strtoul.o] Error 1
  45. make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/shellutils
  46.  
  47. In lib/strtoul.c:
  48.  
  49. #include <strtol.c>
  50.  
  51. Shouldn't this be:
  52.  
  53. #include "strtol.c"
  54.  
  55. Fixing the above errors, I just took out
  56.   #include <stdlib.h>
  57. in strtol.c.  I didn't figure out a "righter" way.
  58.  
  59. Also GNU make has lots of nice features....what is the sense if noone 
  60. uses them...
  61. For example,, making rules like this cleaner:
  62. clean:
  63.         for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $(MDEFINES) $@; cd ..;
  64.  done
  65.  
  66.  
  67. Marty    leisner.henr801c@xerox.com 
  68.           Member of the League for Programming Freedom 
  69.      Give me source or waste my time..
  70.  
  71.