From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96720508603461.tru64-unix-managers.marc@archive.invalid> From: Irvine Short Date: Fri, 25 Aug 2000 12:05:27 +0000 To: tru64-unix-managers Subject: errors compiling MySQL with gcc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96720508603461 OK, I found out how to make configure use gcc and accordingly I did this: # ./configure --with-gcc --enable-shared --prefix=/usr/local/mysql Then I ran make which went for a while and gave me 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