- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can not compile iozone with aCC
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО10-06-2009 05:43 AM
тАО10-06-2009 05:43 AM
When I run aCC -Ae -v -O iozone.c, I first get:
Error 172: "iozone.c", line 1253 # Undeclared variable 'NAME'.
We did purchase the aCC compiler and it does work.
Any ideas or is there simply a depot I can grab somewhere?
thnx!
followed by a ton of errors. Any ideas or is there a depot that I can just download somewhere?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 06:20 AM
тАО10-06-2009 06:20 AM
Re: Can not compile iozone with aCC
Why are you doing that?
> [...] from www.iozone.org.
Did you get the documentation, too? With the
"Building IOzone" instructions? Like:
Type: make
[...]
http://www.iozone.org/
http://www.iozone.org/docs/IOzone_msword_98.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 06:49 AM
тАО10-06-2009 06:49 AM
Re: Can not compile iozone with aCC
when I do a make, I get tons of these:
(Bundled) cc: "iozone.c", line 110: error 1705: Function prototypes are an ANSI feature.
Searched and found:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1254839345674+28353475&threadId=975114
--
so I tried using aCC and get tons of errors...
Error 699: "iozone.c", line 1814 # Error limit reached; halting compilation.
if(optarg[strlen(optarg)-1]=='g' ||
---
Believe me, I do try before I post....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:09 AM
тАО10-06-2009 07:09 AM
Re: Can not compile iozone with aCC
I may have some old binaries tucked away somewhere...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:16 AM
тАО10-06-2009 07:16 AM
Re: Can not compile iozone with aCC
If you provide the evidence, then no faith is
needed.
> when I do a make, I get tons of these:
>
>(Bundled) cc: "iozone.c", line 110: error 1705: Function prototypes are an ANSI feature.
Wrong C compiler. "type cc"?
> so I tried using aCC and get tons of
> errors...
Not using the proper build procedure might do
that.
Not having the real C compiler, I know
nothing, but I'd guess that there's a "cc"
somewhere which gets you the good compiler,
but it's not the first "cc" on your PATH. If
you can find it, then you might have some
chance with a command like:
CC=/path/to/the/good/cc make
or:
make CC=/path/to/the/good/cc
There might even be a chance with something
like:
make CC=aCC
or
make CC='aCC
Or, you could use GCC, which would involve
even more work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:16 AM
тАО10-06-2009 07:16 AM
Re: Can not compile iozone with aCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:20 AM
тАО10-06-2009 07:20 AM
SolutionWhen? If you got it recently, you would get both C and aC++.
>Error 172: "iozone.c", line 1253 # Undeclared variable 'NAME'.
Where should NAME be defined?
>when I do a make, I get tons of these:
(Bundled) cc: error 1705: Function prototypes are an ANSI feature.
You need to tell make that you are using aC++:
make CC="aCC -Ae" ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:41 AM
тАО10-06-2009 07:41 AM
Re: Can not compile iozone with aCC
and as you can see I am no compiling expert ;)
we have the aCC bundle installed...I thought that the compiler did handle C...
hmm...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 07:53 AM
тАО10-06-2009 07:53 AM
Re: Can not compile iozone with aCC
make CC="aCC -Ae" ... "
Ahhh...my head can stop hurting now.
Thank you!!! that did it. Did not make the connection.
Thanks to all who replied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 01:12 PM
тАО10-06-2009 01:12 PM
Re: Can not compile iozone with aCC
make CC="aCC -Ae" ... "