- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error while compilation in HP-UX11.i
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
11-06-2003 05:45 AM
11-06-2003 05:45 AM
I am compiling some C code in HP-UX11.i. I am getting the following error:
vatxdr_svc.c:81: warning: assignment makes pointer from integer without a cast
for the code:
transp = svctcp_create(sock, 0, 0);
transpHandle = transp;
Can anyone please help me out in this problem.
Thanks,
Andy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 05:54 AM
11-06-2003 05:54 AM
Re: Error while compilation in HP-UX11.i
SVCXPRT *transp;
I assume you are already including rpc.h.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 05:55 AM
11-06-2003 05:55 AM
Re: Error while compilation in HP-UX11.i
svctcp_create returns a pointer to SVCXPRT.
What is the data type of transp and transpHandle. There is the problem.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 06:04 AM
11-06-2003 06:04 AM
Re: Error while compilation in HP-UX11.i
In my code transp is already declared as
SVCXPRT *transp;
and transpHandle is declared as
SVCXPRT *transpHandle;
But still I am getting the warning.
Thanks,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 06:18 AM
11-06-2003 06:18 AM
Re: Error while compilation in HP-UX11.i
I am able to compile this code successfully in HP-UX10.20 but in HP-UX11.i, I am getting this warning message.
Thanks,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 06:33 AM
11-06-2003 06:33 AM
Re: Error while compilation in HP-UX11.i
Thanks a lot