home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / elm / 3690 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.3 KB  |  69 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!jimbo
  3. From: jimbo@leland.Stanford.EDU (Godfather of Soul)
  4. Subject: ELM won't compile...
  5. Message-ID: <1992Dec12.094643.25256@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (USENET News System)
  7. Organization: NewsRUs
  8. Date: Sat, 12 Dec 92 09:46:43 GMT
  9. Lines: 58
  10.  
  11. Sorry if this is a FAQ, but elm won't compile on our SGI.  Here's the
  12. "make" output.
  13.  
  14. saurus /usr/local/elm[99] > make
  15.         cd lib; /bin/make -b all
  16.         /bin/chmod u+w ../hdrs/headers.h
  17.         /bin/touch ../hdrs/headers.h
  18.         cc  -O -I../hdrs    -c add_site.c
  19.         cc  -O -I../hdrs    -c addrmchusr.c
  20.         cc  -O -I../hdrs    -c mk_aliases.c
  21.         cc  -O -I../hdrs    -c mk_lockname.c
  22.         cc  -O -I../hdrs    -c can_access.c
  23.         cc  -O -I../hdrs    -c can_open.c
  24.         cc  -O -I../hdrs    -c chloc.c
  25.         cc  -O -I../hdrs    -c errno.c
  26.         cc  -O -I../hdrs    -c expand.c
  27.         cc  -O -I../hdrs    -c figadrssee.c
  28.         cc  -O -I../hdrs    -c gcos_name.c
  29.         cc  -O -I../hdrs    -c getaddrfrm.c
  30.         cc  -O -I../hdrs    -c getarpdate.c
  31. accom: Error: getarpdate.c, line 69: redeclaration of _timezone
  32.          char *_timezone ();
  33.        --------------------^
  34. accom: Error: getarpdate.c, line 156: illegal function
  35.           _timezone (time_zone.tz_minuteswest, the_time->tm_isdst));
  36.        ----------------------------------------------------------^
  37. accom: Error: getarpdate.c, line 156: illegal function
  38.           _timezone (time_zone.tz_minuteswest, the_time->tm_isdst));
  39.        ----------------------------------------------------------^
  40. *** Error code 1
  41.  
  42. Stop.
  43. *** Error code 1
  44.  
  45. Stop.
  46.  
  47. I believe the relevant portions of the Configure output to be the
  48. following:
  49.  
  50. Testing to see if we should include <time.h>, <sys/time.h> or both.
  51. I'm now running the test program...
  52. Trying -DI_TIME -DI_SYSTIME -DS_TIMEVAL
  53. Succeeded with -DI_TIME -DI_SYSTIME -DS_TIMEVAL
  54. You have tz_minuteswest defined in /usr/include/time.h /usr/include/sys/time.h rather than timezone.
  55.  
  56. tzname() not found
  57.  
  58. _tzname() not found
  59.  
  60. Any ideas?
  61.  
  62. Thanks,
  63. James
  64. -- 
  65. James W. Brown        -  I dream of the day when conservatives learn       -
  66.             -  the difference between a sin and a crime and      -
  67.             -  liberals learn the difference between a           -
  68.             -  virtue and a requirement.      --William A. Niskanen    -
  69.