Hello,
I have the following error when attempting to compile mh-6.8.3:
LD_LIBRARY_PATH=../sbr cc -s -R/usr/local/lib -o xali ali.o aliasbr.o
../config/config.o -Bdynamic -lmh ../mts/libmts.a ../zotnet/libzot.a
../config/version.o -lnsl -lsocket
cc -s -R/usr/local/lib ali.o xali
../config/config.o -Bdynamic -lmh
../mts/libmts.a ../zotnet/libzot.a ../config/version.o -lnsl -lsocket -o ali
ld: fatal: file xali: unknown type, unable to process using elf(3E) libraries
ld: fatal: library -lmh: not found
ld: fatal: File processing errors. No output written to ali
make[1]: *** [ali] Error 1
after
cc -DSYS5 -DSVR4 -DFCNTL -DRENAME -DVSPRINTF -DATTVIBUG -DDBMPWD -DDUMB
-DMORE='"/usr/bin/more"' -DMSGPROT='"0600"' -DMSGID -DRPATHS -DSOCKETS
-DFOLDPROT='"0711"' -DSHADOW -DSYS5DIR -DMHRC -DMHE -DMIME -DSENDMTS
-DSMTP -DSPRINTFTYPE=int -DTYPESIG=void -O -g -c ali.c
cc: Warning: -O conflicts with -g. -O turned off.
and
make[1]: Entering directory `/usr/local/src/mh-6.8.3/config'
cc -DSYS5 -DSVR4 -DFCNTL -DRENAME -DVSPRINTF -DATTVIBUG -DDBMPWD -DDUMB
-DMORE='"/usr/bin/more"' -DMSGPROT='"0600"' -DMSGID -DRPATHS -DSOCKETS
-DFOLDPROT='"0711"' -DSHADOW -DSYS5DIR -DMHRC -DMHE -DMIME -DSENDMTS
-DSMTP -DSPRINTFTYPE=int -DTYPESIG=void -O -g -c config.c
cc: Warning: -O conflicts with -g. -O turned off.
MH 6.8.3 #4[UCI]
cc -DSYS5 -DSVR4 -DFCNTL -DRENAME -DVSPRINTF -DATTVIBUG -DDBMPWD -DDUMB
-DMORE='"/usr/bin/more"' -DMSGPROT='"0600"' -DMSGID -DRPATHS -DSOCKETS
-DFOLDPROT='"0711"' -DSHADOW -DSYS5DIR -DMHRC -DMHE -DMIME -DSENDMTS
-DSMTP -DSPRINTFTYPE=int -DTYPESIG=void -O -g -c version.c
cc: Warning: -O conflicts with -g. -O turned off.
and
ar r libmh.a `lorder add.o adios.o admonish.o addrsbr.o advertise.o
advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o
copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o
getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o
m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o
m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o
m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o
m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o
m_setvis.o m_sync.o m_tmpfil.o m_update.o makedir.o path.o peekc.o
pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o
r1bindex.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o
uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o | tsort`
UX tsort: INFORM: cycle in data
makedir.o
m_find.o
m_getdefs.o
m_readefs.o
add.o
UX tsort: INFORM: cycle in data
m_maildir.o
path.o
getcpy.o
adios.o
ar: creating libmh.a
-rw-r--r-- 1 root other 833472 Oct 3 11:39 libmh.a
MH library built normally
mv -f libmh.so zlibmh.so
mv: cannot access libmh.so
make[1]: [libmh.so] Error 2 (ignored)
(cd shared; ld -G -o ../libmh.so -h libmh.so.3.2 add.o adios.o admonish.o
addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o
concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o
gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o
formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o
m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o
m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o
m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o
m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o makedir.o path.o
peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o
remdir.o r1bindex.o showfile.o smatch.o sprintb.o ssequal.o strindex.o
trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o)
ln libmh.so libmh.so.3.2
-rwxr-xr-x 2 root other 134204 Oct 3 11:39 libmh.so
-rwxr-xr-x 2 root other 134204 Oct 3 11:39 libmh.so.3.2
MH shared library built normally
and
ar r sendmts.a `lorder hosts.o smail.o | tsort`
ar: creating sendmts.a
rm -f ../libmts.a
cd ..; ln sendmail/sendmts.a libmts.a
rm -f ../llib-lmts
cd .. ; ln sendmail/llib-lsendmail llib-lmts
-rw-r--r-- 2 root other 51164 Oct 3 11:39 sendmts.a
SendMail/SMTP-MTS library built normally
and
ar r libzot.a `lorder mts/mts.o mts/lock.o mts/client.o mf/mf.o
bboards/getbbent.o tws/dtime.o tws/dtimep.o tws/lexstring.o | tsort`
UX tsort: INFORM: cycle in data
tws/lexstring.o
tws/dtimep.o
tws/dtime.o
ar: creating libzot.a
-rw-r--r-- 1 root other 301106 Oct 3 11:39 libzot.a
ZOTnet library built normally
Any help would be appreciated.
kendall shaw