>>>>> "Uri" == Uri Guttman <uri@stripped> writes:
Uri> i am trying to build mysql 3.22.20a on sparc solaris 2.7 with
Uri> egcs-2.91.60.
Uri> i got past the HAVE_TERM bug that was in the INSTALL file but this link
Uri> bug showed up after that. any ideas on what the solution is? has anyone
Uri> else built this version of mysql with this setup? i like to have fresh
Uri> builds if i can but if i can't should i just use a prebuilt binary for
Uri> an earlier version of solaris?
Uri> thanx,
Uri> uri
Uri> Making all in client
Uri> make[2]: Entering directory `/local/src/db/mysql-3.22.20a/client'
Uri> /bin/sh ../libtool --mode=link c++ -O -fno-implicit-templates -DDBUG_OFF
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mysql mysql.o readline.o sql_string.o
> completion_hash.o ../readline/libreadline.a -lcurses libmysqlclient.la -lnsl -lm -lsocket
> -lcrypt -lgen
Uri> c++ -O -fno-implicit-templates -DDBUG_OFF -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o
> ../readline/libreadline.a -lcurses -Wl,--rpath -Wl,/usr/local/lib/mysql
> .libs/libmysqlclient.so -lnsl -lm -lsocket -lcrypt -lgen -lnsl -lm -lsocket -lcrypt -lgen
Uri> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.60/libgcc.a: could not read
> symbols: Bad value
Uri> collect2: ld returned 1 exit status
Hi!
The above means that you got disk full or that your libgcc.a file is
somehow corrupted.
I just compiled MySQL on Solaris 2.7, Sparc with:
(~) gcc -v
Reading specs from /my/gnu/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
and this worked nicely!
You should also be able to use the Solaris2.6 binary distribution of
MySQL!
Regards,
Monty