1834556 Members
3352 Online
110069 Solutions
New Discussion

Question on NetTL

 
SOLVED
Go to solution
Guruprasanna
Occasional Contributor

Question on NetTL

Hi,

I have a question (or facing a problem) on NetTL.
The scenario is like this:

1. I have an application which is compiled with
HP C++ c-front compiler on HPUX 10.20.
2. This application logs and traces messages to NetTL.
3. I have a formatter library libmyfmt.sl, a catalog file
mycat.cat and valid registered subsystem ids in
subsys_id.h. Properly configured nettlgen.conf.
The formatter library is also compiled on
HPUX-10.20 with HP C++ c-front compiler.
4. This system perfectly works on HPUX 10.20.
5. Recently, I just took my application and NetTL
related libraries and files (mentioned in step 3)
and installed them on HPUX-11.00.
6. When I try to run the application on HPUX-11.00,
the log and traces messages are seen in the
nettl.TRC0 and nettl.LOG0 files. But, when I try
to view the messages using 'netfmt' utility, the
messages are not displayed properly.
Instead, for every message the application logs
or traces, the following message is displayed:

07/01/01 06:000:03 Message set: -1, Message ID 1

I believe HPUX 11.00 is still supporting runtime
environment for HP C++ c-front and both tracing
and formatting are done with 32-bit libraries.

Do I need to make some changes so as to make it
work or this way of porting application does not work?

Best Regards,
Guru
3 REPLIES 3
Dan Hetzel
Honored Contributor
Solution

Re: Question on NetTL

Hi,

As you seem to have all sources, you should recompile the whole program on HP-UX 11.0 as
there might be format changes in /usr/include/fmt.h and /usr/include/ntl.h


Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
CHRIS_ANORUO
Honored Contributor

Re: Question on NetTL

Check this site for more information:
http://www.oracle.com/support/index.html?content.html
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Guruprasanna
Occasional Contributor

Re: Question on NetTL

Hi Dan,

I tried recompiling my entire stuffs with aCC on 11.00
and is working fine now. Thanks for the inputs.
As far as the format is concerned, I noticed some
differences (though they were control characters)
in the nettl.TR and nettl.LOG files.

Regards,
Guru