On 04/10/2014 08:52 PM, Robin wrote:
> Same as xine-ui
> http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg19281.html
> 
> 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)
>  ^
> Makefile:228: recipe for target 'readline.o' failed
> make[2]: *** [readline.o] Error 1
> make[2]: Leaving directory '/sources/xgenlib/ruby-2.1.0/ext/readline'
> exts.mk:199: recipe for target 'ext/readline/all' failed
> make[1]: *** [ext/readline/all] Error 2
> make[1]: Leaving directory '/sources/xgenlib/ruby-2.1.0'
> uncommon.mk:180: recipe for target 'build-ext' failed
> make: *** [build-ext] Error 2
> 
> 

Don't mix unstable lfs and stable blfs, you'll likely get "burned", BLFS
svn has Ruby 2.1.1 and a sed that fixes the issue.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to