<?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: cc compilation error. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947391#M495387</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt; chartype.h", line 57: error #2035: #error directive: wchar_t must store ISO &lt;/SPAN&gt;&lt;SPAN&gt;10646 character&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to look at the #if before that line to see what it doesn't like.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; I have added /opt/aCC/include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Do NOT include C++ headers in a C compilation!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;With some compilers, a "-I" option with no directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No such option with aC++.&amp;nbsp; A -l must have a path.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Mar 2017 04:39:03 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2017-03-12T04:39:03Z</dc:date>
    <item>
      <title>cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6946770#M495385</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am very new to HP-UX and having compilation problem for cc/aCC&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was trying to compile MYSQL 5.1.72 on HP-UX 11.31 with cc/aCC 06.12, but it failed compile with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;following errors on "chared.c" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"chartype.h", line 57: error #2035: #error directive: wchar_t must store ISO &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10646 characters &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#error wchar_t must store ISO 10646 characters &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;^ &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"chartype.h", line 195: error #2020: identifier "mbstate_t" is undefined &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;protected ssize_t ct_encode_char(char *, size_t, Char, mbstate_t *);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the system command for this compilation is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include &amp;nbsp; &amp;nbsp; +DD64 -DHPUX11 &amp;nbsp;-DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DHAVE_BROKEN_INLINE -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -c chared.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To resolve this error, I have added /opt/aCC/include to compile option, then now I pass the first compilation error but get 100 errors of type undefined for wchar_t, size_t, wint_t, etc and could not open source file error for any header files under include such as #include &amp;lt;include/stdio.h&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to resolve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 08:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6946770#M495385</guid>
      <dc:creator>yhlim</dc:creator>
      <dc:date>2017-03-09T08:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947010#M495386</link>
      <description>&lt;P&gt;&amp;gt; I was trying to compile MYSQL 5.1.72 on HP-UX 11.31 with cc/aCC 06.12,&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I've never touched MySQL (any version), and I don't have cc/aCC&lt;BR /&gt;(other than the bundled compiler), so I know nothing, but...&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; First:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uname -a&lt;BR /&gt;&lt;BR /&gt;&amp;gt; To resolve this error, I have added /opt/aCC/include to compile&lt;BR /&gt;&amp;gt; option, [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I've never seen a compiler which needed help to find its own standard&lt;BR /&gt;header files.&amp;nbsp; Does it work at all, or was there a problem with the&lt;BR /&gt;compiler installation?&amp;nbsp; Can you compile a simple program (with a&lt;BR /&gt;standard "#include &amp;lt;&amp;gt;" directive)?&amp;nbsp; For example:&lt;BR /&gt;&lt;BR /&gt;rux# cat hm.c&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;main() { printf( "Hi, mom!\n"); }&lt;BR /&gt;&lt;BR /&gt;rux# cc hm.c&lt;BR /&gt;&lt;BR /&gt;rux# ./a.out&lt;BR /&gt;Hi, mom!&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If the compiler can find its own header files in such a simple case,&lt;BR /&gt;then it should be able to do it in a more complex case.&amp;nbsp; Unless, of&lt;BR /&gt;course, it's getting bad command options.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; After you "added /opt/aCC/include to compile option", what was the&lt;BR /&gt;actual compiler command?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] then now I pass the first compilation error but get 100 errors&lt;BR /&gt;&amp;gt; of type undefined for wchar_t, size_t, wint_t, etc [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That sounds as if you're still not getting the required header files&lt;BR /&gt;(where those types should be defined).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] and could not open source file error for any header files under&lt;BR /&gt;&amp;gt; include such as #include &amp;lt;include/stdio.h&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; And that might be the real problem.&amp;nbsp; You wrote that part of your&lt;BR /&gt;original compiler command was:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -I. -I../../include -I../../include -I../../include&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Three "-I../../include" options are probably not much better than&lt;BR /&gt;one.&amp;nbsp; What was the current directory for that command?&amp;nbsp; Where is the&lt;BR /&gt;(MySQL) "include" directory?&amp;nbsp; (I assume that there is one.)&amp;nbsp; Knowing&lt;BR /&gt;nothing, I'd expect "../../include" to lead to it.&amp;nbsp; If it doesn't, then&lt;BR /&gt;you would seem to need more/better "-I" options.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; With some compilers, a "-I" option with no directory (plain "-I", not&lt;BR /&gt;"-I&amp;lt;dir&amp;gt;") will prevent the compiler from finding its own standard&lt;BR /&gt;header files.&amp;nbsp; I don't see that here, but, with my weak psychic powers,&lt;BR /&gt;I can't see everything you did.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; In other words, stop worrying about the details of the compiler&lt;BR /&gt;errors/warnings, and try to learn what's preventing the compiler from&lt;BR /&gt;finding all the right header files.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there any way to resolve this problem?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Probably, but you may need to provide more information about exactly&lt;BR /&gt;what you did.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 21:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947010#M495386</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-03-09T21:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947391#M495387</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt; chartype.h", line 57: error #2035: #error directive: wchar_t must store ISO &lt;/SPAN&gt;&lt;SPAN&gt;10646 character&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to look at the #if before that line to see what it doesn't like.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; I have added /opt/aCC/include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Do NOT include C++ headers in a C compilation!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;With some compilers, a "-I" option with no directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No such option with aC++.&amp;nbsp; A -l must have a path.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 04:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947391#M495387</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2017-03-12T04:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947528#M495389</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, yes I am able to compile and run a single program with standard include directive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, the actual compiler command aftere I added /opt/aCC/include is like this:&lt;/P&gt;&lt;P&gt;cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I/opt/aCC/include &amp;nbsp; &amp;nbsp; +DD64 -DHPUX11 &amp;nbsp;-DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DHAVE_BROKEN_INLINE -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -c chared.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I added /opt/aCC/include to compiler command, compiler throws error at following logics of user defined header file&lt;/P&gt;&lt;P&gt;#ifndef __STDC_ISO_10646__&lt;BR /&gt;/* In many places it is assumed that the first 127 code points are ASCII&lt;BR /&gt;* compatible, so ensure wchar_t indeed does ISO 10646 and not some other&lt;BR /&gt;* funky encoding that could break us in weird and wonderful ways. */&lt;BR /&gt;#error wchar_t must store ISO 10646 characters&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after I added&amp;nbsp;&lt;SPAN&gt;/opt/aCC/include path to compile option, compiler was able to find&amp;nbsp;__STDC_ISO_10646__ but&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;throws errors that I mentioned at original post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moreover, those three "-I../../include" options are added by MySQL automake from Makefile.am.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I explore file sytem to find out the location of standard header files, I have found two different include path with different directory architecture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. /opt/aCC/include&lt;/P&gt;&lt;P&gt;this directory has some C Standard header files(*.h) as well as c++ &amp;nbsp;standard header files(without .h)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. /usr/include (such directory that I'm assuming to be default include path for cc/aCC)&lt;/P&gt;&lt;P&gt;this directory has all C Standard header files that are located in /opt/aCC/include and more. In addition, this directory has sub directories such as sys, io, net, aCC and etc for c++ standard header files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In conclusion, /opt/aCC/include has some of C Standard header files from /usr/include and C++ Standard header in same directroy. &amp;nbsp;However, &amp;nbsp;when I open C++ Standard header file such as cwchar in /opt/aCC/incude, it has preprocessor directives such as #include &amp;lt;include/stdio.h&amp;gt;. it looks strange to me because in /opt/aCC/include, cwchar and stdio.h are located at same directory, but cwchar inludes header file under include which does not exist in /opt/aCC/include. I assume this is the reasons for all those 100 of compilation errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To resolve this, I tried to include /usr/include in compile option (which I shouldn't have done it becuase /usr/include seems to be the default include path). But as soon as I compiled it, compiler throws exactly same errors as original compile command (generated by MySQL configuration). compiler was not able to find stddef.h file in /usr/include while there is stddef.h exists!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like compiler is not able to&amp;nbsp;find&amp;nbsp;header files due to some reasons that I couldn't find&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I have no idea why /opt/aCC/include has c++ header files in same directory as C header files while c++ header files are looking for C header files in subdirectory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I have&amp;nbsp;explained enough for you to understand.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 08:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6947528#M495389</guid>
      <dc:creator>yhlim</dc:creator>
      <dc:date>2017-03-13T08:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6951446#M495391</link>
      <description>&lt;P&gt;&amp;gt;&lt;SPAN&gt; cc/aCC 06.12&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is obsolete and not supported.&amp;nbsp; The latest is at least A.06.28.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Before I added /opt/aCC/include to compiler command, compiler throws error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I said, you can NOT add that include path.&amp;nbsp; You must go back to your original command and solve that problem and not cause even more.&amp;nbsp; That's the path for the obsolete aCC -AP version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; /opt/aCC/include this directory has some C Standard header files(*.h) as well as C++ &amp;nbsp;standard header files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's why you must not include it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; /usr/include (such directory that I'm assuming to be default include path for cc/aCC)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, these are the system C include files.&amp;nbsp; Most have been C++ified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; I have no idea why /opt/aCC/include has C++ header files in same directory as C header files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the trick to put the C Standard names into the std namespace.&lt;/P&gt;&lt;P&gt;On 11.31 I don't see any definitions of __STDC_ISO_10646__.&amp;nbsp; I do see the include guards __STDC_ISO646_H and _ISO646_INCLUDED.&amp;nbsp; But these are for &amp;lt;iso646.h&amp;gt;.&lt;/P&gt;&lt;P&gt;So you could add -D__STDC_ISO_10646__ and see how far you get.&lt;/P&gt;&lt;P&gt;I.e. a wchar_t is 4 bytes, plenty big enough.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 02:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6951446#M495391</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2017-03-27T02:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6953590#M495392</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;In case you needed, here is version information for both aCC and cc&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;aCC: HP C/aC++ B3910B A.06.12 [Nov 03 2006]&lt;/P&gt;&lt;P&gt;-&amp;nbsp;cc: HP C/aC++ B3910B A.06.12 [Nov 03 2006]&lt;/P&gt;&lt;P&gt;After adding&amp;nbsp;-D__STDC_ISO_10646__ in compile option, I was able to pass first error which is&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"chartype.h", line 57: error #2035: #error directive: wchar_t must store ISO &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10646 characters &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#error wchar_t must store ISO 10646 characters &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;^ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;However, second error,&amp;nbsp;"chartype.h", line 195: error #2020: identifier "mbstate_t" is undefined&lt;BR /&gt;protected ssize_t ct_encode_char(char *, size_t, Char, mbstate_t *);, still arose.&lt;/P&gt;&lt;P&gt;I assume that the error occurs becasue compiler could not find proper header filed in its path and that was the reason that I was messing up with all include pathes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As of now, original compile command created by mysql configure is as follow:&lt;/P&gt;&lt;P&gt;cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include &amp;nbsp; &amp;nbsp; +DD64 -D__STDC_ISO_10646__ &amp;nbsp; -DHPUX11 &amp;nbsp;-DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DHAVE_BROKEN_INLINE -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -c chared.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;those repetitive -I../../include were automatically generated by configure and CFLAGS and CXXFLAGS that I use for configure is as follow:&lt;/P&gt;&lt;P&gt;CC=cc CXX=aCC CFLAGS="+DD64 -D__STDC_ISO_10646__" CXXFLAGS="+DD64 -D__STDC_ISO_10646__"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it would be pleausre if you could give me more help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 01:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6953590#M495392</guid>
      <dc:creator>yhlim</dc:creator>
      <dc:date>2017-04-04T01:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: cc compilation error for mbstate_t</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6955226#M495393</link>
      <description>&lt;P&gt;&amp;gt;I assume that the error occurs&amp;nbsp;because compiler could not find proper header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It occurs because you didn't tell it to use C99.&amp;nbsp; Compile with c99 driver.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 04:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cc-compilation-error/m-p/6955226#M495393</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2017-04-10T04:01:15Z</dc:date>
    </item>
  </channel>
</rss>

