Hope I am posting to the right list. I am new here.
I have a sun system:
SunOS spot 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-4
With gcc installed:
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/specs
gcc version 2.7.2.3
I am trying to compile:
mysql-4.1.0-alpha
and I a getting this error:
gcc -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -o isamchk isamchk.o sort.o libnisam.a
../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lthread -lz
-lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
source='isamlog.c' object='isamlog.o' libtool=no \
depfile='.deps/isamlog.Po' tmpdepfile='.deps/isamlog.TPo' \
depmode=gcc /bin/ksh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -c
`test -f isamlog.c || echo './'`isamlog.c
In file included from /usr/include/sys/wait.h:24,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/stdlib.h:22,
from ../include/my_global.h:235,
from ../include/my_base.h:26,
from ../include/nisam.h:27,
from isamdef.h:20,
from isamlog.c:23:
/usr/include/sys/resource.h:148: warning: `struct rlimit64' declared inside parameter
list
/usr/include/sys/resource.h:148: warning: its scope is only this definition or
declaration,
/usr/include/sys/resource.h:148: warning: which is probably not what you want.
/usr/include/sys/resource.h:149: warning: `struct rlimit64' declared inside parameter
list
isamlog.c: In function `set_maximum_open_files':
isamlog.c:715: storage size of `rlimit64' isn't known
make[2]: *** [isamlog.o] Error 1
make[2]: Leaving directory `/usr/src/mysql-4.1.0-alpha/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-4.1.0-alpha'
make: *** [all] Error 2
I was only able to get this far because I changed this in configure:
#CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-exceptions -fno-rtti"
to:
CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-rtti"
Any ideas what I can do?
--ja
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]