HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error while compilation
Operating System - HP-UX
1833582
Members
3784
Online
110061
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
10-01-2003 06:27 AM
10-01-2003 06:27 AM
Error while compilation
Hi,
I have ported some C++ application from HP-UX10.20 to HP-UX11.11. I get the following error while compiling the application in
HP-UX11.11:
passing arg 2 of `svc_sendreply' from incompatible pointer type
for the line:
(void) svc_sendreply(transp, xdr_void,
(char *)NULL);
Can anyone please help me out on this.
Thanks,
Anand.
I have ported some C++ application from HP-UX10.20 to HP-UX11.11. I get the following error while compiling the application in
HP-UX11.11:
passing arg 2 of `svc_sendreply' from incompatible pointer type
for the line:
(void) svc_sendreply(transp, xdr_void,
(char *)NULL);
Can anyone please help me out on this.
Thanks,
Anand.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 06:39 AM
10-01-2003 06:39 AM
Re: Error while compilation
It means that you have been less than rogorous in observing typing. The 2nd arg must be a pointer to a function of type xdrproc_t and also the 3rd argument must me cast as a caddr_t.
A man svc_sendreply should make this clear.
A man svc_sendreply should make this clear.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:51 AM
10-03-2003 01:51 AM
Re: Error while compilation
First of all check that portmapper is running and patches if any to the portmap are applied.
Since you seem to be compiling some rpc code why not try compiling it in the K&R c mode which I believe is turned on with -k switch.
rpcgen -k
Since you seem to be compiling some rpc code why not try compiling it in the K&R c mode which I believe is turned on with -k switch.
rpcgen -k
The sufficiency of my merit is to know that my merit is NOT sufficient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 09:10 AM
10-09-2003 09:10 AM
Re: Error while compilation
Thanks Paddy,
Can you please tell me how to find out if the portmapper is running. Also, the
rpcgen -k option is not working.
-Anand
Can you please tell me how to find out if the portmapper is running. Also, the
rpcgen -k option is not working.
-Anand
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