On Sat, Feb 14, 2004, Ralf S. Engelschall wrote: > On Sat, Feb 14, 2004, Julien TOUCHE wrote: > > > i try to add an openssl option to mysql-4 (current) with the attached > > patch but get the following: > > > > /home/www-test/local/bin/cc > > -DDEFAULT_CHARSET_HOME=\"/home/www-test/local\" > > -DDATADIR=\"/home/www-test/local/var/mysql\" > > -DSHAREDIR=\"/home/www-test/local/share/mysql\" -DDONT_USE_RAID -I. -I. > > -I.. -I./../include -I../include -I./.. -I.. -I.. > > /home/www-test/local/include/openssl -O3 -DDBUG_OFF -O2 -pipe > ^^^^^^^^^^^^^^^^ > > Well, here is the problem. There is no -I in front of this argument, > so the compiler things it is a compilation object. > > > -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c libmysql.c -MT libmysql.lo -MD > > -MP -MF .deps/libmysql.TPlo -o libmysql.o > > cc: cannot specify -o with -c or -S and multiple compilations > > make[2]: *** [libmysql.lo] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > error: Bad exit status from /home/www-test/local/RPM/TMP/rpm-tmp.19649 > > (%build) > > > > without it compiles fine & there is nothing else modified.
Ok, the correct way is the one I've comitted now: http://cvs.openpkg.org/chngview?cn=14865 Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
