HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Makefile error for aCC compiler
Operating System - HP-UX
1825737
Members
2497
Online
109687
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
12-04-2004 12:28 AM
12-04-2004 12:28 AM
Makefile error for aCC compiler
Hi,
As part of my application development, I've used 'mkmf' tool on HP-UX11.11 to create makefile. I am using aCC compiler. Once I got the makefile from the tool , I've changed 'LD'(cc) value in Makefile to point to aCC so that it can compile *.cpp files. But when I do make, I am getting the following error...
Error:
$ make
CC -O -c test.cpp
Make: Cannot load CC. Stop.
*** Error exit code 1
Can anyone please let me know if any work around for this.From the web, i got to know that by using GNU make, I can get away with it. But I cant use gmake since I am developing application using aCC compiler.
Kindly let me know any solution for this.
Thanks in advance,
Suresh
As part of my application development, I've used 'mkmf' tool on HP-UX11.11 to create makefile. I am using aCC compiler. Once I got the makefile from the tool , I've changed 'LD'(cc) value in Makefile to point to aCC so that it can compile *.cpp files. But when I do make, I am getting the following error...
Error:
$ make
CC -O -c test.cpp
Make: Cannot load CC. Stop.
*** Error exit code 1
Can anyone please let me know if any work around for this.From the web, i got to know that by using GNU make, I can get away with it. But I cant use gmake since I am developing application using aCC compiler.
Kindly let me know any solution for this.
Thanks in advance,
Suresh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 02:35 PM
12-05-2004 02:35 PM
Re: Makefile error for aCC compiler
Suresh, it sounds like a generic err exit code.
can you type this command in by hand ?
does it work by the command-line you type in?
you might have to trace your make fine:
make -n
and play with - what it might exeucte ..
can you do this:
$ type CC
what it returns .. can you define this in your make file .. and run again: $ make -n main
or make -n
can you see us, the make file contents ?
also, do you have HP's aCC or CC installed?
can you type this command in by hand ?
does it work by the command-line you type in?
you might have to trace your make fine:
make -n
and play with - what it might exeucte ..
can you do this:
$ type CC
what it returns .. can you define this in your make file .. and run again: $ make -n main
or make -n
can you see us, the make file contents ?
also, do you have HP's aCC or CC installed?
Golf is a Good Walk Spoiled, Mark Twain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:57 PM
12-07-2004 08:57 PM
Re: Makefile error for aCC compiler
Shouldn't that read
# aCC -O -c test.cpp
rather than
# CC -O -c test.cpp
Is you definition of $(CC) correct?
# aCC -O -c test.cpp
rather than
# CC -O -c test.cpp
Is you definition of $(CC) correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 12:24 AM
12-09-2004 12:24 AM
Re: Makefile error for aCC compiler
it looks like you changed the makefile from
$(LD) ...
to
$aCC ...
in makefiles you should always enclose the variable name within braces as
$(aCC)
else make will only try to take the value of the 'a' that follows the '$'. if $a is null, you finally get only 'CC'.
by the way you should not be using the hp CC compiler now, it is not supported anymore.
--
ranga
[i work for hpe]
$(LD) ...
to
$aCC ...
in makefiles you should always enclose the variable name within braces as
$(aCC)
else make will only try to take the value of the 'a' that follows the '$'. if $a is null, you finally get only 'CC'.
by the way you should not be using the hp CC compiler now, it is not supported anymore.
--
ranga
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP