<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get &amp;quot;Pointers are not assignment-compatible&amp;quot; when compiling server skeleton generated by rpcgen in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714917#M549720</link>
    <description>cc: "rpc_svc.c", line 95: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 563: Argument #2 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;&lt;BR /&gt;are related with compiler compatible warnings. Which will not effect the binary.&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;... &lt;SNIPPED&gt; ... is going to be the problem. You have link the needed libraries when compilation phase. Export with -L option or directly link that library.&lt;BR /&gt;&lt;BR /&gt;May be some library has to be linked during run time with SHLIB_PATH or LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/SNIPPED&gt;</description>
    <pubDate>Mon, 23 Jan 2006 02:59:06 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2006-01-23T02:59:06Z</dc:date>
    <item>
      <title>Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714913#M549716</link>
      <description>Hi there, I'm compiling with warning error for the server skeleton generated by 'rpcgen'.&lt;BR /&gt;&lt;BR /&gt;Here's my "log":&lt;BR /&gt;=================================&lt;BR /&gt;$ ll&lt;BR /&gt;-rw-r--r--   1 kwang      users          210 Jan 19 18:31 rpc.x&lt;BR /&gt; &lt;BR /&gt;$ cat rpc.x&lt;BR /&gt;const MAXNAMELEN = 2048;&lt;BR /&gt;typedef string x_string&lt;MAXNAMELEN&gt;;&lt;BR /&gt; &lt;BR /&gt;program X_RPC_FUNCTION_NUMBER&lt;BR /&gt;{   version X_RPC_FUNCTION_VERSION&lt;BR /&gt;    {   x_string X_TEST(string) = 1;&lt;BR /&gt;    } = 1;&lt;BR /&gt;} = 0x20000001;&lt;BR /&gt; &lt;BR /&gt;$ rpcgen rpc.x&lt;BR /&gt; &lt;BR /&gt;$ ll&lt;BR /&gt;-rw-r--r--   1 kwang      users          503 Jan 19 18:32 rpc.h&lt;BR /&gt;-rw-r--r--   1 kwang      users          210 Jan 19 18:31 rpc.x&lt;BR /&gt;-rw-r--r--   1 kwang      users          532 Jan 19 18:32 rpc_clnt.c&lt;BR /&gt;-rw-r--r--   1 kwang      users         4543 Jan 19 18:32 rpc_svc.c&lt;BR /&gt;-rw-r--r--   1 kwang      users          266 Jan 19 18:32 rpc_xdr.c&lt;BR /&gt; &lt;BR /&gt;$ cc rpc_svc.c&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 563: Argument #2 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;          ... &lt;SNIPPED&gt; ...&lt;BR /&gt;=================================&lt;BR /&gt;&lt;BR /&gt;There are unsatisfied symbols which I've taken out for this thread.  My concern and surprise is 'rpc_svc.c' is generated by 'rpcgen' but shows "warning 604" error when being compiled by 'cc'.  Is there something wrong in 'rpc.x' (RPC Protocol Specification File) which thus results in this error?&lt;BR /&gt;&lt;BR /&gt;Attached 'rpc_svc.c' is for reference.    Thanks.&lt;BR /&gt;&lt;BR /&gt;@@ Kwang&lt;/SNIPPED&gt;&lt;/MAXNAMELEN&gt;</description>
      <pubDate>Sun, 22 Jan 2006 23:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714913#M549716</guid>
      <dc:creator>Kwang Tan</dc:creator>
      <dc:date>2006-01-22T23:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714914#M549717</link>
      <description>One more piece of information: All these take place on 64bit HP-UX operating system.&lt;BR /&gt;&lt;BR /&gt;@@ Kwang</description>
      <pubDate>Sun, 22 Jan 2006 23:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714914#M549717</guid>
      <dc:creator>Kwang Tan</dc:creator>
      <dc:date>2006-01-22T23:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714915#M549718</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Which version of "cc" compiler you are using ? #&amp;gt;what `which cc`&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Sun, 22 Jan 2006 23:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714915#M549718</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-22T23:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714916#M549719</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;$ what `which cc`&lt;BR /&gt;/usr/bin/cc:&lt;BR /&gt;        $Revision: 92453-07 linker linker crt0.o B.11.37 040218 $&lt;BR /&gt;        LINT B.11.11.12 CXREF B.11.11.12&lt;BR /&gt;        HP92453-01 B.11.11.12 HP C Compiler&lt;BR /&gt;         $ PATCH/11.00:PHCO_27774  Oct  3 2002 09:45:59 $&lt;BR /&gt;&lt;BR /&gt;@@ Kwang</description>
      <pubDate>Mon, 23 Jan 2006 02:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714916#M549719</guid>
      <dc:creator>Kwang Tan</dc:creator>
      <dc:date>2006-01-23T02:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714917#M549720</link>
      <description>cc: "rpc_svc.c", line 95: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 563: Argument #2 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;&lt;BR /&gt;are related with compiler compatible warnings. Which will not effect the binary.&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;... &lt;SNIPPED&gt; ... is going to be the problem. You have link the needed libraries when compilation phase. Export with -L option or directly link that library.&lt;BR /&gt;&lt;BR /&gt;May be some library has to be linked during run time with SHLIB_PATH or LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/SNIPPED&gt;</description>
      <pubDate>Mon, 23 Jan 2006 02:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714917#M549720</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-23T02:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714918#M549721</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;What are the Unsatisfied symbols you got? You can trun off warning while compiling rpc_svc.c by -w &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 23 Jan 2006 03:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714918#M549721</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-23T03:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Pointers are not assignment-compatible" when compiling server skeleton generated by rpcgen</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714919#M549722</link>
      <description>Hi Muthu and Arun&lt;BR /&gt;&lt;BR /&gt;Here is the output:&lt;BR /&gt;&lt;BR /&gt;=================================&lt;BR /&gt;$ cc rpc_svc.c&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 95: warning 563: Argument #2 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 114: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "rpc_svc.c", line 124: warning 563: Argument #3 is not the correct type.&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   svcerr_decode (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   x_test_1 (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   xdr_wrapstring (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   t_errno (first referenced in rpc_svc.o) (data)&lt;BR /&gt;   svcerr_systemerr (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   t_getinfo (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svc_reg (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   t_getstate (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svc_run (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svc_fdset (first referenced in rpc_svc.o) (data)&lt;BR /&gt;   svc_tli_create (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   getnetconfigent (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   freenetconfigent (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svcerr_noproc (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   xdr_x_string (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svc_sendreply (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   xdr_void (first referenced in rpc_svc.o) (code)&lt;BR /&gt;   svc_create (first referenced in rpc_svc.o) (code)&lt;BR /&gt;$&lt;BR /&gt;=================================&lt;BR /&gt;&lt;BR /&gt;But I am much concerned about the warning error "warning 604: Pointers are not assignment-compatible" than about the unsatisfied symbols this time.  From your experience, does it mean we can ignore the warning error?&lt;BR /&gt;&lt;BR /&gt;@@ Kwang&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 05:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-quot-pointers-are-not-assignment-compatible-quot-when/m-p/3714919#M549722</guid>
      <dc:creator>Kwang Tan</dc:creator>
      <dc:date>2006-01-23T05:13:26Z</dc:date>
    </item>
  </channel>
</rss>

