# Pastebin 7xOr4I1Q readline.c: In function ‘Init_readline’: readline.c:1977:26: error: ‘Function’ undeclared (first use in this function) rl_pre_input_hook = (Function *)readline_pre_input_hook; ^ readline.c:1977:26: note: each undeclared identifier is reported only once for each function it appears in readline.c:1977:36: error: expected expression before ‘)’ token rl_pre_input_hook = (Function *)readline_pre_input_hook; ^ readline.c: At top level: readline.c:634:1: warning: ‘readline_pre_input_hook’ defined but not used [-Wunused-function] readline_pre_input_hook(void) ^ make[2]: *** [readline.o] Error 1 make[1]: *** [ext/readline/all] Error 2 make: *** [build-ext] Error 2 !!! Compiling ruby 2.1.1 failed!