Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problem compiling elm on DEC Alpha, OSF/1
@ 1993-09-24  9:05 Janet Jackson
  1993-09-24 17:39 ` Eiji Hirai
  0 siblings, 1 reply; 2+ messages in thread
From: Janet Jackson @ 1993-09-24  9:05 UTC (permalink / raw)


[Please reply to this by email]

Has anyone got elm working under OSF/1 running on the DEC Alpha?
I tried it today.  Configure seemed pretty straightforward,
but make only got as far as lib/getarpdate.c:

   cc  -O -I../hdrs    -c getarpdate.c
   /usr/lib/cmplrs/cc/cfe: Error: getarpdate.c, line 110: redeclaration of 'timezone'; previous declaration at line 212 in file '/usr/include/time.h'
           extern  time_t  timezone;
           ------  ------  ^
   *** Exit 1

The relevant part of lib/getarpdate.c looks like this:

   #else /* TZNAME */
           extern  time_t  timezone;

and of /usr/include/time.h:

   #ifdef _XOPEN_SOURCE

   extern long timezone;

Before I try anything, has anyone else solved this?
I don't want to hack the code if I can help it.
Maybe I just need to change the timezone-related definitions in config.sh.

I'm trying to build elm 2.4.21 on OSF/1 version 1.2.
Perhaps elm 2.4.22 (or OSF 1.3?) would help?

My config.sh is attached below for your reference.

Please reply by email and if I get a solution I will summarise.
Any ideas will be most welcome.

Janet Jackson
<jackson@cwr.uwa.edu.au>
Systems Manager
Centre for Water Research
The University of Western Australia

--->config.sh follows<---
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.

Log='$Log'
Header='$Header'
bin='/usr/local/utils/bin'
contains='grep'
cppstdin='/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
n=''
c='\c'
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin+'
prefshell='/bin/csh'
spitshell='cat'
shsharp='true'
sharpbang='#!'
startsh='#!/bin/sh'
d_eunice='undef'
define='define'
eunicefix=':'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='expr'
sed='sed'
echo='echo'
cat='cat'
rm='rm'
mv='mv'
cp='cp'
tail=''
tr='tr'
mkdir=''
sort=''
uniq=''
grep='grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
ispell
line
lint
lp
lpr
mailx
mips
more
nroff
pack
pg
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='test'
inews=''
ispell='ispell'
egrep=''
more='/bin/more'
pg='/bin/pg'
Mcc='Mcc'
vi='/bin/vi'
mailx='/bin/mailx'
mail=''
cpp='/bin/cpp'
perl=''
emacs='/bin/emacs'
ls='ls'
rmail='rmail'
sendmail='/usr/sbin/sendmail'
shar='shar'
smail='smail'
submit=''
tbl='/bin/tbl'
troff='troff'
nroff='/bin/nroff'
uname='/bin/uname'
uuname='uuname'
line='/bin/line'
chgrp='chgrp'
chmod='chmod'
lint='/bin/lint'
sleep='sleep'
pr='/bin/pr'
tar='/bin/tar'
ln='ln'
lpr='/bin/lpr'
lp='/bin/lp'
touch='touch'
make='make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='/bin/pack'
compress='/bin/compress'
execmail=''
libswanted='sun intl nls'
c_date='Fri Sep 24 15:24:38 WST 1993'
d_altcheck='undef'
d_ascii='undef'
d_calendar='define'
calendar='calendar'
d_content='undef'
d_crypt='define'
cryptlib=''
d_cuserid='define'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='define'
d_fcntlock='define'
lock_dir='/tmp'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_phostname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='undef'
d_internet='define'
d_ispell='undef'
ispell_path=''
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mboxedit='undef'
d_mime='define'
defencoding='7bit'
defcharset='US-ASCII'
defdispcharset='US-ASCII'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_nocheckvalid='define'
d_noxheader='undef'
d_pidcheck='define'
d_portable='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_tz_min='define'
d_tzname='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname='beedee'
phostname='hostname'
mydomain='.cwr.uwa.edu.au'
autohostname='define'
i_memory='define'
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_utime='define'
i_sysutime='undef'
lib='/usr/local/utils/lib'
libc='/lib/libc.a'
linepr='/usr/bin/lpr'
maildir='/var/spool/mail'
mailer='/usr/sbin/sendmail'
mailgrp='bin'
mansrc='/usr/local/utils/man/man1'
catmansrc='none'
manext='.1'
manext_choice='.1'
catmanext=''
catmanext_choice=''
packed=''
manroff=''
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize='-O'
ccflags=''
cppflags=''
ldflags=''
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='ypcat passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/nroff'
roffopts=''
sigtype='void'
tmpdir='/tmp'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='undef'
CONFIG=true
--->end of config.sh<---


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

end of thread, other threads:[~1993-09-24 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-24  9:05 Problem compiling elm on DEC Alpha, OSF/1 Janet Jackson
1993-09-24 17:39 ` Eiji Hirai

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