Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sab1234

    Error while compilation

    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...
  2. sab1234

    list files created today

    Hi, I need to list the files that has been created today. How do I do that. Can anyoine please help me out in this -Andy
  3. sab1234

    ld error while compiling

    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...
  4. sab1234

    Error while compilation

    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
  5. sab1234

    sed scripting - help needed

    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.
  6. sab1234

    Error while compilation after porting.

    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...
  7. sab1234

    Error while compilation after porting.

    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...
  8. sab1234

    Error while compilation after porting.

    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...
  9. sab1234

    Error while compilation after porting.

    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 {...
  10. sab1234

    Error while compilation after porting.

    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...
  11. sab1234

    Error while compilation

    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.

Part and Inventory Search

Back
Top