🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3580

Re: BSD Sendmail 8.6.5 on SCO 3.2V4.2

#3580
From: Murray S. Kucherawy
Date: Sat, 22 Jan 1994 19:54
42 lines
2923 bytes
In article <1994Jan21.170649.16676@afterlife.ncsc.mil>,
Douglas Anderson <dlander@afterlife.ncsc.mil> wrote:
>I have been able to get sendmail 8.6.5 to run under Open Desktop 3.0
>(Sco Unix 3.2V4.2), but only without DNS support.  I cannot get 8.6.x
>to run on ODT 3.0 with NAMED_BIND compiled in.  It dumps core on the
>sendmail getcanonname() routine within one of the resolver functions.
>I posted this problem to comp.mail.sendmail previously.  No one has
>responded.

You're not alone - I've received mail from at least one other person
who's described similar symptoms.  I haven't been able to explain it
yet; somehow it works just fine for me.

>I am not doing anything out of the ordinary - compiled with
>SCO's  development system with -D_SCO_unix_4_2 defined, and am linking
>with -lsocket.  I've also tried it with -D_SCO_unix vice the 4.2
>and still have the same result.

The only SCO define in the code -D_SCO_unix_.  You have to link
with -lsocket.

>With 8.6.5 though, I didn't have to
>change anything to compile.  8.6.4 I had to.  The compile is by NO means
>a clean one with the SCO compiler.  Lots of type mismatches.

I use gcc all the time.  The only type mismatch warning is in the call
to execve() if I remember correctly.  I don't like SCO's make or cc.

>I appreciate any advice or ways my particular problem can be solved.
>I tried porting BIND 4.9 to SCO, but had some difficulty getting 
>sendmail to link with it, so I gave up.  I thought there might be an
>incompatibility with SCO's resolver and the way sendmail was calling
>it.

The problem was probably that the SCO loader didn't like the fact that
gethostbyaddr() was in both libresolv.a and libsocket.a.  I can't
see any options to ld that will circumvent that so at some point I'll
have to make a libsocket.a without the conflicting modules.
-- 
Murray S. Kucherawy ==========================================================
Network Services Manager    HookUp Communication Corporation - Ontario, CANADA
E-mail: mskucher@hookup.net          NIC Handle "MSK"           (519) 747-4110
Technical Details
Message-ID: <2hs09n$je0@nic.hookup.net>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!nic.hookup.net!not-for-mail
References: <1994Jan16.220921.17885@ncsu.edu> <2hcq3p$2fq@nic.hookup.net> <1994Jan21.170649.16676@afterlife.ncsc.mil>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1122ea,6474abf99c015b48
X-Google-Attributes: gid1122ea,public
X-Google-Thread: 10de99,a444196b1dcbe10b
X-Google-Attributes: gid10de99,public
X-Google-ArrivalTime: 1994-01-22 18:21:15 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!nic.hookup.net!not-for-mail
From: mskucher@nic.hookup.net (Murray S. Kucherawy)
Newsgroups: comp.mail.sendmail,biz.sco.general
Subject: Re: BSD Sendmail 8.6.5 on SCO 3.2V4.2
Date: 22 Jan 1994 14:54:31 -0500
Organization: HookUp Communication Corporation, Waterloo, Ontario, CANADA
Lines: 42
Message-ID: <2hs09n$je0@nic.hookup.net>
References: <1994Jan16.220921.17885@ncsu.edu> <2hcq3p$2fq@nic.hookup.net> <1994Jan21.170649.16676@afterlife.ncsc.mil>
NNTP-Posting-Host: nic.hookup.net