[Orca-users] Re: error: C compiler cannot create executables
Blair Zajac
blair at orcaware.com
Mon Jan 21 19:42:45 PST 2002
nikitelli wrote:
>
> --- In orca-users at y..., Blair Zajac <blair at o...> wrote:
> > nikitelli wrote:
> > >
> > > Hi,
> > > I try to install orcallator 0.27b2 on Solaris 7 but get following
> > > message:
> > >
> > > # inst.sh
> > > checking build system type... sparc-sun-solaris2.7
> > > checking host system type... sparc-sun-solaris2.7
> > > checking target system type... sparc-sun-solaris2.7
> > > checking for gcc... gcc
> > > checking for C compiler default output... configure: error: C
> > > compiler cannot create executables
> > >
> > > inst.sh looks like
> > > ./configure --prefix=/opt/orca \
> > > --bindir=/opt/orca/bin \
> > > --libdir=/opt/orca/lib \
> > > --mandir=/opt/orca/man \
> > > --with-rrd-dir=/var/orca/rrd \
> > > --with-html-dir=/var/orca/html \
> > > --with-orcallator-dir=/var/orca/orcallator
> > >
> > > To compile I installed
> > > # pkginfo |grep -i SMC
> > > application SMCgcc gcc 2.95.3
> > > application SMCmake make 3.79.1
> > > application SMCprl561 perl 5.61
> > >
> > > all from sunfreeware.com
> > >
> > > I've also /usr/ccs/bin in PATH.
> > >
> > > What's this error?
> > >
> > > Nick
> 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.
Best,
Blair
--
Blair Zajac <blair at orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
More information about the Orca-users
mailing list