From: lindsay.wakeman@bl.uk (Lindsay Wakeman)
Subject: Re: Transport Layer Interface library
Date: 5 Dec 2002 02:23:52 -0800 [thread overview]
Message-ID: <4e35ceda.0212050223.24427218@posting.google.com> (raw)
In-Reply-To: 3DE6C29E.7D55@c-lab.de
Michael Joosten <joost@c-lab.de> wrote in message news:<3DE6C29E.7D55@c-lab.de>...
> Lindsay Wakeman wrote:
> >
> > Hi
> >
> > We are trying to port a C application from 4.0d to 5.1a. This uses a
> > 3rd party RPC implementation (was Netwise RPC Tool).This in turn
> > requires the standard TLI library.
> >
> > The main application has been recompiled under 5.1a, but the 3rd party
> > libraries
> > have not (i.e. the RPC component) as we have no source.
> >
> > We get an inititialisation problem when the server attempts to
> > register the service through the TLI. We then tried this on 4.0e and
> > got the same problem.
> >
>
> This is a vague guessing, as I have seen a similar behaviour with the
> Informix OWS 7.2 and their SDK 2.3 against Solatis 2.6 and then 7.
> For Sol7, the checking of parameters provided to TLI functions became
> more strict, such that t_bind() failed because of redundant and wrong
> parameters in the Informix code. This is probably very nasty to find -
> and even to fix... Took me a whole evening with truss and apptrace, and
> then a debugger.
>
> Netwise isn't anymore? Wasn't that an improved TLIRPC, originally from
> Sun?
>
> > I've looked through various docs (release notes etc.) but cannot see
> > any specific reference to TLI changes - if this is indeed what is
> > wrong.
> >
> > Can anyone comment on binary compatibility between 4.0d/4.0e/5.x when
> > using the
> > TLI library (libtli.a) - or shed any other light?
Yes, that's the sort of scenario I feared. However - I made some
progress. I hadn't understood that the Tru64 TLI implementation uses
XTI (X/Open Transport I/F) and I hadn't compiled the XTISO, TIMOD and
TIRDWR options into the kernel.
Having done that, I can get it working under T64 4.0e.
Under 5.1a though, I get a different problem now (having recompiled
the kernel as above). The application appears to do the /etc/services
lookup ok, but complains that the 'Service name is already in use'. I
have tried this with
variations on name,port etc. and all configs result in that error
message
(from the code that calls TLI).
I've checked that the relevant streams devices have been made on
reboot
(/dev/streams/xtiso/TCP* )
I feel I may be missing something blindingly obvious. Either that or
there
really is a substantial change between 4.x and 5.x implementations of
TLI/XTI
Can anyone suggest any other things to check (including relevant docs,
although
I hope I've combed the right ones by now).
Thanks
Lindsay
next prev parent reply other threads:[~2002-12-05 10:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-28 15:26 Transport Layer Interface library Lindsay Wakeman
2002-11-29 1:27 ` Michael Joosten
2002-12-05 10:23 ` Lindsay Wakeman [this message]
2002-12-06 4:17 ` Michael Joosten
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox