[Uim] build issue with recent SVN - readline.c

TOKUNAGA Hiroyuki tkng at xem.jp
Wed Sep 14 09:56:43 PDT 2005


On Sun, 11 Sep 2005 11:00:39 +0200
Jeroen Ruigrok/asmodai <asmodai at in-nomine.org> wrote:

> [resend due to mailinglist issues]
> 
> Using today's SVN I get:
> 
> make  all-am
> if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DSCM_FILES=\"/usr/pkg/share/uim
> \" -I.. -I/usr/pkg/include -DLIBEDIT -O2 -Wall -std=gnu89 -pedantic
> -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT
> uim_sh-editline.o -MD -MP -MF ".deps/uim_sh-editline.Tpo" -c -o
> uim_sh-editline.o `test -f 'editline.c' || echo './'`editline.c;
> then mv -f ".deps/uim_sh-editline.Tpo" ".deps/uim_sh-editline.Po";
> else rm -f ".deps/uim_sh-editline.Tpo"; exit 1; fi editline.c:47:
> warning: no previous prototype for 'editline_init' editline.c: In
> function `editline_init': editline.c:48: error: too many arguments to
> function `el_init' editline.c:53: error: `H_SETSIZE' undeclared
> (first use in this function) editline.c:53: error: (Each undeclared
> identifier is reported only once editline.c:53: error: for each
> function it appears in.) editline.c:53: warning: passing arg 2 of
> `history' makes integer from pointer without a cast editline.c: At
> top level: editline.c:62: warning: no previous prototype for
> 'editline_quit' editline.c: In function `uim_editline_readline':
> editline.c:79: warning: passing arg 2 of `history' makes integer from
> pointer without a cast editline.c: In function `prompt':
> editline.c:93: warning: implicit declaration of function
> `uim_scm_symbol_value_str' editline.c:93: warning: nested extern
> declaration of `uim_scm_symbol_value_str' editline.c:93: warning:
> assignment makes pointer from integer without a cast *** Error code 1
> 
> Was this known?

No, not known.

I guess:

 (a) Header file is not installed (or not found)
 (b) Using incompatible version

Since libedit support is not convenient for most of users, I recommend
to disable this feature by ./configure --with-libedit=no.


Regards,

-- 
TOKUNAGA Hiroyuki
tkng at xem jp



More information about the uim mailing list