V. M. Brasseur wrote:

E SA wrote:

 gcc -DDEFAULT_CHARSET_HOME=\"/data/MySQL\"
-DDATADIR=\"/data/MySQL/var\"
-DSHAREDIR=\"/data/MySQL/share/mysql\" -DDONT_USE_RAID
-I. -I. -I.. -I./../include -I../include -I./.. -I..
-I.. /data/OpenSSL/include/openssl -O3 -DDBUG_OFF -MT
libmysql.lo -MD -MP -MF .deps/libmysql.Tpo -c
libmysql.c -o libmysql.o
gcc: cannot specify -o with -c or -S and multiple
compilations
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory
`/data/software/tars/mysql-4.0.20/libmysql_r'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/data/software/tars/mysql-4.0.20'
make: *** [all] Error 2


This problem is not related either to OpenSSL or to OpenSSH. The main error above is "gcc: cannot specify -o with -c or -S and multiple compilations". That means the problem lies with GCC or, more specifically, with the parameters which are being passed to it.

Exactly. From just a cursory look at your gcc output, it appears there is extraneous space character in the 5th line:


-I.. /data/OpenSSL/include/openssl

should instead be

-I../data/OpenSSL/include/openssl

This line is telling gcc to include the ../data/OpenSSL/include/openssl directory in its search for header files. The extra space causes gcc to parse the command line incorrectly, resulting in your error message.

Cheers,

Doug


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to