General
cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Go to solution
Eric Antunes
Honored Contributor

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

Hi,

I'm getting this kind of warnings when relinking forms, reports, etc...

(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -z option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +Ofastaccess option is available only with the C/
ANSI C product; ignored.
(Bundled) cc: warning 480: The +Oentrysched option is available only with the C/
ANSI C product; ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANS
I C product; ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The +Oprocelim option is available only with the C/AN
SI C product; ignored.
(Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C pr
oduct; ignored.

Any ideas?

Best Regards,

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

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

Nevertheless, the relink works.

I found bug 758675 that seems to be the same issue...

Best Regards,

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

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

Hi Eric,

Do you have ANSI-C compiler installed on your host? I dont think you have since it takes Bundled C compiler that comes for rebuilding kernel.

You can download and install an evaluation version of Ansi-C and see how it goes.

-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...

Hi Arun,

#what `which cc`
/usr/bin/cc:
HP92453-01 A.11.00.00 HP C (Bundled) Compiler
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38
Each and every day is a good day to learn.
Arunvijai_4
Honored Contributor

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

Hi Eric,

Yes, it shows it is a bundled compiler.

You can try this,

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

HP aC++ Compiler for Servers - Evaluation

-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...

Arun,

Hi have just installed the HP-UX Developer's Toolkit as mencioned in Note 1058828.6 but it make no difference...

Best Regards,

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

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

Hi Eric,

Did you put that in path infront of bundled compiler. Normally, it should be under /opt/ansic/bin/

You can just export as

# export PATH=/opt/ansic/bin:$PATH

-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...

Hi Arun,

I tried the "export PATH=/opt/ansic/bin:$PATH" but without success...
Each and every day is a good day to learn.
Arunvijai_4
Honored Contributor

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

Hi Eric,

Just to make sure you dont have anything in CC variable,

# echo $CC

# export CC=/opt/ansic/bin/cc

-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...

Hi Arun,

$echo $PATH
/disc2/app/oracle/product/805/bin:/opt/ansic/bin:/usr/sbin:/disc2/app/oracle/loc
al/java/jre1.1.6/bin:/disc2/app/oracle/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bi
n:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/
bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt
/hpnp//bin:/opt/perf/bin:/opt/ignite/bin:/usr/sbin/diag/contrib:/opt/graphics/co
mmon/bin:/opt/hpnpl//bin:/opt/imake/bin:/disc1/patches/zzzip/unzip:/disc2/app/or
acle/product/805/ows/3.0/bin:/disc2/app/oracle/admin/TST/scripts

It have "/opt/ansic/bin" but also still "/usr/ccs/bin": is this causing the problem?


No CC variable:

$echo $CC
sh: CC: Parameter not set.



Best Regards,

Eric Antunes

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

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

Hi Eric,

I dont think /usr/ccs/bin causes problem since it comes afterwards. Can you set CC and check that out.. Also, now what does # what `which cc`

-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...

Arun,

$export CC=/opt/ansic/bin/cc
$echo $CC
/opt/ansic/bin/cc
$what `which cc`
/opt/ansic/bin/cc:
HP92453-01 A.11.00.00 HP C (Bundled) Compiler
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38



Best Regards,

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

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

Hi Eric,

This is strange for /opt/ansic/bin/cc, what displays same as of /usr/bin/cc. Can you check you have installed the Ansic Compiler properly. # swverify should help.

Also, # ll /opt/ansic/bin/cc

check to see any links for cc.

-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...

Arun,

#swverify cc

======= 02/21/06 11:58:45 PWT BEGIN swverify SESSION
(non-interactive)

* Session started for user "root@".

* Beginning Selection
* Target connection succeeded for ":/".
ERROR: Could not apply the software selection "cc"; it is not
available from depot or root ":/".
* Software selection failed for ":/".
ERROR: Cannot continue the "swverify" task.
* Selection had errors.



======= 02/21/06 11:58:53 PWT END swverify SESSION (non-interactive)



#ll /opt/ansic/bin
total 0
lrwxrwxrwx 1 root sys 7 Jun 14 2000 cc -> /bin/cc


Best Regards,

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

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

Hi Eric,

I am sorry if i mislead you. It should be # swverify not # swverify cc. Can you post this ?

# swlist -l file |grep -i "cc"

-Arun

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

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

Eric,
seems your installl didn't work.
can you please do a
swlist | grep -i compil
which should list your additional installed compiler.
Yogeeraj_1
Honored Contributor

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

hi Eric,

can you also check if metalink note 149993.1 with subject: MOTIF Errors Relinking Reports 2.5.7.17.0

seems like a similar problem..

hope this helps

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...

#swlist -l file |grep -i "cc"

returns many lines (see attachment).


#swlist -l product|grep cc

returns the following:


Accounting B.11.00 Accounting
PHCO_14812 1.0 acctcon1(1m) patch
PHCO_16583 1.0 umount(1M) - /etc/mnttab access redesign.

PHCO_17076 1.0 Year 2000 cumulative sccs(1) patch
PHCO_24703 1.0 sccs(1) cumulative patch
PHKL_14765 1.0 Fixes HFS Panic in alloccgblk
PHKL_21161 1.0 patch for inaccurate isr.ior printout
PHKL_21280 1.0 Corrects A180 port access card chassis co
de
PHKL_28488 1.0 copyin EFAULT, LDCD access type
gcc 2.95.2 gcc

I have gcc installed at least. Isn't enough?


Best Regards,

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

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

swlist | grep -i compil

doesn't return anything...
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

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

Yogeeraj,

I've read this note and my link points to the right X Motif library:

ll /usr/lib/libXm.*
lrwxr-xr-x 1 root sys 25 Jan 4 2000 /usr/lib/libXm.1 -> /u
sr/lib/Motif1.2/libXm.1
lrwxr-xr-x 1 root sys 28 Jan 4 2000 /usr/lib/libXm.2 -> /u
sr/lib/Motif1.2_R6/libXm.2
lrwxr-xr-x 1 root sys 28 Jan 4 2000 /usr/lib/libXm.3 -> /u
sr/lib/Motif1.2_R6/libXm.3
lrwxr-xr-x 1 root sys 25 Jan 4 2000 /usr/lib/libXm.4 -> /u
sr/lib/Motif2.1/libXm.4
lrwxr-xr-x 1 root sys 25 Feb 20 17:20 /usr/lib/libXm.a -> /u
sr/lib/Motif2.1/libXm.a
lrwxr-xr-x 1 root sys 16 Feb 20 17:20 /usr/lib/libXm.sl -> /
usr/lib/libXm.4
Each and every day is a good day to learn.
Arunvijai_4
Honored Contributor

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

Hi Eric,

I could only see OS-Core.C-KRN: /usr/ccs/bin/cc
from your attachment. Have you installed Evaluation version of aCC compiler ? I couldnt find it either.

-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...

Arun,

No, I didn't installed it yet. I'm going to do so and will give further notices.

Thanks,

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

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

I didn't installed because I'm on HP-UX 11.0 and the software specification says it is for "HP-UX 11i v1 and HP-UX 11i v2"...
Each and every day is a good day to learn.
Muthukumar_5
Honored Contributor

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

Don't need to install aCC or something.

See this:

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

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

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

oops. That is related with compiler error. :(( I hope it is compatible. Try to download and install aCC in evaluation mode. Hope procura is having a site for all 11.0 related softwares.

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