Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!ux1.cso.uiuc.edu!lances.aiss.uiuc.edu!lance From: lance@lances.aiss.uiuc.edu (C Lance Moxley) Newsgroups: comp.unix.aix Subject: Re: Elm on AIX PS/2 Message-ID: <1991Mar10.220400.24300@ux1.cso.uiuc.edu> Date: 10 Mar 91 22:04:00 GMT References: <1991Mar8.041431.8094@ux1.cso.uiuc.edu> <1991Mar10.195513.14010@turnkey.tcc.com> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: AISS/Telecom University of Illinois--Urbana-Champaign Lines: 67 In article <1991Mar10.195513.14010@turnkey.tcc.com> jackv@turnkey.TCC.COM (Jack F. Vogel) writes: >In article <1991Mar8.041431.8094@ux1.cso.uiuc.edu> lance@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@locus.com >AIX370 Technical Support - or - >Locus Computing Corp. jackv@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.