* Can't compile elm2.3 on Alpha/OSF1
@ 1995-08-04 4:00 Roger Eugene Gregory-Allen
1995-08-05 4:00 ` Torbj|rn Lindgren
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Roger Eugene Gregory-Allen @ 1995-08-04 4:00 UTC (permalink / raw)
I'm trying unsuccessfully to compile elm (2.3 PL11) on a DEC Alpha
with OSF/1 3.2 (Digital Unix). I run through Configure without much
problem, but the make fails. I've tried several tweaks to the
config.sh, mostly having to do with network order and BSD flavors, but
I've been unable to get very far. I've compiled it easily on an SVR5
machine before, and I get the feeling that it probably is something to
do with the hybrid nature of OSF, but I'm stumped.
So... Has anyone compiled elm recently? Do you remember what it took
to make it work? Any clues would be greatly appreciated.
Thanks,
Roger E. Gregory-Allen
rega@ezlink.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-04 4:00 Can't compile elm2.3 on Alpha/OSF1 Roger Eugene Gregory-Allen
@ 1995-08-05 4:00 ` Torbj|rn Lindgren
1995-08-08 4:00 ` Liz Stewart
1995-08-07 4:00 ` Erik Green
1995-08-08 4:00 ` Richard Eckman
2 siblings, 1 reply; 7+ messages in thread
From: Torbj|rn Lindgren @ 1995-08-05 4:00 UTC (permalink / raw)
In article <DCt3p2.H49@ez0.ezlink.com>,
Roger Eugene Gregory-Allen <rega@ez0.ezlink.com> wrote:
>I'm trying unsuccessfully to compile elm (2.3 PL11) on a DEC Alpha
>with OSF/1 3.2 (Digital Unix). I run through Configure without much
[...]
>So... Has anyone compiled elm recently? Do you remember what it took
>to make it work? Any clues would be greatly appreciated.
Where did you manage to find that fossile? The 2.3pl11 tar file that I
found was dated 8 Jan 1991, that's over 4.5 year ago!
I know that that the *current* version of elm, 2.4pl24, compiles
without major problems under DEC OSF/1 3.2, the only thing you have to
do is to remove a couple of a lines in a header-file (the error
message makes it rather obvious what you should remove). If you have
OSF/1 3.0 you don't have to do this editing.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-04 4:00 Can't compile elm2.3 on Alpha/OSF1 Roger Eugene Gregory-Allen
1995-08-05 4:00 ` Torbj|rn Lindgren
@ 1995-08-07 4:00 ` Erik Green
1995-08-08 4:00 ` Richard Eckman
2 siblings, 0 replies; 7+ messages in thread
From: Erik Green @ 1995-08-07 4:00 UTC (permalink / raw)
>
> I'm trying unsuccessfully to compile elm (2.3 PL11) on a DEC Alpha
> with OSF/1 3.2 (Digital Unix). I run through Configure without much
> problem, but the make fails. I've tried several tweaks to the
> config.sh, mostly having to do with network order and BSD flavors, but
> I've been unable to get very far. I've compiled it easily on an SVR5
> machine before, and I get the feeling that it probably is something to
> do with the hybrid nature of OSF, but I'm stumped.
I'm trying to do this, too. I've tried several different migration options,
to no avail. I'm thinking about dumping elm for PINE, but I'd rather like
elm instead. Please CC me any information on getting elm to compile,
or any suggestions for elm-like (menuing) user mail shells.
Erik
--
Erik Green longshot@krypton.mankato.msus.edu
Better tried by twelve than carried by six.
-- Jeff Cooper
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-05 4:00 ` Torbj|rn Lindgren
@ 1995-08-08 4:00 ` Liz Stewart
1995-08-09 4:00 ` Henrik Wist
0 siblings, 1 reply; 7+ messages in thread
From: Liz Stewart @ 1995-08-08 4:00 UTC (permalink / raw)
In article <400rph$rge@nyheter.chalmers.se>, tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
|> I know that that the *current* version of elm, 2.4pl24, compiles
|> without major problems under DEC OSF/1 3.2, the only thing you have to
|> do is to remove a couple of a lines in a header-file (the error
|> message makes it rather obvious what you should remove). If you have
|> OSF/1 3.0 you don't have to do this editing.
That's cool, but is there any other editing you _do_ have to do?
I'm trying to compile elm 2.4PL23 on an alpha (OSF/1 3.0) and
I'm not getting very far. I get conflicting declarations for
"posix_signal" from hdrd/defs.h and /usr/include/sys/signal.h
when compiling get_tz.c:
---
cc -O -I../hdrs -c get_tz.c
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 70: redeclaration
of 'posix_signal'; previous declaration at line 659 in file '../hdrs/defs.h'
extern void (*posix_signal ()) ();
--------------^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 70: Incompatible
function return type for this function
extern void (*posix_signal ()) ();
---------------------------^
*** Exit 1
Stop.
---
Any help would be appreciated, as I am trying to standardize our versions
of elm. Thanks!
-- Liz --
--
Liz Stewart
liz@ece.neu.edu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-04 4:00 Can't compile elm2.3 on Alpha/OSF1 Roger Eugene Gregory-Allen
1995-08-05 4:00 ` Torbj|rn Lindgren
1995-08-07 4:00 ` Erik Green
@ 1995-08-08 4:00 ` Richard Eckman
2 siblings, 0 replies; 7+ messages in thread
From: Richard Eckman @ 1995-08-08 4:00 UTC (permalink / raw)
In article <DCt3p2.H49@ez0.ezlink.com> rega@ez0.ezlink.com (Roger Eugene Gregory-Allen) writes:
>I'm trying unsuccessfully to compile elm (2.3 PL11) on a DEC Alpha
>with OSF/1 3.2 (Digital Unix). I run through Configure without much
>problem, but the make fails. I've tried several tweaks to the
>config.sh, mostly having to do with network order and BSD flavors, but
>I've been unable to get very far. I've compiled it easily on an SVR5
>machine before, and I get the feeling that it probably is something to
>do with the hybrid nature of OSF, but I'm stumped.
>
>So... Has anyone compiled elm recently? Do you remember what it took
>to make it work? Any clues would be greatly appreciated.
>
I'd recommend using elm v2.4 PL24 which is, I believe, the latest
released version. Under OSF/1 v3.0 and above, you need to do an escape
at the end of the configure process and change "sigtype" from "int"
to "void". This allowed me to compile it with no difficulties.
I really wish that the elm configuration script would do this automatically
for OSF/1. It worked fine on versions of OSF/1 prior to v3.0; I'm not
sure why it fails with the more recent versions of OSF/1.
Richard Eckman
NASA Langley Research Center
Hampton, VA
eckman@eos1.larc.nasa.gov
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-08 4:00 ` Liz Stewart
@ 1995-08-09 4:00 ` Henrik Wist
1995-08-14 4:00 ` Greg Pratt
0 siblings, 1 reply; 7+ messages in thread
From: Henrik Wist @ 1995-08-09 4:00 UTC (permalink / raw)
In article <408if9$bio@chaos.dac.neu.edu>, liz@gateway.ece.neu.edu (Liz Stewart) writes:
>
> In article <400rph$rge@nyheter.chalmers.se>, tl@ae.chalmers.se (Torbj|rn Lindgren) writes:
> |> I know that that the *current* version of elm, 2.4pl24, compiles
> |> without major problems under DEC OSF/1 3.2, the only thing you have to
> |> do is to remove a couple of a lines in a header-file (the error
> |> message makes it rather obvious what you should remove). If you have
> |> OSF/1 3.0 you don't have to do this editing.
>
> That's cool, but is there any other editing you _do_ have to do?
>
> I'm trying to compile elm 2.4PL23 on an alpha (OSF/1 3.0) and
> I'm not getting very far. I get conflicting declarations for
> "posix_signal" from hdrd/defs.h and /usr/include/sys/signal.h
> when compiling get_tz.c:
>
> ---
> cc -O -I../hdrs -c get_tz.c
> /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 70: redeclaration
> of 'posix_signal'; previous declaration at line 659 in file '../hdrs/defs.h'
> extern void (*posix_signal ()) ();
> --------------^
> /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 70: Incompatible
> function return type for this function
> extern void (*posix_signal ()) ();
> ---------------------------^
> *** Exit 1
> Stop.
> ---
>
> Any help would be appreciated, as I am trying to standardize our versions
> of elm. Thanks!
>
> -- Liz --
Howdy!
I had the same problem during my compilation of elm for OSF. The following
should fix it:
defs.h.orig: Line about 654
#ifdef POSIX_SIGNALS
#define signal posix_signal
#if ANSI_C
extern SIGHAND_TYPE (*posix_signal(int, SIGHAND_TYPE (*)(int)))(int);
#else /* ANSI_C */
extern SIGHAND_TYPE (*posix_signal())();
#endif /* ANSI_C */
defs.h.fixed:
#ifdef POSIX_SIGNALS
#define signal posix_signal
#if ANSI_C
extern SIGHAND_TYPE (*posix_signal(int, SIGHAND_TYPE (*)(int)))(int);
#endif /* ANSI_C */
Sorry that I didn't post a diff, but I did not have the original
file I patched, instead had to ftp new elm-sources, which differed much
more than in these few lines :-((.
I hope it helped anyway, if not, email me.
So long,
Henrik
---------------------------------------------------------------------
"Woher soll ich wissen, was ich denke, bevor |Tel.:+49/89/6928153
ich nicht gehoert habe, was ich sage?" |smail: Saleggstr.21
IRC: |GOOSE| | 81547 Munich
Systemadministrator am Lehrstuhl A fuer Mechanik| Germany
--------------------------------------------------------------------
>>>http://www.lam.mw.tu-muenchen.de/mitarb/wist.html<<<
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't compile elm2.3 on Alpha/OSF1
1995-08-09 4:00 ` Henrik Wist
@ 1995-08-14 4:00 ` Greg Pratt
0 siblings, 0 replies; 7+ messages in thread
From: Greg Pratt @ 1995-08-14 4:00 UTC (permalink / raw)
In article <40ahjq$2a6@sunsystem5.informatik.tu-muenchen.de>,
Henrik Wist <wist@lam.mw.tu-muenchen.de> wrote:
>In article <408if9$bio@chaos.dac.neu.edu>, liz@gateway.ece.neu.edu (Liz Stewart) writes:
>> I'm trying to compile elm 2.4PL23 on an alpha (OSF/1 3.0) and
>> I'm not getting very far. I get conflicting declarations for
>> "posix_signal" from hdrd/defs.h and /usr/include/sys/signal.h
>> when compiling get_tz.c:
[...]
>I had the same problem during my compilation of elm for OSF. The following
>should fix it:
Actually, the above errors come from Elm thinking the signal type is
"int" instead of "void", which it needs to be under OSF/1.
As mentioned in a previous posting, run Configure and at the end, type
"!vi config.sh" (or use your favorite editor) and change sigtype from
"int" to "void". Save the file out and let Configure generate the
makefiles from this.
I probably ought to mention this to the Elm development group, as the
beta of 2.5 has this same problem.
--
Gregory L. Pratt Rochester Institute of Technology
Lab Consultant, Programmer, Writer, Poet, Philosopher, and Chef-Wannabe
Snail Mail: 42 Colony Manor Drive Rochester, New York 14623-3404 USA
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1995-08-14 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-04 4:00 Can't compile elm2.3 on Alpha/OSF1 Roger Eugene Gregory-Allen
1995-08-05 4:00 ` Torbj|rn Lindgren
1995-08-08 4:00 ` Liz Stewart
1995-08-09 4:00 ` Henrik Wist
1995-08-14 4:00 ` Greg Pratt
1995-08-07 4:00 ` Erik Green
1995-08-08 4:00 ` Richard Eckman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox