Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

xdr_pmap* functions - available in a different library (CrCh182)

NW Impacts

Problem description

The xdr_pmap and xdr_pmaplist functions exist on Tru64 UNIX as part of libc. They do not exist on HP-UX as part of libc.

The xdr_pmap and xdr_pmaplist functions are part of the PORTMAP process, used to convert RPC program numbers to DARPA protocol port numbers. This process has been replaced by the new rpcbind process that converts RPC program numbers into universal addresses. The portmap library routines have been moved to libnsl.

Identifiers

C/C++ Functionsxdr_pmap C/C++ Functionsxdr_pmaplist    

See also

Solution description

There are two possible solutions. Either re-link the application to libnsl.so or change the software to use the new rpcbind routines.

For xdr_pmap and xdr_pmaplist functionality, use rpcb_getmaps. To link with libnsl.so, use the -lnls compiler flag and include the rpc/pmap_prot.h header file.

See also


Problem summary

classifications source types OS release severity type
NW C, C++ any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.