Hi,
I am compiling some C codes in HP-UX11.i. I am getting the following warning message:
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...
HI,
I am getting the following error while compiling some C++ code in HP-UX11.11:
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
*** Error exit code 1
I am using gcc-3.3.1 compiler.
Can...
Thanks for the reply Bert
I have used
using namespace std;
in my code.
I am new to programming and does not have much idea. Can you please help me out. I can send you the entire code if you want for reference.
Thanks,
Andy
Hi,
I want to change one line in a program using sed script. For instance I want to change the line:
svc_sendreply(transp, xdr_void,(char *)NULL);
to
svc_sendreply(transp, (xdrproc_t)xdr_void,(char *)NULL);
in a program. How do I specify this in a sed script.
Thanks,
Anand.
Thanks Jason
Hi,
I am getting the following warning messages while compiling some C codes in HP-UX10.20:
warning: passing arg 3 of pointer to function from incompatible pointer type
warning: passing arg 5 of pointer to function from incompatible pointer type
for the line:
if...
Thanks Jason,
After defining the xdr_argument, xdr_result and xdr_void as xdrproc_t, I have got rid of the previous error but Now I am getting the following warning message:
warning: assignment from incompatible pointer type
for the lines:
xdr_argument = xdr_CustomerInfo_parms...
Jason,
I get the same warning message for the following lines also:
if (!svc_getargs(transp, xdr_argument, (char *)&argument))
if (result != NULL && !svc_sendreply(transp, xdr_result, result))
here xdr_argument and xdr_result are defined as:
bool_t (*xdr_argument)(), (*xdr_result)();
Can...
Jason,
Thanks for your reply. But I don't find the definition of xdr_void in my code. Please find below the function from which I am getting this error:
static void
vatprog_1(rqstp, transp)
struct svc_req *rqstp;
register SVCXPRT *transp;
{
union {...
Hi,
I ported some c++ applications from HP-UX10.20 to HP-UX11.11. When I tried compiling the applications I got the following warning message:
passing arg 2 of `svc_sendreply' from incompatible pointer type
for the line:
(void) svc_sendreply(transp, xdr_void,(char *)NULL);
Can anyone please...
I am trying to compile a C++ application on HP-UX11.11. I am using gcc-3.3.1. I am getting the following error while compilation:
/usr/local/bin/pa20_32/include/c++/3.3.1/backward/queue.h:34: error: `queue'is already declared in this scope
Can anyone please help me on this.
Thanks
-Anand.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.