From: vince@victrola.sea.wa.us (Vince Skahan)
Subject: Re: elm 2.4pl17
Organization: Vince and Suzie's Underpowered PC
Date: Wed, 23 Dec 1992 20:28:56 GMT

jdoss@jmd386.lonestar.org (Joe M. Doss) writes:
>I have elm 2.4pl13 working fine.  All the undefined symbols are caused
>by libutil.a not having ranlib run on it by default.  All you need to
>do is edit config.sh, and replace the line that says:
>ranlib=:
>with
>ranlib=ranlib

That's it !!!!!!!! (and the crowd goes wild!!!)

just in case there are others out there trying to get elm2.4.17 running,
here's my config.sh that works for me at least.  There were a handful of
minimal patches required too that I'll include...

The paths and stuff in the config.sh reference my 'old' system, which is
mcc-interim 0.97p2 plus a 0.98-5 kernel, gcc2.2.2, jump4.1, mailpak1-3,
newspak1.1 and X-1.1 plus many other goodies.  Your paths will no doubt
differ...

Thanks to all (!) that kicked me help regarding elm2.4.17....it was
much appreciated.

#--------------------------- lib/ndbz.c------------------

236,237c236,237
< extern int atoi();
< extern long atol();
---
> /* extern int atoi(); */
> /* extern long atol(); */

#--------------------------- lib/ldstate.c------------------

71c71
<     extern long atol();
---
> /* extern long atol(); */

#--------------------------- src/init.c ------------------

269c269
< 	  signal(SIGBUS,  bus_signal);		/* Bus error  		    */
---
> /*	  signal(SIGBUS,  bus_signal); */	/* Bus error  		    */

#--------------------------- utils/readmsg.c ------------------

132c132
< extern long atol();
---
> /* extern long atol(); */

#--------------------------- elm2.4.17 config.sh ----------------

: use /bin/sh
# config.sh
# This file was produced by running the Configure script.

Log='$Log'
Header='$Header'
bin='/usr/local/bin'
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
n='-n'
c=''
orderlib='false'
ranlib='ranlib'
package='elm2'
pager='builtin+'
prefshell='/bin/sh'
spitshell='cat'
shsharp='true'
sharpbang=': use '
startsh=': use /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='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='/usr/bin/emacs'
ls='ls'
rmail='/bin/rmail'
sendmail='/usr/lib/sendmail'
shar='shar'
smail='/bin/smail'
submit=''
tbl='tbl'
troff='troff'
nroff='nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='chgrp'
chmod='chmod'
lint='lint'
sleep='sleep'
pr='/usr/bin/pr'
tar='/usr/bin/tar'
ln='ln'
lpr='lpr'
lp='lp'
touch='touch'
make='make'
date='/usr/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
c_date='Tue Dec 22 19:36:07 GMT 1992'
d_altcheck='undef'
d_ascii='undef'
d_calendar='define'
calendar='calendar'
d_content='undef'
d_crypt='define'
cryptlib=''
d_cuserid='undef'
d_disphost='undef'
d_domname='undef'
d_usegetdom='undef'
d_errlst='define'
d_flock='undef'
d_dotlock='define'
d_fcntlock='undef'
lock_dir='/usr/spool/locks'
has_flock='undef'
has_fcntl='undef'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_phostname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermcap'
d_index='define'
d_internet='define'
d_ispell='undef'
ispell_path=''
ispell_options=''
d_locale='define'
d_nl_types='undef'
d_msgcat='undef'
d_usenls='define'
d_mboxedit='undef'
d_mime='undef'
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='define'
d_savegrpmboxid='define'
mailermode='2755'
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_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='undef'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname='victrola'
phostname='hostname'
mydomain='.sea.wa.us'
autohostname='define'
i_memory='define'
i_stdlib='define'
i_time='undef'
i_systime='define'
d_systimekernel='undef'
i_utime='define'
i_sysutime='undef'
lib='/usr/local/lib'
libc='/usr/lib/libc.a'
linepr='/bin/lp'
maildir='/usr/spool/mail'
mailer='/usr/lib/sendmail'
mailgrp='mail'
mansrc='/usr/man/man1'
catmansrc='/usr/man/cat1'
manext='.1'
manext_choice='.1'
catmanext='.1'
catmanext_choice='.1'
packed='y'
manroff='nroff'
manroffopts=''
suffix='.Z'
packer='/usr/bin/compress'
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize='-O6'
ccflags='-fpcc-struct-return'
cppflags=' -D__GNUC__'
ldflags=''
cc='gcc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='nroff'
roffopts=''
sigtype='void'
tmpdir='/tmp'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='undef'
CONFIG=true
-- 
     ---------- Vince Skahan --------- vince@victrola.sea.wa.us ----------
 "Listen buddy, if I could tell you in a minute what I did, it wouldn't be
	worth the Nobel Prize"			- Richard Feynman
Newsgroups: comp.os.linux