- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc compiler's problem/hpux11.00
Operating System - HP-UX
1748051
Members
4790
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 02:20 AM
тАО06-17-2004 02:20 AM
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.
Solved! Go to Solution.
- Tags:
- gcc
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 02:26 AM
тАО06-17-2004 02:26 AM
Re: gcc compiler's problem/hpux11.00
Do you by any chance have ncurses installed? If you change the
#include
to
#include
or have -I/your/path/to/ncurses/include in the CFLAGS, it /might/ help
Though these warnings are annoying, it is just warnings.
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
Enjoy, Have FUN! H.Merijn
#include
to
#include
or have -I/your/path/to/ncurses/include in the CFLAGS, it /might/ help
Though these warnings are annoying, it is just warnings.
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
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 02:43 AM
тАО06-17-2004 02:43 AM
Re: gcc compiler's problem/hpux11.00
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 $<.PHONY: cleanclean: rm -f *.o rm -f $(EXECNAME) rm -f core core.*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 03:13 AM
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP