Mr. Fisher,

Yes, that seems to be the problem... It is adding a
space before the path.

Also, the path should be static; however, it is using
../data   which is wrong since I am compiling under
/data/Software/mysql and the OpenSSL directory is
directly under /data.

I did a grep for /data/OpenSSL and can not see where
the translation is done.

Do you have an idea?

Is this a bug I should report?

Thank you VERY much for everybody's help!

Best regards,
E SA


--- "Douglas K. Fischer" <[EMAIL PROTECTED]> wrote:

> 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]
> 
> 



                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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

Reply via email to