Hi, See below: Any chance we could get it to compile w/out a custom libreadline?
g++ -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -MT attach.o -MD -MP -MF .deps/attach.Tpo -c -o attach.o attach.cc g++ -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -MT example1.o -MD -MP -MF .deps/example1.Tpo -c -o example1.o example1.cc lftp_rl.c: In function 'lftp_add_history_nodups': lftp_rl.c:43: warning: implicit declaration of function 'time' lftp_rl.c:44: warning: implicit declaration of function 'add_history_time' lftp_rl.c: In function 'lftp_history_list': lftp_rl.c:88: error: 'HIST_ENTRY' has no member named 'timestamp' lftp_rl.c:89: error: 'HIST_ENTRY' has no member named 'timestamp' lftp_rl.c:90: warning: implicit declaration of function 'strftime' lftp_rl.c:90: warning: incompatible implicit declaration of built-in function 'strftime' lftp_rl.c:90: warning: implicit declaration of function 'localtime' lftp_rl.c:90: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast lftp_rl.c: In function 'lftp_rl_clear': lftp_rl.c:113: warning: implicit declaration of function 'rl_expand_prompt' lftp_rl.c: In function 'lftp_rl_set_ignore_some_completions_function': lftp_rl.c:139: error: 'rl_ignore_some_completions_function' undeclared (first use in this function) lftp_rl.c:139: error: (Each undeclared identifier is reported only once lftp_rl.c:139: error: for each function it appears in.) lftp_rl.c: In function 'lftp_rl_init': lftp_rl.c:167: warning: assignment discards qualifiers from pointer target type lftp_rl.c:170: warning: assignment discards qualifiers from pointer target type lftp_rl.c:172: error: 'rl_filename_quote_characters' undeclared (first use in this function) lftp_rl.c:173: error: 'rl_filename_quoting_function' undeclared (first use in this function) lftp_rl.c:174: error: 'rl_filename_dequoting_function' undeclared (first use in this function) lftp_rl.c:174: error: 'rl_dequote_func_t' undeclared (first use in this function) lftp_rl.c:174: error: expected expression before ')' token lftp_rl.c:175: error: 'rl_char_is_quoted_p' undeclared (first use in this function) lftp_rl.c:175: error: 'rl_linebuf_func_t' undeclared (first use in this function) lftp_rl.c:175: error: expected expression before ')' token lftp_rl.c:177: warning: assignment from incompatible pointer type lftp_rl.c:179: error: 'history_write_timestamps' undeclared (first use in this function) lftp_rl.c:180: error: 'history_comment_char' undeclared (first use in this function) lftp_rl.c: In function 'lftp_rl_add_defun': lftp_rl.c:185: warning: passing argument 2 of 'rl_add_defun' from incompatible pointer type make[1]: *** [lftp_rl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/SleepJob.Tpo .deps/SleepJob.Plo mv -f .deps/attach.Tpo .deps/attach.Po complete.cc: In function 'char** lftp_completion(const char*, int, int)': complete.cc:621: error: 'rl_ignore_some_completions_function' was not declared in this scope complete.cc:763: error: 'rl_save_prompt' was not declared in this scope complete.cc:791: error: 'rl_restore_prompt' was not declared in this scope complete.cc:792: error: 'rl_clear_message' was not declared in this scope complete.cc:806: error: 'rl_message' was not declared in this scope complete.cc:817: error: 'rl_restore_prompt' was not declared in this scope complete.cc:818: error: 'rl_clear_message' was not declared in this scope mv -f .deps/example1.Tpo .deps/example1.Po complete.cc: In function 'char* bash_quote_filename(char*, int, char*)': complete.cc:1176: error: 'MULT_MATCH' was not declared in this scope complete.cc: In function 'int lftp_rl_getc(FILE*)': complete.cc:1254: error: 'rl_kill_full_line' was not declared in this scope make[1]: *** [complete.o] Error 1 mv -f .deps/lftp.Tpo .deps/lftp.Po mv -f .deps/MirrorJob.Tpo .deps/MirrorJob.Plo mv -f .deps/Torrent.Tpo .deps/Torrent.Plo make: *** [all-recursive] Error 1 Justin. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp