Hi All!
I've been having a hard time getting MySQL to compile under Tru64 5.0
with gcc
A few people on the tru64-unix-managers mail list @ornl.gov have said
they've had success with the Compaq C++ compiler but had heard of no-one
getting anywhere with gcc on that platform.
All help much appreciated, either tips on getting it to compile under
gcc on Tru64 or preferably by this stage a binary!
Here's what I get:
# ./configure --with-gcc --prefix=/usr/local/mysql (All OK)
The I do a make which runs for a bit then I get this:
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK
-I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c my_alloc.c
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c my_alloc.c -o my_alloc.o
echo timestamp > my_alloc.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK
-I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c getopt.c
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c getopt.c -o getopt.o
In file included from /usr/include/sys/socket.h:67,
from ../include/global.h:281,
from getopt.c:49:
/usr/include/sys/uio.h:178: macro `readv' used without args
/usr/include/sys/uio.h:179: macro `writev' used without args
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
--
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
fax: +27-21-959 2512
cel: +27-82-494 3828