Hi,

On Wed, 18 May 2005, Alexander V. Lukyanov wrote:

Please try lftp-3.2.1rc1 from ftp://lftp.yar.ru/lftp/devel/ . Those compile
problems should be fixed there.

Yes, the original problem (ftpclass.h:108: error: ISO C++ forbids declaration of 'lftp_ssl' with no type) seems to be fixed but at least at my AIX 5.1 system (using openssl) I got now the error (independent of using the configure option "--with-ssl=/usr/local/contrib" or "--with-openssl=/usr/local/contrib"):


if /bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -I/usr/local/contrib/include -g -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-MT commands.lo -MD -MP -MF ".deps/commands.Tpo" -c
-o commands.lo commands.cc; \
then mv -f ".deps/commands.Tpo" ".deps/commands.Plo"; else
rm -f ".deps/commands.Tpo"; exit 1; fi
commands.cc: In member function 'const char* cmd_ver(CmdExec*)::VersionInfo::query() const':
commands.cc:2447: error: 'RTLD_DEFAULT' was not declared in this scope
gnumake[1]: *** [commands.lo] Error 1


Simply changing in include/config.h
  #define HAVE_DLOPEN 1
into
  #undef HAVE_DLOPEN
helps for me (for both above mentioned configure options).

Under lftp 3.2.0 I had have success only with "--with-openssl=/usr/local/contrib" but without that workaround.

But caution: "My" AIX installation may not representive since many free
software packages are installed under /usr/local/contrib.

Greetings

Jens

--
Dr. Jens Schleusener            T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493           Bunsenstr.10
Fax: +49 551 709-2169           D-37073 Goettingen
[EMAIL PROTECTED]  http://www.t-systems.com/

Reply via email to