On Mon, Nov 13, 2006 at 05:58:21PM -0700, Todd Thal wrote:
> Dear all:
> What is causing this error?
> 
> make readline
> gcc -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"5.1"' -g -O -o 
> readline ./examples/rl.c ./libreadline.a -ltermcap
> examples/rl.c: In function `set_deftext':
> examples/rl.c:68: error: `rl_hook_func_t' undeclared (first use in this 
> function)
> examples/rl.c:68: error: (Each undeclared identifier is reported only once
> examples/rl.c:68: error: for each function it appears in.)
> examples/rl.c:68: error: parse error before ')' token
> examples/rl.c: In function `main':
> examples/rl.c:148: error: `rl_num_chars_to_read' undeclared (first use 
> in this function)
> make: *** [readline] Error 1

Well, did you look at the translation unit? what does it look like?

Bob Rossi


Reply via email to