Hi All,

Below is the tail end of my make output when trying to build
lftp-3.7.3 on Leopard. I started copying from a line or so before the
first error I noticed.

I'm getting the exact same error now when compiling against both the
included readline with Leopard (10.5.3) and also when I build against
a static build of readline-5.2 I made.

The configure command I'm using is:
./configure --disable-shared --without-gnutls --disable-nls
--with-openssl=/usr/include/openssl --without-included-readline
--with-readline=/usr

Any help figuring out how to get around this would be awesome.

Per the INSTALL file I've tried using --with-included-readline however
when I do that configure will error out with
hecking for readline... configure: error: need installed readline-devel package

TIA,
Shane.

--- make output ---
gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/openssl/include     -O2 -Wall -MT lftp_rl.o -MD -MP -MF
.deps/lftp_rl.Tpo -c -o lftp_rl.o lftp_rl.c
lftp_rl.c: In function 'lftp_rl_init':
lftp_rl.c:160: warning: assignment discards qualifiers from pointer target type
lftp_rl.c:163: warning: assignment from incompatible pointer type
lftp_rl.c:164: warning: assignment from incompatible pointer type
mv -f .deps/lftp_rl.Tpo .deps/lftp_rl.Po
/bin/sh ../libtool --silent --tag=CXX   --mode=link gcc  -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Winline   -o lftp lftp.o complete.o lftp_rl.o
liblftp-jobs.la -lreadline -lcurses -lresolv -lsupc++
../lib/libgnu.la
Undefined symbols:
  "_rl_char_is_quoted_p", referenced from:
      _rl_char_is_quoted_p$non_lazy_ptr in lftp_rl.o
  "_rl_forced_update_display", referenced from:
      _lftp_rl_display_match_list in lftp_rl.o
  "_rl_clear_message", referenced from:
      lftp_completion(char const*, int, int)in complete.o
      lftp_completion(char const*, int, int)in complete.o
  "_rl_kill_full_line", referenced from:
      lftp_rl_getc(__sFILE*)     in complete.o
  "_rl_completion_matches", referenced from:
      _lftp_rl_completion_matches in lftp_rl.o
  "_rl_set_prompt", referenced from:
      _lftp_rl_set_prompt in lftp_rl.o
  "_rl_filename_dequoting_function", referenced from:
      _rl_filename_dequoting_function$non_lazy_ptr in lftp_rl.o
  "rpl_poll(pollfd*, unsigned long, int)", referenced from:
      PollVec::Block()     in liblftp-tasks.a(PollVec.o)
      PollVec::Block()     in liblftp-tasks.a(PollVec.o)
      PollVec::Block()     in liblftp-tasks.a(PollVec.o)
      NetAccess::Poll(int, int)in liblftp-network.a(NetAccess.o)
  "_rl_filename_quote_characters", referenced from:
      _rl_filename_quote_characters$non_lazy_ptr in lftp_rl.o
  "_rl_filename_quoting_function", referenced from:
      _rl_filename_quoting_function$non_lazy_ptr in lftp_rl.o
  "_rl_display_prompt", referenced from:
      _rl_display_prompt$non_lazy_ptr in lftp_rl.o
  "_rl_restore_prompt", referenced from:
      lftp_completion(char const*, int, int)in complete.o
      lftp_completion(char const*, int, int)in complete.o
  "__rl_mark_modified_lines", referenced from:
      __rl_mark_modified_lines$non_lazy_ptr in lftp_rl.o
  "_rl_message", referenced from:
      lftp_completion(char const*, int, int)in complete.o
  "_rl_ignore_some_completions_function", referenced from:
      _rl_ignore_some_completions_function$non_lazy_ptr in complete.o
      _rl_ignore_some_completions_function$non_lazy_ptr in lftp_rl.o
  "_rl_save_prompt", referenced from:
      lftp_completion(char const*, int, int)in complete.o
  "_rl_expand_prompt", referenced from:
      _lftp_rl_clear in lftp_rl.o
      _lftp_rl_clear in lftp_rl.o
  "_rl_last_func", referenced from:
      _rl_last_func$non_lazy_ptr in complete.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
make: *** [all-recursive] Error 1

Reply via email to