bug-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-serveez] serveez-0.1.2 build failed on solaris 2.6 (serveez-0.1


From: stefan
Subject: Re: [bug-serveez] serveez-0.1.2 build failed on solaris 2.6 (serveez-0.1.1 was ok)
Date: Sun, 2 Dec 2001 17:16:22 +0100 (CET)

On Sun, 2 Dec 2001, Paul Lew wrote:

> > uname -a
> SunOS cns-build2 5.6 Generic_105181-16 sun4u sparc
> 
> > gcc -v
> Reading specs from
> /auto/insbu-cnstools/lib/gcc-lib/sparc-sun-solaris2.6/3.0.2/s
> pecs
> Configured with: ../gcc-3.0.2/configure --prefix=/auto/insbu-cnstools
> Thread model: posix
> gcc version 3.0.2
> 
> Attached is gzipped log file.

Thanks for the report.

It fails because of the gcc/ld combination using -liberty.  libtool should
have stated something like this:

*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
*** create self contained shared libraries on Solaris systems, without
*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
*** -no-undefined support, which will at least allow you to build shared
*** libraries.  However, you may find that when you link such libraries
*** into an application without using GCC, you have to manually add
*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
*** upgrade to a newer version of GCC.  Another option is to rebuild your
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.

You can try:

1. CC=cc ./configure ...
or
2. ./configure --disable-static ..
or
3. LIBS=`gcc --print-libgcc-file-name` ./configure ...

Would like to know which works for you...

Cheers,
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]