i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/data/mysql\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2
my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance.