From: Giovanni Degani Date: 2005-04-19T08:17:56+09:00 Subject: Problem compiling extensions ------=_Part_19322_5091857.1113866256414 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello. Im having a problem when trying to compile extensions for ruby. I has happened with sqlite3-ruby and mysql-ruby. In mysql-ruby when I try to run the command: ruby extconf.rb I get the following results: checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... no checking for mysql_query() in -lmysqlclient...=20 After running the command again with the options --with-mysql-include-dir=3D/usr/include --with-mysql-lib-dir=3D/usr/lib I get the same errors. After looking at the the mkmf.log file I saw the following error: "gcc -o conftest -I/home/giovanni/downloads/ruby/mysql-ruby-2.5.2-I/usr/lib/ruby/1.8/i686-li= nux -I/usr/local/include -O2 -march=3Di686 -mtune=3Di686 -fPIC conftest.c -L'/usr/local/lib' -Wl,-R'/usr/local/lib'=20 -L'/usr/lib' -Wl,-R'/usr/lib' -lruby-static -lmysqlclient -lpthread -ldl=20 -lcrypt -lm -lc" cc1: error: invalid option `tune=3Di686' What it's causing this error?=20 My plattaform is Slackware Linux 10.1 on a Athlon XP 1800 processor. Thanks in advance. --=20 Giovanni Degani tiefox@gmail.com ICQ 965609 ------=_Part_19322_5091857.1113866256414--