[comp.unix.ultrix] I have a problem compiling elm on my machine...

shahryar@eris.berkeley.edu (Persian Nightmare) (10/26/90)

Dear all,

	I have a problem compiling elm 2.3.8 on my Ultrix 3.1B.  I go through
the Configuration without any problems {using the 'cc' compiler}, but then
I get the following error.  Has anyone experienced it?  Can anyone help?
If so please send mail to me at <shahryar@sutro.sfsu.edu>.

	Thanks ahead of time.

Shahryar

-------------------------------------------------------------------------------
Script started on Thu Oct 25 16:12:31 1990
<sfsuvax1.sfsu.edu>:/usr/cp1/shashemi/elm2.3.8> make
cd src; make - all
cc  -O -I../hdrs    -c signals.c
"signals.c", line 33: void type for sighan_type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** Error code 1

Stop.
*** Error code 1

Stop.
<sfsuvax1.sfsu.edu>:/usr/cp1/shashemi/elm2.3.8>
script done on Thu Oct 25 16:12:40 1990
-------------------------------------------------------------------------------

'My words fly up, my thoughts remain below.
Words without thoughts never to heaven go.'
Hamlet--Act III--scene iii


-----
'My words fly up, my thoughts remain below.

mike@puffin.USS.TEK.COM (Mike Ewan) (10/26/90)

In article <1990Oct25.232812.8669@agate.berkeley.edu> shahryar@eris.berkeley.edu (Persian Nightmare) writes:
>cd src; make - all
>cc  -O -I../hdrs    -c signals.c
>"signals.c", line 33: void type for sighan_type
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>*** Error code 1
>
>Stop.

Change the typedef to a #define and it should work.  I don't know why
the typedef won't work, but that's what I had to do.

Mike
 Michael Ewan    (503)627-6468      Internet:  mike@raven.USS.TEK.COM
 Unix Systems Support                   UUCP:  ...!tektronix!puffin!raven!mike
 Tektronix, Inc.                  Compuserve:  73747,2304
"Fig Newton: The force required to accelerate a fig 39.37 inches/sec."--J. Hart

syd@DSI.COM (Syd Weinstein) (11/03/90)

mike@puffin.USS.TEK.COM (Mike Ewan) writes:
:In article <1990Oct25.232812.8669@agate.berkeley.edu> shahryar@eris.berkeley.edu (Persian Nightmare) writes:
:>cd src; make - all
:>cc  -O -I../hdrs    -c signals.c
:>"signals.c", line 33: void type for sighan_type
:>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:>*** Error code 1
:>
:>Stop.

:Change the typedef to a #define and it should work.  I don't know why
:the typedef won't work, but that's what I had to do.
Because its a known bug in the Ultrix C compiler.
-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.                          Voice: (215) 947-9900
syd@DSI.COM or dsinc!syd                        FAX:   (215) 938-0235