[Orca-users] Re: error: C compiler cannot create executables

Waltner, Steve swaltner at lsil.com
Tue Jan 22 07:10:20 PST 2002


> > > configure:1538: gcc -V </dev/null >&5
> > > gcc: argument to `-V' is missing
> > > configure:1541: $? = 1
> > > configure:1561: checking for C compiler default output
> > > configure:1564: gcc    conftest.c  >&5
> > > /usr/local/sparc-sun-solaris2.7/bin/ld: cannot open values-Xa.o: 
> No
> > > such file or directory
> > > collect2: ld returned 1 exit status
> > 
> > This looks like the key failure.  Do you have all of the necessary 
> compiler
> > packages installed?  I think values-Xa.o is in /usr/ccs somewhere.  
> If it's
> > not there, then you'll need to install it.
> 
> yes your're completely right Blair.
> I'm missing /usr/ccs/lib/values-Xa.o which I have among other things 
> on a different server.
> 
> Maybe you've dealt with it before: is it under Solaris possible to 
> see where values-Xa.o comes from, I mean which package is associated 
> to it?
> 
> I know this from Linux with its RPM, where it is per command possible.
> 
> Regards,
> Nick
> 
There probably is an official way to do this, but I just grep the
/var/sadm/install/contents file for this info.

blaze:~# grep values-Xa.o /var/sadm/install/contents 
/usr/ccs/lib/sparcv9/values-Xa.o=../../../lib/sparcv9/values-Xa.o s none
SUNWcslx
/usr/ccs/lib/values-Xa.o=../../lib/values-Xa.o s none SUNWarc
/usr/lib/sparcv9/values-Xa.o f none 0644 root bin 1400 46710 947111152
SUNWarcx
/usr/lib/values-Xa.o f none 0644 root bin 1084 43871 947111151 SUNWarc
blaze:~# 

Steve



More information about the Orca-users mailing list