|
RE: .0
Could you provide me with the contents of parameters in the
mcc_dns_read_attr_data()?
mcc_aes_dump(entity_spec);
printf("\n attribute_code = %d\n", attribute_code);
/*
* Print MCC Descriptor - data_buffer
*/
mcc_dns_read_attr_data(entity_spec, &attribute_code,
&data_buffer, &dns_status);
William
|
|
Hello Pete,
From 2414.2, I do not see the attribute data (attribute code = 2) written to
ds5000_ns:.temp object.
I think that you're using the Registration FM to register the object
(class 171), and using your AM to call mcc_dns_write_attr_data()
and mcc_dns_read_attr_data().
There are two possible causes of the problem. One is that the MMs have
different environment variable valules.
If you're running your AM as a separate process, make sure that your AM
has environmental variable MCC_DNS_SELECTION set to DNS.
(make sure that you do not re-define the logical in .login or .cshrc.
If you do, make certain that all MCC processes have the environmental
varialbles set to the same value.)
Another cause of the problem is that your AM was linked with a dummy
DNS library in the MCC kit mcc_dns_libdns.o-mips instead of /lib/libdns.a.
The dummy library is in /usr/mcc/mmtoolkit/lib/mcc_dns_libdns.a.
If your system does not have /lib/libdns.a, the MCC Toolkit kit installation
creates a soft link /lib/libdns.a pointing to
/usr/mcc/mmtoolkit/lib/mcc_dns_libdns.a.
(**
Dummy DNS library on Ultrix Systems
Since the DECdns on Ultrix is only avaiable on the systems running the
DECnet/OSI, and MCC Kernel uses DECdns routines, it is necessary to
provide a dummy DNS library so that MMs can link with the Kernel when
the system does not have DECdns.
**)
You may check the size of /lib/libdns.a library file. Make sure that it is
not a softlink
William
|
| William,
Thanks, it was the dummy library causing the problem. The AM was rebuilt using
the real libdns.a, and works fine now.
Developers please note ... Some kind of diagnostic/message (perhaps a printed
message when a stub is called, saying that the image was built using a stub
library) would have been helpful.
Pete Shea.
|