Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created April 11, 2009 20:29
Show Gist options
  • Save luislavena/93719 to your computer and use it in GitHub Desktop.
Save luislavena/93719 to your computer and use it in GitHub Desktop.
have_library: checking for main() in -llibmysql... -------------------- yes
"gcc -o conftest -I. -ID:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32 -I. -ID:/Users/luis/projects/oss/_libs/mysql/include -g -O2 conftest.c -L. -LD:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib -LD:/Users/luis/projects/oss/_libs/mysql/lib -L. -lmsvcrt-ruby18-static -llibmysql -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
--------------------
have_func: checking for mysql_ssl_set()... -------------------- no
"gcc -o conftest -I. -ID:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32 -I. -ID:/Users/luis/projects/oss/_libs/mysql/include -g -O2 conftest.c -L. -LD:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib -LD:/Users/luis/projects/oss/_libs/mysql/lib -L. -llibmysql -lmsvcrt-ruby18-static -llibmysql -lshell32 -lws2_32 "
conftest.c: In function `t':
conftest.c:6: error: `mysql_ssl_set' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_ssl_set; return 0; }
/* end */
"gcc -o conftest -I. -ID:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32 -I. -ID:/Users/luis/projects/oss/_libs/mysql/include -g -O2 conftest.c -L. -LD:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib -LD:/Users/luis/projects/oss/_libs/mysql/lib -L. -llibmysql -lmsvcrt-ruby18-static -llibmysql -lshell32 -lws2_32 "
D:\Temp/ccgVREMf.o: In function `t':
D:/Users/Luis/projects/oss/mysql-gem/ext/conftest.c:3: undefined reference to `mysql_ssl_set'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { mysql_ssl_set(); return 0; }
/* end */
--------------------
have_header: checking for mysql.h... -------------------- yes
"gcc -E -I. -ID:/Users/Luis/ruby/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32 -I. -ID:/Users/luis/projects/oss/_libs/mysql/include -g -O2 conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <mysql.h>
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment