HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RPC compilation problem
Operating System - HP-UX
1833479
Members
2994
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:48 AM
06-22-2004 06:48 AM
RPC compilation problem
All,
Is there any way to specify which RPC related system header files are to be included in the output files while compiling *.x files using rpcgen on HP UX 11.0?
We are facing the following problem:
On HP UX 10.20, the rpcgen tool includes the RPC related system header files from the directory /opt/datagate/include and our code was developed based on the above behaviour.
But on HP UX 11.0, the RPC related system headers are getting included from /usr/include directory and our source code is failing to compile, mostly with "Redeclaration errors".
The following is the comparision of the rpcgen tool on two platforms:
On HP UX 11.0 -
$>what /bin/rpcgen
/bin/rpcgen:
rpc_main.c: PHNE_17200
rpc_clntout.c $Revision: 1.2.211.1 $
rpc_cout.c $Revision: 1.2.211.1 $
rpc_hout.c $Revision: 1.2.211.1 $
rpc_parse.c $Revision: 1.2.211.1 $
rpc_scan.c $Revision: 1.2.211.1 $
rpc_svcout.c PHNE_25626
rpc_tblout.c $Revision: 1.2.211.1 $
On HP UX 10.20 -
$> what /bin/rpcgen
/bin/rpcgen:
rpc_main.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_hout.c 1.4 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_cout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_parse.c 1.4 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_scan.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_util.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_svcout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_clntout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_tblout.c 1.1 90/07/26 4.1NFSSRC Copyr 1990 SMI
We don't want to modify the source code unless we really have to!
Is there any way to specify which RPC related system header files are to be included in the output files while compiling *.x files using rpcgen on HP UX 11.0?
We are facing the following problem:
On HP UX 10.20, the rpcgen tool includes the RPC related system header files from the directory /opt/datagate/include and our code was developed based on the above behaviour.
But on HP UX 11.0, the RPC related system headers are getting included from /usr/include directory and our source code is failing to compile, mostly with "Redeclaration errors".
The following is the comparision of the rpcgen tool on two platforms:
On HP UX 11.0 -
$>what /bin/rpcgen
/bin/rpcgen:
rpc_main.c: PHNE_17200
rpc_clntout.c $Revision: 1.2.211.1 $
rpc_cout.c $Revision: 1.2.211.1 $
rpc_hout.c $Revision: 1.2.211.1 $
rpc_parse.c $Revision: 1.2.211.1 $
rpc_scan.c $Revision: 1.2.211.1 $
rpc_svcout.c PHNE_25626
rpc_tblout.c $Revision: 1.2.211.1 $
On HP UX 10.20 -
$> what /bin/rpcgen
/bin/rpcgen:
rpc_main.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_hout.c 1.4 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_cout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_parse.c 1.4 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_scan.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_util.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_svcout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_clntout.c 1.3 90/07/25 4.1NFSSRC Copyr 1990 Sun Micro
rpc_tblout.c 1.1 90/07/26 4.1NFSSRC Copyr 1990 SMI
We don't want to modify the source code unless we really have to!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:53 AM
06-22-2004 06:53 AM
Re: RPC compilation problem
Hi,
You could check this site:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Misc/rpc_eg-1.0/
HTH,
Gideon
You could check this site:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Misc/rpc_eg-1.0/
HTH,
Gideon
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP