- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Can not compile iozone with aCC
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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" ... "
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP