critical impact:
nlist - not BSD compatible; different compile options (CrCh218)
Problem description
The compiler option to enable your code to use the nlist function is different on Tru64 UNIX and HP-UX.
The nlist function gets entries from the name list.
On Tru64 UNIX, you specify the following compiler flag:
cc [flag ... ] cfile ... -lmld [library] ...
On HP-UX, you specify the following compiler flag:
cc [flag ... ] cfile ... -lelf [library] ...
The Tru64 UNIX nlist subroutine allows symbol names to be preceded by an underscore. If it does not find a symbol that matches the name as specified, nlist attempts to locate the symbol name with the leading underscore removed.
The HP-UX nlist subroutine does not attempt to locate the symbol name with the leading underscore removed. Identifiers
 nlist |
|
|
|
|
|
|
See also
Solution description
Review your build environment and code, and make modifications.
Change the -lmld compiler flag to -lelf. If the application expects nlist to find the symbol names with the leading underscores removed, you must change the code to add that feature. See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| UN |
C, C++ |
any HP-UX 11i version |
critical |
changed |
|