From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ab566901ff1fa010 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-12-05 02:23:52 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: lindsay.wakeman@bl.uk (Lindsay Wakeman) Newsgroups: comp.unix.tru64 Subject: Re: Transport Layer Interface library Date: 5 Dec 2002 02:23:52 -0800 Organization: http://groups.google.com/ Message-ID: <4e35ceda.0212050223.24427218@posting.google.com> References: <4e35ceda.0211280726.594d205f@posting.google.com> <3DE6C29E.7D55@c-lab.de> NNTP-Posting-Host: 194.66.229.8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1039083832 32295 127.0.0.1 (5 Dec 2002 10:23:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Dec 2002 10:23:52 GMT Xref: archiver1.google.com comp.unix.tru64:9204 Michael Joosten 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