Dear LFTP developers,

I'm using lftp on various servers, some of them running RHEL/CentOS 6
(which is still supported by RedHat for several years :-)

Compilation worked fine with previous versions (eg, 4.7.7) but it fails
with the brandnew version 4.8.0 of lftp.

This is what happens:

env CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib 
-Wl,-R/usr/local/ssl/lib" ./configure --prefix=/usr/local 
--with-openssl=/usr/local/ssl --without-gnutls --disable-nls
/bin/sh ../libtool --silent  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../lib  -I../lib -I../trio -I/usr/local/ssl/include  -O2 -Wall 
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti 
-fno-implement-inlines -MT MirrorJob.lo -MD -MP -MF .deps/MirrorJob.Tpo -c -o 
MirrorJob.lo In member function ‘void MirrorJob::HandleFile(FileInfo*)’: error: operands to ?: have different types ‘xstring_c’ and 
‘const xstring’
make[2]: *** [MirrorJob.lo] Error 1
make[2]: Leaving directory `/usr/local/src/lftp-4.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/lftp-4.8.0'
make: *** [all] Error 2

GCC Version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)

Yes, I know it's pretty old ("mature"), but it's not really
my choice. This is what RedHat provides. Usually it compiles
everything without any troubles.

Btw, compilation works fine on Fedora 26 with
gcc (GCC) 7.1.1 20170622 (Red Hat 7.1.1-3).

So the problem might be related to the version of the compiler.

On both systems the GCC packages are used which are included with
the distribution. (All system updates have been applied.)

If you need additional info, please just let me know. Happy to help!
I just didn't know what might be of help and what not.
(As the configure script runs fine but the compilation fails,
there's obviously not much of a log file with further details.
It's just the error message above.)

        Thanks a lot in advance ... Andreas
lftp mailing list

Reply via email to