home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15878 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.7 KB

  1. Path: sparky!uunet!ibmarc!boulder!boxelder.Berkeley.EDU!carl
  2. From: carl@boxelder.Berkeley.EDU (Carl vonLoewenfeldt)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: compiling ghostscript/view
  5. Message-ID: <BxAtD5.4xL@afsserv.boulder.ibm.com>
  6. Date: 6 Nov 92 14:24:40 GMT
  7. References: <michaelw.721002668@mcshh.hanse.de>
  8. Sender: news@afsserv.boulder.ibm.com
  9. Reply-To: carl@boxelder.Berkeley.EDU (Carl vonLoewenfeldt)
  10. Organization: IBM Boulder, Colorado
  11. Lines: 35
  12. Nntp-Posting-Host: boxelder.boulder.ibm.com
  13.  
  14. In his note, Michael says:
  15.  
  16. 'Ghostview failed as well:
  17. '# make
  18. 'gcc -fwritable-strings -fomit-frame-pointer  -O2 -m386 -DNO_ASM  
  19. -I/usr/X386/include  -D_POSIX_SOURCE '-D_BSD_SOURCE -D_GNU_SOURCE     
  20. -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO -DNON_BLOCKING_IO  -DSELFILE
  21. '-DHOME_ON_DEMAND   -c misc.c -o misc.o
  22. 'misc.c:61: conflicting types for `sys_errlist'
  23. '/usr/include/errno.h:8: previous declaration of `sys_errlist'
  24. 'make: *** [misc.o] Error 1
  25.  
  26. I got exactly the same problems. I had to modify the files misc.c, line
  27. 61, (and another - 
  28. I forget) as follows:
  29.  
  30. #ifdef notdef
  31. (the offending sys_errlist declaration)
  32. #endif /* notdef */
  33.  
  34. Then it compiled fine. As I said in my previous note, the result was a
  35. GhostView that
  36. comes up beautifully, but when I attempt to use it on an *.eps file, I
  37. get a "dynamic malloc"
  38. error with the info that I have insufficient memory (I think - I'm
  39. remembering.) However,
  40. my 8MB system with 16MB swap has NOTHING else running except for X.
  41.  
  42. Another problem, as I said in a followup note -- make doesn'w work
  43. properly. It fails to
  44. detect that *.o files exist, and are newer than their respective source files. 
  45. Further, make seems to ignore any make targets, such as "install" or "clean".        
  46.  
  47.  
  48. Carl vonLoewenfeldt
  49.