-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Alexander
I've been maintaining SUSE Linux RPMs of lftp for quite some time.
Now when building the lftp 3.2.0 package, I get the following compilation error
(it's a link error
actually):
/bin/sh ../libtool --silent --tag=CXX --mode=link gcc -O2 -g -march=i686
-mcpu=i686 -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 getdate.o
liblftp-jobs.la liblftp-tasks.la
- -lreadline ../lib/liblib.a -lutil -lncurses -lresolv -ldl -lsupc++
lftp.o(.text+0x8c7): In function `main':
/home/pab/RPM/mkrpm2/11151-8427/build/lftp-3.2.0/src/lftp.cc:425: undefined
reference to
`lftp_ssl_openssl::global_deinit()'
./.libs/liblftp-jobs.a(commands.o)(.text+0x23a5): In function
`cmd_ver(CmdExec*)':
/home/pab/RPM/mkrpm2/11151-8427/build/lftp-3.2.0/src/commands.cc:2445:
undefined reference to
`XML_ExpatVersion'
./.libs/liblftp-jobs.a(commands.o)(.text+0x23df):/home/pab/RPM/mkrpm2/11151-8427/build/lftp-3.2.0/src/commands.cc:2451:
undefined reference to `SSL_version_str'
collect2: ld returned 1 exit status
make[1]: *** [lftp] Error 1
make[1]: Leaving directory
`/home/pab/RPM/mkrpm2/11151-8427/build/lftp-3.2.0/src'
make: *** [all-recursive] Error 1
Build host is SUSE Linux 9.3 (IA32).
g++ version: g++ (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
expat, openssl, ... are installed (all previous lftp releases compiled just
fine).
lftp sources are configured as follows:
CFLAGS="-O2 -march=i686 -mcpu=i686" \
CXXFLAGS="-O2 -march=i686 -mcpu=i686" \
./configure \
--prefix="/usr" \
--libdir="/usr/lib" \
--mandir="/usr/share/man" \
--sysconfdir="/etc" \
--with-modules \
--with-openssl \
--without-gnutls \
--without-included-readline \
--without-debug \
--without-profiling
Thanks for your excellent work.
cheers
- --
~ -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
~ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
~ _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCiiS9r3NMWliFcXcRAlFUAJsGLcKXs88Mc3my03oS7OLevgVzBwCgoBvr
2oFz3QMcmw9O/6ktYs3g/Yg=
=5Fto
-----END PGP SIGNATURE-----