home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21512 < prev    next >
Encoding:
Text File  |  1992-12-23  |  4.1 KB  |  131 lines

  1. Path: sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!tuegate.tue.nl!svin09!adv!devet
  2. From: devet@adv.win.tue.nl (Arjan de Vet)
  3. Newsgroups: comp.os.linux
  4. Subject: elm 2.4pl17 (PATCH for Linux included)
  5. Summary: patch for elm 2.4pl17
  6. Keywords: Linux elm mail
  7. Message-ID: <1992Dec23.104150.2279@adv.win.tue.nl>
  8. Date: 23 Dec 92 10:41:50 GMT
  9. References: <BzKJuw.Kx@woody.apana.org.au>
  10. Followup-To: comp.os.linux
  11. Organization: Arjan's Home Linux 486 Box
  12. Lines: 117
  13.  
  14. In article <BzKJuw.Kx@woody.apana.org.au> ernie@woody.apana.org.au writes:
  15.  
  16. >Has anyone managed to get elm2.4pl17 to compile ?
  17. >I keep getting all these undfined_symbol in the elm libutil.a.
  18. >After a lot of patching I managed to get elm itself to compile but
  19. >I have given up on the utils becuase I figure there must be somthing I
  20. >have overlooked thats giving all these errors. I am using gcc 2.2.2d7
  21.  
  22. Yes, I did.
  23.  
  24. Apply the following patch, then run Configure. Configure thinks ranlib isn't
  25. necessary, so you should change the line
  26.  
  27.     ranlib=':'
  28.  
  29. to
  30.  
  31.     ranlib='ranlib'
  32.  
  33. in config.sh at the end of running Configure when config.sh gives you this
  34. possibility.
  35.  
  36. I'm using elm in combination with smail 3.1.28 (also patched by myself) for
  37. some time now at home and I'm very satisfied with it.
  38.  
  39. Arjan
  40.  
  41. --
  42. Arjan de Vet                             <Arjan.de.Vet@adv.win.tue.nl> (home)
  43. Eindhoven University of Technology, the Netherlands <devet@win.tue.nl> (work)
  44.  
  45. -----------------------------------------------------------------------------
  46. diff -ur elm/hdrs/defs.h elm-adv/hdrs/defs.h
  47. --- elm/hdrs/defs.h    Fri Dec 11 04:25:04 1992
  48. +++ elm-adv/hdrs/defs.h    Sat Dec 19 16:08:06 1992
  49. @@ -513,4 +513,4 @@
  50.  
  51.  long lseek();
  52.  long times();
  53. -long ulimit();
  54. +/* long ulimit(); */
  55. diff -ur elm/lib/errno.c elm-adv/lib/errno.c
  56. --- elm/lib/errno.c    Sat Oct  3 23:42:22 1992
  57. +++ elm-adv/lib/errno.c    Sat Dec 19 16:08:06 1992
  58. @@ -32,7 +32,7 @@
  59.  #include "headers.h"
  60.  
  61.  #ifdef ERRLST
  62. -extern char *sys_errlist[];
  63. +/* extern char *sys_errlist[]; */
  64.  extern int sys_nerr;
  65.  #else
  66.  static char *sys_errlist[] = { 
  67. diff -ur elm/lib/ldstate.c elm-adv/lib/ldstate.c
  68. --- elm/lib/ldstate.c    Fri Dec 11 02:45:28 1992
  69. +++ elm-adv/lib/ldstate.c    Sat Dec 19 16:08:07 1992
  70. @@ -68,7 +68,7 @@
  71.      char buf[SLEN], *state_fname;
  72.      int status, i;
  73.      FILE *fp;
  74. -    extern long atol();
  75. +    /* extern long atol(); */
  76.  
  77.      /* clear out the folder status record */
  78.      fst->folder_name = NULL;
  79. diff -ur elm/lib/ndbz.c elm-adv/lib/ndbz.c
  80. --- elm/lib/ndbz.c    Sat Dec 12 02:29:28 1992
  81. +++ elm-adv/lib/ndbz.c    Sat Dec 19 16:08:07 1992
  82. @@ -233,8 +233,8 @@
  83.  #define    MAPOUT(o)    ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_mybmap, db->dbz_conf.bytemap))
  84.  
  85.  /* externals used */
  86. -extern int atoi();
  87. -extern long atol();
  88. +/* extern int atoi(); */
  89. +/* extern long atol(); */
  90.  
  91.  /* misc. forwards */
  92.  static long hash();
  93. diff -ur elm/src/init.c elm-adv/src/init.c
  94. --- elm/src/init.c    Mon Dec  7 03:41:23 1992
  95. +++ elm-adv/src/init.c    Sat Dec 19 16:08:07 1992
  96. @@ -266,7 +266,7 @@
  97.        signal(SIGTERM, term_signal);     /* Terminate signal         */
  98.        signal(SIGILL,  ill_signal);        /* Illegal instruction      */
  99.        signal(SIGFPE,  fpe_signal);        /* Floating point exception */
  100. -      signal(SIGBUS,  bus_signal);        /* Bus error              */
  101. +      /* signal(SIGBUS,  bus_signal); */    /* Bus error              */
  102.        signal(SIGSEGV, segv_signal);        /* Segmentation Violation   */
  103.        signal(SIGHUP,  hup_signal);        /* HangUp (line dropped)    */
  104.        signal(SIGUSR1, usr1_signal);        /* User request 1        */
  105. diff -ur elm/src/leavembox.c elm-adv/src/leavembox.c
  106. --- elm/src/leavembox.c    Fri Dec 11 02:45:35 1992
  107. +++ elm-adv/src/leavembox.c    Sat Dec 19 16:08:07 1992
  108. @@ -94,10 +94,6 @@
  109.  #ifndef BSD
  110.  # ifndef UTIMBUF
  111.  
  112. -struct utimbuf {
  113. -    time_t    actime;        /** access time       **/ 
  114. -    time_t    modtime;    /** modification time **/
  115. -       };
  116.  
  117.  # endif /* UTIMBUF */
  118.  #endif /* BSD */
  119. diff -ur elm/utils/readmsg.c elm-adv/utils/readmsg.c
  120. --- elm/utils/readmsg.c    Fri Dec 11 02:45:45 1992
  121. +++ elm-adv/utils/readmsg.c    Sat Dec 19 16:08:07 1992
  122. @@ -129,7 +129,7 @@
  123.  extern char *optarg;            /* for parsing the ...        */
  124.  extern int   optind;            /*  .. starting arguments    */
  125.  
  126. -extern long atol();
  127. +/* extern long atol(); */
  128.  
  129.  
  130.  void usage_error()
  131.