Skip to content

Instantly share code, notes, and snippets.

@harushimo
Last active January 30, 2016 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harushimo/7cc0a76145e926fdbd46 to your computer and use it in GitHub Desktop.
Save harushimo/7cc0a76145e926fdbd46 to your computer and use it in GitHub Desktop.
mkmf.log
=> "-lffi \n"
"gcc -o conftest -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/x86_64-linux -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/backward -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -L. -L/home/hari/.rvm/rubies/ruby-2.3.0/lib -Wl,-R/home/hari/.rvm/rubies/ruby-2.3.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,'/../lib' -Wl,-R'/../lib' -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment