Hello,
I'm having some trouble getting the configure script to run. It keeps stopping and saying that zlib >= 1.0.9 required even though I have 1.2.1. This information is from config.log. Can someone tell me what the problem is?
Thanks.

configure:17219: checking for gzgets in -lz
configure:17238: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib -L/usr/local/lib -L/usr/ucblib -L/usr/ucblib -L/usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.1 -L/usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.1 conftest.c -lz -lgcc 1>&5
ld: fatal: relocation error: R_SPARC_32: file /var/tmp//cckNW1vG.o: symbol <unknown>: offset 0x7f68110f is non-aligned
collect2: ld returned 1 exit status
configure: failed program was:
#line 17227 "configure"
#include "confdefs.h"
/ Override any gcc2 internal prototype to avoid an error. /
/ We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.
/
char gzgets();

int main() {
gzgets()
; return 0; }

    Hi,

    which version of the Solaris linker is installed on your system ?
    You might need to upgrade to the latest linker version, seems to be a bug.

    Edit: sorry, i didn't mean the linker but the assembler

    Thomas

      Another question:

      Which gnu tools and other libraries did you install (available at e.g. www.sunfreeware.com or the ones on the companion cd)

      Thomas

        Recently I ugrade by gcc compiler to 3.4.1. I used package available. Is there something else I should upgrade to take care of that problem?

          What do you get if you execute

          ld --version
          and
          as --version

          Which version of the binutils did you install ?

          Thomas

            My ld is 5.7-1.278 and the assembler is
            Alpha 3/27/98 build. The other tools were the preinstalled software of Solaris 5.7

              Ok,

              either upgrade to the final 5.0 version of the assembler or install the latest binutils available at www.sunfreeware.com and use the gnu ld and gnu as that come with the binutils.

              Thomas

                No ... installing binutils doesn't make sense since gcc 3.4.1 has been compiled to use the Solaris linker and assembler. You would have to recompile gcc to use gnu ld/as.

                Thomas

                  Write a Reply...