Hello,
I'm quite a newbie when it comes to compiling so I
think this is a really easy issue.
# uname -a
Linux myhost 2.4.9-12 #1 Tue Oct 30 18:33:49 EST 2001
i686 unknown
# cat /etc/redhat-release
Red Hat Linux release 7.1 (Seawolf)
# tar xjf lftp-2.4.8.tar.bz2
# cd lftp-2.4.8
# ./configure --prefix=/pkg/lftp/2.4.8
[... everything seems ok ...]
# make
Making all in include
make[1]: Entering directory
`/root/build/lftp-2.4.8/include'
cd .. \
&& CONFIG_FILES= CONFIG_HEADERS=include/config.h \
/bin/sh ./config.status
config.status: creating include/config.h
config.status: include/config.h is unchanged
make all-am
make[2]: Entering directory
`/root/build/lftp-2.4.8/include'
make[2]: Leaving directory
`/root/build/lftp-2.4.8/include'
make[1]: Leaving directory
`/root/build/lftp-2.4.8/include'
Making all in readline-4.2
make[1]: Entering directory
`/root/build/lftp-2.4.8/readline-4.2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/build/lftp-2.4.8/readline-4.2'
[... skipping ...]
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-O2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines
-Winline -c -o lftp.o `test -f lftp.cc || echo
'./'`lftp.cc
source='complete.cc' object='complete.o' libtool=no \
depfile='.deps/complete.Po'
tmpdepfile='.deps/complete.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-O2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines
-Winline -c -o complete.o `test -f complete.cc || echo
'./'`complete.cc
In file included from
/usr/include/readline/keymaps.h:37,
from
/usr/include/readline/readline.h:36,
from complete.cc:52:
/usr/include/readline/rltypedefs.h:48:
`rl_command_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:51:
`rl_compentry_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:52:
`rl_completion_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:54:
`rl_quote_func_t' declared with
an exception specification
/usr/include/readline/rltypedefs.h:55:
`rl_dequote_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:57:
`rl_compignore_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:59:
`rl_compdisp_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:62:
`rl_hook_func_t' declared with
an exception specification
/usr/include/readline/rltypedefs.h:65:
`rl_getc_func_t' declared with
an exception specification
/usr/include/readline/rltypedefs.h:70:
`rl_linebuf_func_t' declared
with an exception specification
/usr/include/readline/rltypedefs.h:73: `rl_intfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:75: `rl_icpfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:76: `rl_icppfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:78: `rl_voidfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:79: `rl_vintfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:80: `rl_vcpfunc_t'
declared with an
exception specification
/usr/include/readline/rltypedefs.h:81: `rl_vcppfunc_t'
declared with an
exception specification
In file included from
/usr/include/readline/readline.h:37,
from complete.cc:52:
/usr/include/readline/tilde.h:55: `tilde_hook_func_t'
declared with an
exception specification
make[1]: *** [complete.o] Error 1
make[1]: Leaving directory
`/root/build/lftp-2.4.8/src'
make: *** [all-recursive] Error 1
-----------------------------------------
On RedHat 7.2 "make" gives this:
[... skipping ...]
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-O2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines
-Winline -c -o complete.o `test -f complete.cc || echo
'./'`complete.cc
source='lftp_rl.c' object='lftp_rl.o' libtool=no \
depfile='.deps/lftp_rl.Po'
tmpdepfile='.deps/lftp_rl.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-O2 -Wall -c `test -f lftp_rl.c || echo
'./'`lftp_rl.c
/bin/sh ../libtool --silent --mode=link gcc -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions
-fno-rtti -fno-implement-inlines -Winline -s -o lftp
-export-dynamic lftp.o complete.o lftp_rl.o libjobs.a
libtasks.a ../readline-4.2/libreadline.a
../lib/liblib.a -lssl -lcrypto -lresolv -ldl -lm
../readline-4.2/libreadline.a(display.o): In function
`rl_redisplay':
/root/build/lftp-2.4.8/readline-4.2/display.c:736:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`update_line':
/root/build/lftp-2.4.8/readline-4.2/display.c:993:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`_rl_move_cursor_relative':
/root/build/lftp-2.4.8/readline-4.2/display.c:1216:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`_rl_move_vert':
/root/build/lftp-2.4.8/readline-4.2/display.c:1266:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1274:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o):/root/build/lftp-2.4.8/readline-4.2/display.c:1483:
more undefined references to `tputs' follow
../readline-4.2/libreadline.a(display.o): In function
`insert_some_chars':
/root/build/lftp-2.4.8/readline-4.2/display.c:1521:
undefined reference to `tgoto'
/root/build/lftp-2.4.8/readline-4.2/display.c:1522:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1531:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1538:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1547:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`delete_chars':
/root/build/lftp-2.4.8/readline-4.2/display.c:1562:
undefined reference to `tgoto'
/root/build/lftp-2.4.8/readline-4.2/display.c:1563:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1569:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`cr':
/root/build/lftp-2.4.8/readline-4.2/display.c:1616:
undefined reference to `tputs'
../readline-4.2/libreadline.a(display.o): In function
`_rl_redisplay_after_sigwinch':
/root/build/lftp-2.4.8/readline-4.2/display.c:1670:
undefined reference to `tputs'
/root/build/lftp-2.4.8/readline-4.2/display.c:1682:
undefined reference to `tputs'
../readline-4.2/libreadline.a(terminal.o): In function
`_rl_get_screen_size':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:202:
undefined reference to `tgetnum'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:215:
undefined reference to `tgetnum'
../readline-4.2/libreadline.a(terminal.o): In function
`get_term_capabilities':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:329:
undefined reference to `tgetstr'
../readline-4.2/libreadline.a(terminal.o): In function
`_rl_init_terminal_io':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:371:
undefined reference to `tgetent'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:411:
undefined reference to `PC'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:412:
undefined reference to `BC'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:413:
undefined reference to `UP'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:422:
undefined reference to `PC'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:423:
undefined reference to `BC'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:424:
undefined reference to `UP'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:429:
undefined reference to `tgetflag'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:429:
undefined reference to `tgetflag'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:441:
undefined reference to `tgetflag'
/root/build/lftp-2.4.8/readline-4.2/terminal.c:441:
undefined reference to `tgetflag'
../readline-4.2/libreadline.a(terminal.o): In function
`_rl_backspace':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:535:
undefined reference to `tputs'
../readline-4.2/libreadline.a(terminal.o): In function
`rl_ding':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:568:
undefined reference to `tputs'
../readline-4.2/libreadline.a(terminal.o): In function
`_rl_enable_meta_key':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:593:
undefined reference to `tputs'
../readline-4.2/libreadline.a(terminal.o): In function
`_rl_control_keypad':
/root/build/lftp-2.4.8/readline-4.2/terminal.c:605:
undefined reference to `tputs'
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
make[1]: Leaving directory
`/root/build/lftp-2.4.8/src'
make: *** [all-recursive] Error 1
-------------------------------------------
Any idea?
Kind regards / Friedrisch
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com