- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C++ and C/ANSI-C compiling VNC Server.
Operating System - HP-UX
1748222
Members
4525
Online
108759
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
тАО11-20-2003 06:10 AM
тАО11-20-2003 06:10 AM
Our DBAs got the VNC Server from somewhere.
They compile it with C++, which we have on our servers:
# swlist | grep -i c\+\+
B3913DB C.03.37.01 HP aC++ Compiler (S800)
However, the VNC build fails with the messages below (warnings and can't find the the C/ANSI-C compiler):
make Makefile.boot
cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS=""
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ccimake.o) was detected. The linked output may not run on a PA 1.x system.
+ mkdir bootstrap
mv *.o imake bootstrap
cd ./config/imake && make -f Makefile.proto all
/opt/ansic/bin/cc +O1 -Ae +ESlit -I../../include -I../../exports/include/X11 -I../.. -I../../exports/include -Dhpux -DSYSV -DCPP_PROGRAM="\"/opt/langtools/lbin/cpp\"" -c imake.c
sh: /opt/ansic/bin/cc: not found.
*** Error exit code 127
So, my questions are:
1. Does the C++ compiler require the C/ANSI-C compiler?
2. Did we BUY C++ without buying C/ANSI-C? Is that allowed?
3. Is there some VNC "make" option I turn on to allow C++ to work with the HP "embedded" C? Or some C++ option?
4. Can I just download C/ANSI-C for free? Where from?
What should I do here?
They compile it with C++, which we have on our servers:
# swlist | grep -i c\+\+
B3913DB C.03.37.01 HP aC++ Compiler (S800)
However, the VNC build fails with the messages below (warnings and can't find the the C/ANSI-C compiler):
make Makefile.boot
cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS=""
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ccimake.o) was detected. The linked output may not run on a PA 1.x system.
+ mkdir bootstrap
mv *.o imake bootstrap
cd ./config/imake && make -f Makefile.proto all
/opt/ansic/bin/cc +O1 -Ae +ESlit -I../../include -I../../exports/include/X11 -I../.. -I../../exports/include -Dhpux -DSYSV -DCPP_PROGRAM="\"/opt/langtools/lbin/cpp\"" -c imake.c
sh: /opt/ansic/bin/cc: not found.
*** Error exit code 127
So, my questions are:
1. Does the C++ compiler require the C/ANSI-C compiler?
2. Did we BUY C++ without buying C/ANSI-C? Is that allowed?
3. Is there some VNC "make" option I turn on to allow C++ to work with the HP "embedded" C? Or some C++ option?
4. Can I just download C/ANSI-C for free? Where from?
What should I do here?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 06:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 07:19 AM
тАО11-20-2003 07:19 AM
Re: C++ and C/ANSI-C compiling VNC Server.
Thanks, Dennis.
I thought that the C++ compiler was like a pre-processor that turned C++ code into C code and then called the C/ANSI-C compiler.
I was wrong. C++ is a stand-alone compiler.
Our problem is that we don't have the C/ANSI-C compiler, which is the compiler that is required here.
I thought that the C++ compiler was like a pre-processor that turned C++ code into C code and then called the C/ANSI-C compiler.
I was wrong. C++ is a stand-alone compiler.
Our problem is that we don't have the C/ANSI-C compiler, which is the compiler that is required here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2003 07:32 PM
тАО11-22-2003 07:32 PM
Re: C++ and C/ANSI-C compiling VNC Server.
Stuard,
do you evaluate use Java?
J is more stable than c++ and it's more portable; and it's free.
Antoniov
do you evaluate use Java?
J is more stable than c++ and it's more portable; and it's free.
Antoniov
Antonio Maria Vigliotti
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