home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15855 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.8 KB  |  51 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!news.Hamburg.Germany.EU.net!michaelw
  3. From: michaelw@mcshh.Hanse.DE (Michael Will)
  4. Subject: Re: compiling ghostscript/view
  5. Organization: Point of Presence & MCS Hamburg
  6. Date: Fri, 6 Nov 1992 06:55:00 GMT
  7. Message-ID: <michaelw.721032900@mcshh.hanse.de>
  8. References: <michaelw.721002668@mcshh.hanse.de>
  9. Sender: news@mcshh.Hanse.DE (News Administrator)
  10. Lines: 39
  11.  
  12. michaelw@mcshh.Hanse.DE (Michael Will) writes:
  13. >/bin/sh <_temp_
  14. >ld: No such file or directory for libsocket.a
  15. >make: *** [gs] Error 1
  16. ># 
  17. >Why this?
  18. Because I where so stupid (but why should I give up, if all seems so
  19. stupid? [depeche mode])
  20.  
  21. After taking unix-gcc.mak as Makefile it worked well, only one thing
  22. does not make me happy - the executable is larger than one MB ;-)
  23.  
  24. What have I to write to the Makefile to make it use shared-libs,
  25. or jumptables, or whatever is most useful?=
  26.  
  27. I would be interested in any hints ;-)
  28.  
  29. eMail is fine...
  30.  
  31. Err, and before I forget: ghostview I compiled after some nice person gave
  32. me the hint to uncomment the definition of sys_errlist in any *.c-file
  33. the compiler complained about (2 or 3).
  34.  
  35. It worked like a champ then..
  36.  
  37. Greetings (and thanks 4 your help) Michael Will
  38.  
  39. >Someone told me it should "make" without trouble on linux.
  40.  
  41. >Ghostview failed as well:
  42. ># make
  43. >gcc -fwritable-strings -fomit-frame-pointer  -O2 -m386 -DNO_ASM   -I/usr/X386/include  -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE      -Dlinux  -DFUNCPROTO=11 -DNARROWPROTO -DNON_BLOCKING_IO  -DSELFILE -DHOME_ON_DEMAND   -c misc.c -o misc.o
  44. >misc.c:61: conflicting types for `sys_errlist'
  45. >/usr/include/errno.h:8: previous declaration of `sys_errlist'
  46. >make: *** [misc.o] Error 1
  47.  
  48. >So what?
  49.  
  50. >Greetings, Michael Will
  51.