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: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: `rl_filename_completion_function' undeclared (PR#1080)
From: "Olivier Lecarme" <Olivier.Lecarme@xxxxxxxx>
Date: Wed, 28 Nov 2001 05:33:28 -0800 (PST)

>>>>> 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'
stdinhand.c:3576: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3578: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3580: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3582: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3584: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3586: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3588: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3590: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3592: warning: assignment makes pointer from integer
without a cast
stdinhand.c:3595: `rl_filename_completion_function' undeclared (first
use in this function)
stdinhand.c:3595: (Each undeclared identifier is reported only once
stdinhand.c:3595: for each function it appears in.)
stdinhand.c:3595: warning: assignment makes pointer from integer
without a cast
make[2]: *** [stdinhand.o] Error 1
make[2]: Leaving directory
`/usr/local/GNU/Install/freeciv-1.12.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/GNU/Install/freeciv-1.12.0'
make: *** [all-recursive-am] Error 2

Readline should not be used, should it ?

-- 


                        Olivier Lecarme



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