Operating System - HP-UX
1825734 Members
2692 Online
109687 Solutions
New Discussion

Re: Warning in relink: (Bundled) cc: warning 480...

 
SOLVED
Go to solution
Peter Godron
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Muthu,
can't quite see the connection between Eric's problem and your link.

Eric,
as you have gcc installed already, have you tried link-pointing your cc to wherever gcc is installed?


Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Yes peter :) (Hope I've reverted with comments on that.)

You can install gcc from,

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.0.2/

and try it out.

PS: Are you getting only warnings or errors in compilation?? If warnings then you can remove the compiler tags and try. When you are getting error then that is a problem.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Hi Eric,

I dont think installing "gcc" will help. Oracle supports only HP's Ansi-C compiler.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

I've already put gcc in PATH but nothing has changed...
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Muthu,

"PS: Are you getting only warnings or errors in compilation?? If warnings then you can remove the compiler tags and try. When you are getting error then that is a problem."

Only warnings. What are the compiler tags?
Each and every day is a good day to learn.
Arunvijai_4
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

These warnings says about you DONT have Ansi Complaint C Compiler, only have bundled C compiler. I dont think changing a compiler flag will help with bundled C compiler.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Ok, I think the question is:

Where can I find an Ansi C Compiler for HP-UX 11.0?

PS: I remember that I installed gcc because of a previous linking issue and, at the time, I've just ignored the warnings...

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Chauhan Amit
Respected Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Check this link,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3901BAEVAL

-Amit
If you are not a part of solution , then you are a part of problem
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Eric,

May be you can leave out this problem since it's warning right. Problem is started on getting ERROR only. Hope you can turn of warnings.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Hi Eric

Sometimes, warnings should not be ignored as it may lead to support problems. You can file a support call with Oracle on this issue.

_Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Oracle is compiled with -A -Z ... +O2 tags. However cc is not having supportivity to use the tags. If Oracle is not going to work with native cc complier then it is a problem. Warnings in the thread are seeming to be less priority. You can call to support centre or wait for yogee to analysis.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

See this

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=91726

same kind of error during sendmail installion in hp-ux.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Hi Eric,

It is apparent that, you should install Ansi C compiler to get rid of these warnings.

Probably, you can close this thread once you log a support call.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Same warnings in,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=327907&admit=-682735245+1140601024737+28353475

you have to remove +O2,.. -A option from cc compiler. You will not get the warning surely.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Again to give more reference,

http://www.darklab.net/resources/hpux-mailinglist/1263.html

is saying all about this. Warnings are not needed to be worry. Change compiler tag. That is it.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Forms and reports (oracle) are not like other products which should be compiled with these flags. If you omit the flags, dont expect correct compilation. Also, http://www.darklab.net/resources/hpux-mailinglist/1263.html

talks about Installing/performance oracle 9i on HP-UX.. It didnt talk about Forms and reports..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor
Solution

Re: Warning in relink: (Bundled) cc: warning 480...

hi Eric,

I think for Forms and Reports, you would definitely require the ANSI C compiler!

Below some excerpts from what i have found on metalink:

===========
https://metalink.oracle.com/metalink/plsql/f?p=130:14:12112118006470810127::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,153657.1,1,1,1,helvetica

Explanation
-----------
The ANSI C compiler was not upgraded as part of the OS upgrade since it's a separate product on HP-UX.

Oracle does not require the ANSI C compiler for installation, so the native HP C compiler in /usr/ccs/bin can be used instead.

If using Pro*C/C++, then the ANSI C compiler must be upgraded to the proper HP-UX 11 version before the install.

---
https://metalink.oracle.com/metalink/plsql/f?p=130:14:12112118006470810127::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,147227.1,1,1,1,helvetica
4. When does Oracle need an ANSI C Compiler?
For installing Oracle, or when relinking Oracle executables, the bundled C compiler is sufficient. In this case, the ANSI C compiler is not required.
Examples are the oracle, exp, proc (the ProC precompiler) executables.

The ANSI C compiler is required for compiling ProC and OCI programs, such as *.pc files.
---

Maybe you should create a service request on metalink.

Workaround do exists (in case you already have it on other servers). Think about it...

good luck
kind regards
yogeeraj


No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Section 6 of Metalink Note 147227.1 (2º link provided by Yogeeraj) says it all:

"...When a bundled C compiler is used for
relinks, it will give warnings whenever an ANSI C compiler feature (option)
is encountered. These warning can be ignored, as the exectable will be
relinked regardless."

Thank you,

Eric Antunes


Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Yogeeraj,

I didn't understood this part:

"Workaround do exists (in case you already have it on other servers). Think about it..."

In case I would have the Ansi C installed in other servers? I don't.

Anyway, with ou without warnings, everything works fine...

Thank you,

Eric Antunes
Each and every day is a good day to learn.
Yogeeraj_1
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

hi,

I was thining about a case whereby you had a similar environment which already had the ansi c compiler, you could just install it there and then move it to the production environment.


but this does not make sense if you have to apply patches or upgrade

also you could just install the evaluation version for now...

sorry.

I don't know how much it costs but it would then be preferrable to purchase it!

good luck!

kind regards
yogeeraj

No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Muthukumar_5
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

If you changed your mind to buy aCC compiler then problem is with the prize. I hope it is very high. You have to analyse the economy need as well.

--
Muthu

Easy to suggest when don't know about the problem!
Eric Antunes
Honored Contributor

Re: Warning in relink: (Bundled) cc: warning 480...

Thank you all!
Each and every day is a good day to learn.