<?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 gcc compiler's problem/hpux11.00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308087#M715936</link>
    <description>hello everyone, I have problem compiling programs under hpux11.00 and gcc3.3.2for curses example, when i compiling my programm it always report that the /usr/include/.../curses.h conflicts with the header file /usr/local/lib/hppa2.0n-hpux11.00/3.3.2/include/curses.hi am newbie with programming with hpux. Anyone can help me? Thanks in advance.I have attach the error in attachment.</description>
    <pubDate>Thu, 17 Jun 2004 09:20:11 GMT</pubDate>
    <dc:creator>jiangyi_1</dc:creator>
    <dc:date>2004-06-17T09:20:11Z</dc:date>
    <item>
      <title>gcc compiler's problem/hpux11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308087#M715936</link>
      <description>hello everyone, I have problem compiling programs under hpux11.00 and gcc3.3.2for curses example, when i compiling my programm it always report that the /usr/include/.../curses.h conflicts with the header file /usr/local/lib/hppa2.0n-hpux11.00/3.3.2/include/curses.hi am newbie with programming with hpux. Anyone can help me? Thanks in advance.I have attach the error in attachment.</description>
      <pubDate>Thu, 17 Jun 2004 09:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308087#M715936</guid>
      <dc:creator>jiangyi_1</dc:creator>
      <dc:date>2004-06-17T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: gcc compiler's problem/hpux11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308088#M715937</link>
      <description>Do you by any chance have ncurses installed? If you change the&lt;BR /&gt;&lt;BR /&gt;#include &lt;CURSES.H&gt;&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;#include &lt;NCURSES.H&gt;&lt;BR /&gt;&lt;BR /&gt;or have -I/your/path/to/ncurses/include in the CFLAGS, it /might/ help&lt;BR /&gt;&lt;BR /&gt;Though these warnings are annoying, it is just warnings.&lt;BR /&gt;&lt;BR /&gt;Another way to get arount this is to rebuild gcc from scratch, because rebuilding from scratch will re-generate the include files used by gcc based on how your current system looks. A short explanation of how to do so can be found on my ITRC site&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;/NCURSES.H&gt;&lt;/CURSES.H&gt;</description>
      <pubDate>Thu, 17 Jun 2004 09:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308088#M715937</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-06-17T09:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: gcc compiler's problem/hpux11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308089#M715938</link>
      <description>this time i have the correct /pathto/curses.h in CFLAGSbut the error still there.what shall i do the next step?the error output is in the attachmentand here is my makefileCC=gcc#CC=aCCX11_INC_PATH = -I/usr/include/X11R6X11_LIB_PATH = -L/usr/lib/X11R6XERCESCROOT=/home/jy/xerces-c_2_5_0#INC_PATH = -I. -I${XERCESCROOT}/include -I/usr/local/includeINC_PATH = -I. -I${XERCESCROOT}/include -I/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/include#LIB_PATH = -L/usr/local/lib -L/usr/lib -L${XERCESCROOT}/libLIB_PATH = -L${XERCESCROOT}/libLINK_LIBS = -lxerces-c -lncurses -lcdk -lpthread -lstdc++USERDEFINES = #-DHPUX  -DDEBUGCFLAGS = -I. -I${INC_PATH} ${USERDEFINES} -w -gEXECNAME = supernocOBJ = supernoc.o present.o utils.o XMLConfigure.o XMLAdaptor.o XMLParser.o \ XMLPartition.o XMLRegion.o XMLStation.o XMLServer.oall:$(EXECNAME)$(EXECNAME):$(OBJ)   $(CC) $^ -o $(EXECNAME) $(LIB_PATH) $(LINK_LIBS).cpp.o: $(CC) $(CFLAGS) -c $&amp;lt;.PHONY: cleanclean: rm -f *.o rm -f $(EXECNAME) rm -f core core.*</description>
      <pubDate>Thu, 17 Jun 2004 09:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308089#M715938</guid>
      <dc:creator>jiangyi_1</dc:creator>
      <dc:date>2004-06-17T09:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: gcc compiler's problem/hpux11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308090#M715939</link>
      <description>GNU gcc probably needs the extended defines that HP C-ANSI-C enables with -Ae&lt;BR /&gt;&lt;BR /&gt;try to add&lt;BR /&gt;&lt;BR /&gt;-D_HPUX_SOURCE &lt;BR /&gt;&lt;BR /&gt;to your CFLAGS and see if that helps&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 17 Jun 2004 10:13:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compiler-s-problem-hpux11-00/m-p/3308090#M715939</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-06-17T10:13:35Z</dc:date>
    </item>
  </channel>
</rss>

