|
The answer which was eventually found by the customer himself moments
before receiving a mail from William Kwak MCC engineering looking in
the exact same direction.
Here is the answer for future reference;
This is the mail I received from William:-
In order to find out what the problem was in using DECdns,
please do the following:
$ setenv MCC_LOG 1
$ manage
MCC> enroll "the customer's MM"
MCC> ! invoke the command which caused the error
MCC> ! MCC will print some info about the error
My first guess of the customer's problem is that the customer
might have linked his/her Access Module on a Ultrix system
which did not have DECdns library. The DECdns library is only
available on DECnet OSI systems.
Please check the library for SIZE and date. Our build machine has
the following:
# ls -l /usr/lib/libdns.a
-rw-r--r-- 1 root 3949184 Jun 11 1992 /usr/lib/libdns.a
The DECmcc toolkit does not include the DECdns library.
However, the toolkit includes a dummy DECdns library which is copied
and
soft-linked by /usr/lib/libdns.a at toolkit installation IF the system
does not have DECnet-OSI. (The dummy DECdns library allows for an MM
to be linked with MCC Kernel without using real DECdns library.)
William.
This turned out to be exactly where the problem lay. In fact without
DECnet-OSI and using LOCAL_NS any development uses a dummy file called
mcc_dns_libdns.a. The purpose of this file is for the following
reasons, again details supplied by William :-
The MCC kernel routines (e.g. mcc_dns_fullname_string()) call DECdns
routines (e.g. dnsCvtOpqFullToStr()). When linking an MM, the reference
to the DECdns routines have to be resolved. However, the DECdns routines
do not exits on non-DECnet-OSI Ultrix systems. Linking without the dummy
dns file will cause many link errors.
The mcc_dns_libdns.a contains a set of DECdns routines referenced by
MCC_DNS_* routines. But the dummy DECdns routines just return
MCC_S_NOT_IMPLEMENTED.
William..
The customer pipped us to win the solution race this time, but hopefully
with the help of this note we will be victorious next time..
Thanks to William Kwak..
Gary Lowe NUK CSC comms..
|