<?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: How can I resolve &amp;quot;cid_t&amp;quot; and &amp;quot;msg_perm'&amp;quot; error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073542#M92129</link>
    <description>thanks all!</description>
    <pubDate>Sun, 14 Oct 2007 21:28:20 GMT</pubDate>
    <dc:creator>xinm</dc:creator>
    <dc:date>2007-10-14T21:28:20Z</dc:date>
    <item>
      <title>How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073533#M92120</link>
      <description>Hi:&lt;BR /&gt;When I compile a pro*c program,It happens errors:&lt;BR /&gt;...........&lt;BR /&gt;/usr/include/sys/ipc.h:51: error: parse error before "cid_t"&lt;BR /&gt;/usr/include/sys/ipc.h:56: error: parse error before '}' token&lt;BR /&gt;...........&lt;BR /&gt;/usr/include/sys/msg.h:93: error: field `msg_perm' has incomplete type&lt;BR /&gt;&lt;BR /&gt;MY Program s Environment:&lt;BR /&gt;machine : ia64 hp server rx4640&lt;BR /&gt;OS info:&lt;BR /&gt;sysname = HP-UX&lt;BR /&gt;release = B.11.23&lt;BR /&gt;&amp;gt;gcc -v&lt;BR /&gt;Reading specs from /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.2/specs&lt;BR /&gt;Configured with: /scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2/configure --enable-languages=c,c++ --enable-threads=posix --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as --prefix=/usr/local&lt;BR /&gt;Thread model: posix&lt;BR /&gt;gcc version 3.4.2&lt;BR /&gt;&lt;BR /&gt;I hope somebody can help me.&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 10 Oct 2007 21:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073533#M92120</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2007-10-10T21:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073534#M92121</link>
      <description>Is this a pro*c error or a gcc error?&lt;BR /&gt;&lt;BR /&gt;Does your program work with HP's bundled C compiler after you remove your SQL stuff?&lt;BR /&gt;Does it work with gcc?&lt;BR /&gt;&lt;BR /&gt;Can you created a .i file with -E?  (Then look at line 51 in ipc.h.)</description>
      <pubDate>Wed, 10 Oct 2007 22:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073534#M92121</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-10T22:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073535#M92122</link>
      <description>Have you upgraded the OS since GCC was&lt;BR /&gt;installed?  In some cases, this can cause&lt;BR /&gt;problems with the header files.  (New header&lt;BR /&gt;files for the OS, but old ones for GCC.)&lt;BR /&gt;Re-installing GCC should fix the problem (if&lt;BR /&gt;that is the problem).</description>
      <pubDate>Thu, 11 Oct 2007 00:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073535#M92122</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-11T00:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073536#M92123</link>
      <description>&amp;gt;Steven: Have you upgraded the OS since GCC was&lt;BR /&gt;installed?&lt;BR /&gt;&lt;BR /&gt;Rats I thought those errors looked familiar.  I was going to search but forgot.  Here some threads that show the same errors:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1124801" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1124801&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1135635" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1135635&lt;/A&gt;</description>
      <pubDate>Thu, 11 Oct 2007 00:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073536#M92123</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-11T00:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073537#M92124</link>
      <description>&amp;gt; [...] Here some threads [...]&lt;BR /&gt;&lt;BR /&gt;Actual research?  Whoa.  I just assume that&lt;BR /&gt;any complaints about any header files are&lt;BR /&gt;caused by the one thing which bit me once.&lt;BR /&gt;&lt;BR /&gt;If nothing else, rebuilding GCC takes so much&lt;BR /&gt;time that you can look into many other&lt;BR /&gt;possibilities while it's working on that job.&lt;BR /&gt;(As a general rule, wherever I find a GCC&lt;BR /&gt;binary kit, I don't trust it any further than&lt;BR /&gt;using it to build GCC from a source kit.&lt;BR /&gt;Call me skeptical.  Then the only problem is&lt;BR /&gt;remembering to do it all again after anything&lt;BR /&gt;happens to change the system header files.)</description>
      <pubDate>Thu, 11 Oct 2007 01:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073537#M92124</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-11T01:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073538#M92125</link>
      <description>to Dennis Handly:&lt;BR /&gt;   It makes with gcc,complete error info is:&lt;BR /&gt;gcc -g -I. -I/oracle/app/oracle/product/9.2.0/precomp/public -c aa.c &lt;BR /&gt;In file included from /usr/include/sys/msg.h:44,&lt;BR /&gt;                 from stdhead.h:29,&lt;BR /&gt;                 from pubfunc.h:20,&lt;BR /&gt;                 from aa.h:27,&lt;BR /&gt;                 from aa.pc:21:&lt;BR /&gt;/usr/include/sys/ipc.h:51: error: parse error before "cid_t"&lt;BR /&gt;/usr/include/sys/ipc.h:56: error: parse error before '}' token&lt;BR /&gt;In file included from stdhead.h:29,&lt;BR /&gt;                 from pubfunc.h:20,&lt;BR /&gt;                 from aa.h:27,&lt;BR /&gt;                 from aa.pc:21:&lt;BR /&gt;/usr/include/sys/msg.h:93: error: field `msg_perm' has incomplete type&lt;BR /&gt;aa.pc:596:2: warning: no newline at end of file&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Proc program makes error</description>
      <pubDate>Thu, 11 Oct 2007 03:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073538#M92125</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2007-10-11T03:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073539#M92126</link>
      <description>When I make program with "gcc -E",there is no a ".i" file have been created,it errors in the compiling duration.Then I check the ipc.h file "&lt;BR /&gt;#    ifdef _INCLUDE_HPUX_SOURCE&lt;BR /&gt;        cid_t           cid;    /* Compartment ID */&lt;BR /&gt;#    else&lt;BR /&gt;        int             __cpad; /* pad for non-hp code */&lt;BR /&gt;#    endif /* _INCLUDE_HPUX_SOURCE */&lt;BR /&gt;        char            pad[12];/* room for future expansion */&lt;BR /&gt;   };&lt;BR /&gt;#  define _IPCPERM_T&lt;BR /&gt;",&lt;BR /&gt;line 51 is:cid_t           cid;&lt;BR /&gt;line 56 is:};&lt;BR /&gt;&lt;BR /&gt;Thanks all!</description>
      <pubDate>Thu, 11 Oct 2007 04:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073539#M92126</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2007-10-11T04:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073540#M92127</link>
      <description>&amp;gt;When I make program with "gcc -E", there is no ".i" file have been created,&lt;BR /&gt;&lt;BR /&gt;You have to capture stdout.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Then I check the ipc.h file&lt;BR /&gt;&lt;BR /&gt;You have to compare the ipc.h file with the fragment in the preprocessed file.&lt;BR /&gt;&lt;BR /&gt;Did you take a look at the links I gave or what   Steven suggested?&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073540#M92127</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-11T06:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073541#M92128</link>
      <description>Thanks ALL!&lt;BR /&gt;&lt;BR /&gt;I make this program with "gcc version 4.0.4",then success!&lt;BR /&gt;&lt;BR /&gt;Thanks All!</description>
      <pubDate>Sun, 14 Oct 2007 21:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073541#M92128</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2007-10-14T21:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolve "cid_t" and "msg_perm'" error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073542#M92129</link>
      <description>thanks all!</description>
      <pubDate>Sun, 14 Oct 2007 21:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-resolve-quot-cid-t-quot-and-quot-msg-perm-quot-error/m-p/5073542#M92129</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2007-10-14T21:28:20Z</dc:date>
    </item>
  </channel>
</rss>

