Created
September 22, 2013 02:06
Revisions
-
d4l3k created this gist
Sep 22, 2013 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,118 @@ /usr/local/rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb checking for main() in -lmysqlclient... no checking for main() in -lpthread... yes checking for main() in -lz... yes checking for main() in -lm... yes checking for main() in -lrt... yes checking for main() in -lssl... yes checking for main() in -lcrypto... yes checking for main() in -ldl... yes checking for localtime_r()... yes checking for gmtime_r()... yes checking for mysql.h... no checking for MYSQL_TYPE_STRING in mysql.h... no checking for MYSQL_TYPE_BIT in mysql.h... no checking for MYSQL_TYPE_NEWDECIMAL in mysql.h... no checking for mysql_query() in mysql.h... no checking for mysql_ssl_set() in mysql.h... no checking for mysql_sqlstate() in mysql.h... no checking for mysql_get_ssl_cipher() in mysql.h... no checking for mysql_set_character_set() in mysql.h... no checking for mysql_get_server_version() in mysql.h... no checking for MYSQL_FIELD.charsetnr in mysql.h... no creating Makefile make compiling do_mysql.c do_mysql.c:5:19: error: mysql.h: No such file or directory do_mysql.c:6:20: error: errmsg.h: No such file or directory do_mysql.c:7:26: error: mysqld_error.h: No such file or directory do_mysql.c:27: error: expected declaration specifiers or ‘...’ before ‘MYSQL’ do_mysql.c:38: warning: type defaults to ‘int’ in declaration of ‘MYSQL_FIELD’ do_mysql.c:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token do_mysql.c:106: error: expected declaration specifiers or ‘...’ before ‘MYSQL’ do_mysql.c: In function ‘do_mysql_raise_error’: do_mysql.c:107: warning: implicit declaration of function ‘mysql_errno’ do_mysql.c:107: error: ‘db’ undeclared (first use in this function) do_mysql.c:107: error: (Each undeclared identifier is reported only once do_mysql.c:107: error: for each function it appears in.) do_mysql.c:108: warning: implicit declaration of function ‘mysql_error’ do_mysql.c: At top level: do_mysql.c:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token do_mysql.c:192: error: expected declaration specifiers or ‘...’ before ‘MYSQL’ do_mysql.c: In function ‘do_mysql_full_connect’: do_mysql.c:200: warning: ISO C90 forbids mixed declarations and code do_mysql.c:207: warning: ISO C90 forbids mixed declarations and code do_mysql.c:214: warning: ISO C90 forbids mixed declarations and code do_mysql.c:221: warning: ISO C90 forbids mixed declarations and code do_mysql.c:234: warning: ISO C90 forbids mixed declarations and code do_mysql.c:272: warning: ISO C90 forbids mixed declarations and code do_mysql.c:274: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:274: error: ‘result’ undeclared (first use in this function) do_mysql.c:274: warning: implicit declaration of function ‘mysql_real_connect’ do_mysql.c:275: error: ‘db’ undeclared (first use in this function) do_mysql.c:286: error: too many arguments to function ‘do_mysql_raise_error’ do_mysql.c:338: warning: implicit declaration of function ‘do_mysql_cCommand_execute_async’ do_mysql.c: In function ‘do_mysql_cConnection_initialize’: do_mysql.c:360: warning: ISO C90 forbids mixed declarations and code do_mysql.c:366: warning: ISO C90 forbids mixed declarations and code do_mysql.c:372: warning: ISO C90 forbids mixed declarations and code do_mysql.c:378: warning: ISO C90 forbids mixed declarations and code do_mysql.c:384: warning: ISO C90 forbids mixed declarations and code do_mysql.c:391: warning: ISO C90 forbids mixed declarations and code do_mysql.c:395: warning: ISO C90 forbids mixed declarations and code do_mysql.c:405: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:405: error: ‘db’ undeclared (first use in this function) do_mysql.c:405: warning: implicit declaration of function ‘mysql_init’ do_mysql.c:407: error: too many arguments to function ‘do_mysql_full_connect’ do_mysql.c: In function ‘do_mysql_cConnection_dispose’: do_mysql.c:415: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:415: error: ‘db’ undeclared (first use in this function) do_mysql.c:427: warning: implicit declaration of function ‘mysql_close’ do_mysql.c: In function ‘do_mysql_cConnection_quote_string’: do_mysql.c:434: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:434: error: ‘db’ undeclared (first use in this function) do_mysql.c:435: warning: ISO C90 forbids mixed declarations and code do_mysql.c:447: warning: ISO C90 forbids mixed declarations and code do_mysql.c:453: warning: ISO C90 forbids mixed declarations and code do_mysql.c:457: warning: implicit declaration of function ‘mysql_real_escape_string’ do_mysql.c: In function ‘do_mysql_cCommand_execute_non_query’: do_mysql.c:479: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:479: error: ‘db’ undeclared (first use in this function) do_mysql.c:480: warning: ISO C90 forbids mixed declarations and code do_mysql.c:481: error: ‘MYSQL_RES’ undeclared (first use in this function) do_mysql.c:481: error: ‘response’ undeclared (first use in this function) do_mysql.c:483: error: ‘my_ulonglong’ undeclared (first use in this function) do_mysql.c:483: error: expected ‘;’ before ‘affected_rows’ do_mysql.c:484: error: expected ‘;’ before ‘insert_id’ do_mysql.c:486: warning: implicit declaration of function ‘mysql_free_result’ do_mysql.c:488: error: ‘affected_rows’ undeclared (first use in this function) do_mysql.c:492: error: ‘insert_id’ undeclared (first use in this function) do_mysql.c: In function ‘do_mysql_cCommand_execute_reader’: do_mysql.c:503: warning: ISO C90 forbids mixed declarations and code do_mysql.c:504: error: ‘MYSQL’ undeclared (first use in this function) do_mysql.c:504: error: ‘db’ undeclared (first use in this function) do_mysql.c:505: error: ‘MYSQL_RES’ undeclared (first use in this function) do_mysql.c:505: error: ‘response’ undeclared (first use in this function) do_mysql.c:507: warning: implicit declaration of function ‘mysql_field_count’ do_mysql.c:507: warning: ISO C90 forbids mixed declarations and code do_mysql.c:515: warning: ISO C90 forbids mixed declarations and code do_mysql.c:531: error: ‘MYSQL_FIELD’ undeclared (first use in this function) do_mysql.c:531: error: ‘field’ undeclared (first use in this function) do_mysql.c:532: warning: ISO C90 forbids mixed declarations and code do_mysql.c:535: warning: implicit declaration of function ‘mysql_fetch_field_direct’ do_mysql.c:539: warning: implicit declaration of function ‘do_mysql_infer_ruby_type’ do_mysql.c: In function ‘do_mysql_cReader_close’: do_mysql.c:563: error: ‘MYSQL_RES’ undeclared (first use in this function) do_mysql.c:563: error: ‘reader’ undeclared (first use in this function) do_mysql.c: In function ‘do_mysql_cReader_next’: do_mysql.c:585: error: ‘MYSQL_RES’ undeclared (first use in this function) do_mysql.c:585: error: ‘reader’ undeclared (first use in this function) do_mysql.c:589: error: ‘MYSQL_ROW’ undeclared (first use in this function) do_mysql.c:589: error: expected ‘;’ before ‘result’ do_mysql.c:592: warning: ISO C90 forbids mixed declarations and code do_mysql.c:594: warning: implicit declaration of function ‘mysql_fetch_lengths’ do_mysql.c:596: error: ‘result’ undeclared (first use in this function) do_mysql.c:602: warning: ISO C90 forbids mixed declarations and code do_mysql.c:611: warning: ISO C90 forbids mixed declarations and code make: *** [do_mysql.o] Error 1