Elm on AIX PS/2

C Lance Moxley lance at lances.aiss.uiuc.edu
Mon Mar 11 08:04:00 AEST 1991


In article <1991Mar10.195513.14010 at turnkey.tcc.com> jackv at turnkey.TCC.COM (Jack F. Vogel) writes:
>In article <1991Mar8.041431.8094 at ux1.cso.uiuc.edu> lance at lances.aiss.uiuc.edu (C Lance Moxley) writes:
>>Has anyone gotten elm to run on a ps/2 70 running aix ver 1.2?
>
>Yes, we use elm internally here at LCC, although I was not the one
>who built it so I don't know how difficult it was to port. The biggest
>problem with an older version of the code which I did port (although its
>been so long ago I don't remember any specifics) was that AIX uses the
>.newmail mailbox in the user's home, whereas that version of the elm
>code expected the usual '/usr/spool/mail/userid'.
>
>>I keep blowing up on the leavembox.c file. Any help would be
>        ^^^^^^^^^^
>>appreciated.
>
>Descriptions such as this are useless, what do you mean? Does the compile
>fail here, and if so what specifically is the error? Or does the binary
>get an error in this code? Be a bit more detailed and perhaps someone can
>help.
>
>Disclaimer: I don't speak for my employer.
>
>-- 
>Jack F. Vogel			jackv at locus.com
>AIX370 Technical Support	       - or -
>Locus Computing Corp.		jackv at turnkey.TCC.COM

Below is what happens when leavembox.c tries to compile. I've had
a few responses, but so far nothing has worked. What is the proper
way to handle the $HOME/.newmail problem?

Lance


        cc  -O -I../hdrs    -c leavembox.c
IBM AIX PS/2 C Language - Version 1.1
5713-AFC  (C) COPYRIGHT IBM CORP. 1988
LICENSED MATERIAL - PROGRAM PROPERTY OF IBM 

  2866. # 125 "leavembox.c"
  2867.         struct utimbuf utime_buffer;    <<<<<
***** Error number 116 in line 125 of file leavembox.c *****
***** Undefined struct or union not allowed *****
  3342. # 614 "leavembox.c"
  3343.         utime_buffer.actime <<<<<
***** Error number 116 in line 614 of file leavembox.c *****
***** Undefined struct or union not allowed *****
  3342. # 614 "leavembox.c"
  3343.         utime_buffer.actime <<<<<
***** Error number 148 in line 614 of file leavembox.c *****
***** Identifier is not a member name *****
  3343.         utime_buffer.actime = buf.st_atime;
  3344.         utime_buffer.modtime=<<<<<
***** Error number 116 in line 615 of file leavembox.c *****
***** Undefined struct or union not allowed *****
  3343.         utime_buffer.actime = buf.st_atime;
  3344.         utime_buffer.modtime=<<<<<
***** Error number 148 in line 615 of file leavembox.c *****
***** Identifier is not a member name *****
5 errors.  0 warnings.  3570 lines.  File leavembox.c
*** Error code 1

Stop.
*** Error code 1

Stop.



More information about the Comp.unix.aix mailing list