Skip to content

Instantly share code, notes, and snippets.

@hesco
Forked from anonymous/010-errors.log
Created February 3, 2015 23:15
Show Gist options
  • Save hesco/f6b01bb1f7babab38537 to your computer and use it in GitHub Desktop.
Save hesco/f6b01bb1f7babab38537 to your computer and use it in GitHub Desktop.
compiling readline.c
readline.c: In function 'Init_readline':
readline.c:1886:26: error: 'Function' undeclared (first use in this function)
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c:1886:26: note: each undeclared identifier is reported only once for each function it appears in
readline.c:1886:36: error: expected expression before ')' token
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c: At top level:
readline.c:530:1: warning: 'readline_pre_input_hook' defined but not used [-Wunused-function]
readline_pre_input_hook(void)
^
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/tmp/ruby-build.20150203174906.8670/ruby-2.0.0-p247/ext/readline'
make[1]: *** [ext/readline/all] Error 2
make[1]: *** Waiting for unfinished jobs....
rbenv::build { '2.0.0-p247':
require => [ Package['libreadline-dev'],
Package['libreadline6'] ],
}
where rbenv::build is:
https://github.com/justindowning/puppet-rbenv/blob/master/manifests/build.pp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment