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: <ol@xxxxxxxx>
Cc: Freeciv Developers List <freeciv-dev@xxxxxxxxxxx>, <bugs@xxxxxxxxxxxxxxxxxxx>, <chrisk@xxxxxxxx>
Subject: [Freeciv-Dev] Re: `rl_filename_completion_function' undeclared (PR#1080)
From: Stepan Roh <stepan@xxxxxxxx>
Date: Tue, 27 Nov 2001 22:55:00 +0100 (CET)


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'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)

I bet it's the problem with readline < 4.2 described in INSTALL
documentation file:

6. Readline Support:
====================
...
You need readline version >= 4.2.
...
It is possible to make freeciv work with versions of readline earlier
than 4.2 (but not with 4.2). To do this replace
"rl_filename_completion_function" with "filename_completion_function" and
"rl_completion_matches" with "completion_matches" in configure.in and
server/stdinhand.c, and remove the const modifier from the first arg of
server/stdinhand.c:freeciv_completion(). Then run autoconf and rebuild.

Have a nice day.

Stepan Roh




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