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

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!med-in.uni-sb.DE!korn
  3. From: korn@med-in.uni-sb.DE (korn)
  4. Subject: problen, with, fileutils-3.4
  5. Message-ID: <9211120823.AA04604@ukh840.med-in.uni-sb.de>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 12 Nov 1992 10:23:34 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 52
  12.  
  13. Hi
  14.  
  15. I am working on a
  16.     SINIX-F ukh840 V5.24 N14 MX550 
  17. Machine (says uname -a).
  18.  
  19. I had a Problem in installing fileutils-3.4.
  20.  
  21. In file system.h (and also in backupfile.c, savedir.c) in directory lib
  22. there is defined
  23.  
  24.     #ifdef direct
  25.     #undef direct
  26.     #endif
  27.     #define direct dirent
  28.  
  29. in /usr/include/dirent.h on my machine is defined
  30.  
  31.     #define dirent direct
  32.     ...
  33.     struct direct{ /* definition of struct direct */
  34.     ...
  35.     }
  36.  
  37. a make resulted in
  38.  
  39.     backupfile.c:141 [error] infinite expansion of direct
  40.  
  41.  
  42. So i changed 
  43.  
  44.     #ifdef direct
  45.     #undef direct
  46.     #endif
  47.     #define direct dirent
  48.  
  49. to
  50.  
  51.     #ifndef sinix
  52.     #    undef direct
  53.     #    endif
  54.     #    define direct dirent
  55.     #endif
  56.  
  57. to outcomment the hack
  58. and could build fileutils-3.4.
  59.  
  60. Bye
  61. Heinfried Korn
  62. korn@med-in.uni-sb.de
  63.  
  64.  
  65.