[kde-discuss] Stdcxx ... configure error

Lukas Oboril oboril.lukas at gmail.com
Fri Nov 16 23:47:56 PST 2007


Stefan,

On Nov 16, 2007 3:57 PM, Stefan Teleman <Stefan.Teleman at sun.com> wrote:
> The arguments passed in are for the C++ compiler driver. If you call the link
> editor directly (which is the case here), these arguments won't work, since ld
> doesn't understand the same set of arguments as the C++ compiler driver.

Uff, thx

>
> So, if you replace /usr/bin/ld with /usr/bin/CC it should work.
>
> --Stefan
>

Luc


> ----
>
>
> Lukas Oboril wrote:
> > Hi,
> >
> > when i ran configure in STDCXX I obtained this output. I have latest svn copy.
> >
> >
> > /usr/bin/ld a.o -library=no%Cstd -Y P,/usr/lib/amd64 -i
> > -L/usr/lib/amd64 -R/usr/lib/amd64 -Bdynamic -lc -lCrun -lpthread
> > -lposix4 -lrt -mt -D_REENTRANT -DSOLARIS -DSOLARIS10
> > -D_RWSTD_REENTRANT -Bdynamic -lc -lCrun -xldscope=symbolic -xipo=0
> > -xlibmil -xF=%none -xprefetch=auto
> > -xprefetch_auto_type=indirect_array_access -xprefetch_level=3
> > -xbuiltin=%all -xthreadvar=%all -z combreloc -z redlocsym -z
> > nodefaultlib -z ignore -z now -z rescan -z absexec -z ignore
> > -xtarget=opteron -m64 -xchip=opteron -xcache=64/64/2:1024/64/16 -x03
> > -s -library=no%Cstd -L/tmp/STDCXX/4.1.3/build/lib    -library=no%Cstd
> > -Y P,/usr/lib/amd64 -i -L/usr/lib/amd64 -R/usr/lib/amd64 -Bdynamic -lc
> > -lCrun -lpthread -lposix4 -lrt -mt -D_REENTRANT -DSOLARIS -DSOLARIS10
> > -D_RWSTD_REENTRANT -Bdynamic -lc -lCrun -xldscope=symbolic -xipo=0
> > -xlibmil -xF=%none -xprefetch=auto
> > -xprefetch_auto_type=indirect_array_access -xprefetch_level=3
> > -xbuiltin=%all -xthreadvar=%all -z combreloc -z redlocsym -z
> > nodefaultlib -z ignore -z now -z rescan -z absexec -z ignore
> > -xtarget=opteron -m64 -xchip=opteron -xcache=64/64/2:1024/64/16 -x03
> > -s -lm  -o a.out
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- g
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > ld: warning: option -c appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- 0
> > /usr/bin/ld: illegal option -- 3
> > ld: warning: option -YP appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- x
> > ld: warning: option -h appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- g
> > ld: warning: option -e appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > ld: warning: option -c appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > ld: warning: option -c appears more than once, first setting taken
> > /usr/bin/ld: illegal option -- x
> > /usr/bin/ld: illegal option -- 0
> > /usr/bin/ld: illegal option -- 3
> >
> >
>
> --
> Stefan Teleman
> Sun Microsystems, Inc.
> Stefan.Teleman at Sun.COM
>
>



-- 
Lukas Oboril

When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie


More information about the kde-discuss mailing list