[Top][All Lists]

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

Re: [Bug-wget] Please review my patch for bug #29518

From: Leonard Ehrenfried
Subject: Re: [Bug-wget] Please review my patch for bug #29518
Date: Sat, 29 Jan 2011 13:33:40 +0100

> On Tue, Jan 25, 2011 at 5:10 PM, Giuseppe Scrivano <address@hidden>wrote:
>> Please remove this magic number and use instead the readline module
>> offered by gnulib.
I'm in the process of tidying up the patch and have tried to use gnulib's
readline, but when do a

# include "readline.h"

as is recommended in readline.c, I get the following compiler error:

gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib   -O2 -Wall
-MT retr.o -MD -MP -MF .deps/retr.Tpo -c -o retr.o retr.c
retr.c:56:22: error: readline.h: No such file or directory
retr.c: In function 'retrieve_from_file':
retr.c:1054: warning: implicit declaration of function 'readline'
retr.c:1054: warning: assignment makes pointer from integer without a cast
make[3]: *** [retr.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

What am I doing wrong?


reply via email to

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