bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is causing this readline error


From: Bob Rossi
Subject: Re: What is causing this readline error
Date: Tue, 14 Nov 2006 00:53:37 -0500
User-agent: Mutt/1.5.12-2006-07-14

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

[Prev in Thread] Current Thread [Next in Thread]