Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* ELM on DU 3.2G?
@ 1997-02-20  5:00 Dan Duncan
  1997-02-21  5:00 ` Juergen Schroeder
  1997-02-22  5:00 ` Codex Chen
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Duncan @ 1997-02-20  5:00 UTC (permalink / raw)



I can't compile elm (any version I've tried) on DU 3.2C or 3.2G.
I believe I also tried it on 4.0 during the brief time I had
4.0 on the newly shipped machine until I downgraded it to 3.2G
to match our other machines.

I always get:
cd lib; /bin/make  - all
cc   -I../hdrs    -c get_tz.c
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 74: redeclaration
 of 'posix_signal'; previous declaration at line 672 in file '../hdrs/defs.h'
 extern void (*posix_signal ()) ();
 --------------^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 74: Incompatible
function return type for this function
 extern void (*posix_signal ()) ();
 ---------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.

It looks like there's something wrong with my libraries, but I haven't
had any trouble with anything else I've compiled. 

(I'm not a programmer, so I don't really understand compiler specifics)

Has anyone else gotten elm to compile on 3.2x, and if so did they
have to do anything special?

-DanD

--
#  Dan D (kd4igw)  dand@rmii.com    dand@frottage.com  http://rmii.com/~dand
#  Love is a matter of chemistry, but Sex is a matter of physics.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELM on DU 3.2G?
  1997-02-20  5:00 ELM on DU 3.2G? Dan Duncan
@ 1997-02-21  5:00 ` Juergen Schroeder
  1997-02-22  5:00 ` Codex Chen
  1 sibling, 0 replies; 4+ messages in thread
From: Juergen Schroeder @ 1997-02-21  5:00 UTC (permalink / raw)



Dan Duncan (dand@rainbow.rmii.com) wrote:

: I can't compile elm (any version I've tried) on DU 3.2C or 3.2G.

I have elm 2.4 on DU 3.2C. But I did it on Jul 13  1995 ...

: It looks like there's something wrong with my libraries, but I haven't
: had any trouble with anything else I've compiled. 

Yes this looks like fiddeling with sone *.h files. So that it  would  be
not sufficient to send the Makefile and config.h. If you ask me, i would
put the whole  source  tree  on  my  ftpserver  (of  course  zipped  tar
archive).

bye 
	Juergen

elm -v

Elm Version and Identification Information:

        Elm 2.4 PL24, of October 1, 1992
        (C) Copyright 1988-1992 USENET Community Trust
        Based on Elm 2.0, (C) Copyright 1986,1987 Dave Taylor
        ----------------------------------
        Configured Thu Jul 13 11:57:47 MET DST 1995
        ----------------------------------
        Use UNIX Mailbox Delimiters and /usr/sbin/sendmail Mail Transport
Agent: not MMDF
        Let the MTA add the From: header: DONT_ADD_FROM
        Following mail spool locking protocols will be used:
USE_DOTLOCK_LOCKING (.lock) USE_FLOCK_LOCKING USE_FCNTL_LOCKING
        From: and Reply-To: addresses are good: USE_EMBEDDED_ADDRESSES
        Ignore Multipurpose Internet Mail Extensions: not MIME
        Prefers Internet address formats: INTERNET
        No debug options are available: not DEBUG
        Crypt function enabled: CRYPT
        Mailbox editing not included: not ALLOW_MAILBOX_EDITING
        Subshell menu items included: ALLOW_SUBSHELL
        Spell checking feature disabled: not ISPELL
        Calendar file feature enabled: ENABLE_CALENDAR
                (Default calendar file is calendar)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELM on DU 3.2G?
  1997-02-20  5:00 ELM on DU 3.2G? Dan Duncan
  1997-02-21  5:00 ` Juergen Schroeder
@ 1997-02-22  5:00 ` Codex Chen
  1997-02-24  5:00   ` Dan Duncan
  1 sibling, 1 reply; 4+ messages in thread
From: Codex Chen @ 1997-02-22  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]


Dan Duncan (dand@rainbow.rmii.com) ����:
: I can't compile elm (any version I've tried) on DU 3.2C or 3.2G.
: I believe I also tried it on 4.0 during the brief time I had
: 4.0 on the newly shipped machine until I downgraded it to 3.2G
: to match our other machines.
<deleted>
: Has anyone else gotten elm to compile on 3.2x, and if so did they
: have to do anything special?
: 
: -DanD
For surveying the source program I found a workaround approach
to get the elm binaries on DU 3.2C or afterward:

Before running ./Configure, remember to make a shell escape
before Configure makes the substitution from the config.sh to
every Makefile; you could type: sh or csh to leave the Configure
temporarily to modify the config.sh.
Search the string `d_sigaction' and replace the `define' as `undef'.
It seems sigaction() existing in the libc of DU but incompatible for the
elm.

Even compiling the elmME+, I recommend to use `CC -D__STDC__' to accomplish
the compilation.

Hope this helps,
-- 
Codex Chen(De-hsing Chen) at Information Center,        | 
 Army Communication & Electronic School                 | big5: ���w��



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ELM on DU 3.2G?
  1997-02-22  5:00 ` Codex Chen
@ 1997-02-24  5:00   ` Dan Duncan
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Duncan @ 1997-02-24  5:00 UTC (permalink / raw)



As I recall, Codex Chen (dschen@cc.nhctc.edu.tw) wrote:
->Before running ./Configure, remember to make a shell escape
->before Configure makes the substitution from the config.sh to
->every Makefile; you could type: sh or csh to leave the Configure
->temporarily to modify the config.sh.
->Search the string `d_sigaction' and replace the `define' as `undef'.
->It seems sigaction() existing in the libc of DU but incompatible for the
->elm.

->Even compiling the elmME+, I recommend to use `CC -D__STDC__' to accomplish
->the compilation.

Per peter@oitunix.oit.umass.edu (Peter deFriesse)
>   That one's easy.  Go into the config.h, read the comments,
> find the line POSIX_SIGNALS, and undef it.

His approach worked fine.
I'll try yours also.

Thanks for the help everyone.

-DanD

--
#  Dan D (kd4igw)  dand@rmii.com    dand@frottage.com  http://rmii.com/~dand
#  I once put instant coffee in a microwave and went back in time.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-02-24  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-20  5:00 ELM on DU 3.2G? Dan Duncan
1997-02-21  5:00 ` Juergen Schroeder
1997-02-22  5:00 ` Codex Chen
1997-02-24  5:00   ` Dan Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox