Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: `rl_filename_completion_function' undeclared (PR#1080)
Home

[Freeciv-Dev] Re: `rl_filename_completion_function' undeclared (PR#1080)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Olivier Lecarme <Olivier.Lecarme@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: `rl_filename_completion_function' undeclared (PR#1080)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2001 16:45:06 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Nov 28, 2001 at 05:33:28AM -0800, Olivier Lecarme wrote:
> >>>>> On Tue, 27 Nov 2001 22:55:00 +0100 (CET),  you said:
> 
> SR> On Tue, 27 Nov 2001, Christian Knoke wrote:
> 
> >> On Tue, Nov 27, 2001 at 12:47:48AM -0800, ol@xxxxxxxx wrote:
> >> > Full_Name: Olivier Lecarme
> >> > Version: 1.12.0
> >> > Distribution: Built from source
> >> > Client: Xaw
> >> > OS: OSF1 uranie.unice.fr V4.0 1229 alpha
> >> > Submission from: (NULL) (134.59.1.31)
> >> >
> >> >
> >> > ./configure --with-readline --with-xaw3d --with-zlib --with-x
> >> > make
> >> 
> >> You are forcing the use of the raedline library, but you have
> >> not installed it correctly. Install the readline library +
> >> the library header files, or don't use "--with-readline".
> 
> I installed it correctly, thanks.
> 
> >> > I'm using GNU make version 3.77.
> >> >
> >> > Compilation fails because of an undeclared symbol:
> >> >
> >> > stdinhand.c:3595: `rl_filename_completion_function' undeclared (first 
> >> > use in
> >> > this function)
> 
> SR> I bet it's the problem with readline < 4.2 described in INSTALL
> SR> documentation file:
> 
> It IS readline 4.2.
> 
> Moreover, I did the following :
> 
> rm config.cache
> make clean
> ./configure --with-xaw3d --with-zlib --with-x
> make
> 
> The result is the same :
> 
> stdinhand.c: In function `freeciv_completion':
> stdinhand.c:3576: warning: implicit declaration of function
> `rl_completion_matches'

Can you do a "grep READLINE config.h"? Can you look which file the
compiler uses for the
  #include <readline/readline.h>
in stdinhand.c.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
    1) Customers cause problems.
    2) Marketing is trying to create more customers.
  Therefore:
    3) Marketing is evil.


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