View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003199 | Kali Linux | Kali Package Bug | public | 2016-03-31 22:21 | 2016-04-01 07:52 |
Reporter | UNATCO | Assigned To | rhertzog | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 2016.1 | ||||
Summary | 0003199: "gem update" produces update errors | failed update of 3 gems | ||||
Description | All other gems update successfully except for do_mysql do_postgres do_sqlite3. :~# gem update
/usr/bin/ruby2.3 -r ./siteconf20160331-15612-eht379.rb extconf.rb Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/do_mysql-0.10.17/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /var/lib/gems/2.3.0/gems/do_mysql-0.10.17 for inspection.
/usr/bin/ruby2.3 -r ./siteconf20160331-15612-g7oinj.rb extconf.rb Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/do_postgres-0.10.17/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /var/lib/gems/2.3.0/gems/do_postgres-0.10.17 for inspection.
/usr/bin/ruby2.3 -r ./siteconf20160331-15612-14qhfcp.rb extconf.rb Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/do_sqlite3-0.10.17/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /var/lib/gems/2.3.0/gems/do_sqlite3-0.10.17 for inspection. | ||||
Steps To Reproduce | Execute "gem update" in the terminal. | ||||
Additional Information | do_mysql mkmf.log output: find_library: checking for mysql_query() in -lmysqlclient... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" do_postgres mkmf.log output: have_library: checking for main() in -lpq... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpq -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpq -lpthread -lgmp -ldl -lcrypt -lm -lc" have_library: checking for main() in -llibpq... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -llibpq -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -llibpq -lpthread -lgmp -ldl -lcrypt -lm -lc" do_sqlite3 mkmf.log output: have_header: checking for sqlite3.h... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -I/opt/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -DHAVE_NO_DATETIME_NEWBANG conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm -lc" "gcc -E -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -I/opt/local/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -DHAVE_NO_DATETIME_NEWBANG conftest.c -o conftest.i" | ||||
Attached Files | do_mysql_mkmf.log (26,962 bytes)
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘mysql_query’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))mysql_query; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/opt/local/lib/mysql5/mysql -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lmysqlclient -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void mysql_query(); 14: int t(void) { mysql_query(); return 0; } /* end */ -------------------- | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-31 22:21 | UNATCO | New Issue | |
2016-03-31 22:21 | UNATCO | File Added: do_mysql_mkmf.log | |
2016-04-01 07:52 | rhertzog | Note Added: 0005069 | |
2016-04-01 07:52 | rhertzog | Status | new => closed |
2016-04-01 07:52 | rhertzog | Assigned To | => rhertzog |
2016-04-01 07:52 | rhertzog | Resolution | open => won't fix |