Jens Schleusener wrote: > Hi, > > I just tried to compile the new lftp 3.2.0 under AIX 5.1 after > configuring with > > configure --with-ssl=/usr/local/contrib --with-debug > > but got the following errors > > a) using gcc/g++ 4.0.0 > > 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 FileAccess.lo -MD -MP -MF ".deps/FileAccess.Tpo" -c > -o FileAccess.lo FileAccess.cc; \ > then mv -f ".deps/FileAccess.Tpo" ".deps/FileAccess.Plo"; else > rm -f ".deps/FileAccess.Tpo"; exit 1; fi > ftpclass.h:108: error: ISO C++ forbids declaration of 'lftp_ssl' with > no type > ftpclass.h:108: error: expected ';' before '*' token > ftpclass.h: In member function 'bool > Ftp::Connection::ssl_is_activated()': > ftpclass.h:116: error: 'control_ssl' was not declared in this scope > gnumake[1]: *** [FileAccess.lo] Error 1 > > b) using gcc/g++ 3.3.5 > > if /bin/sh ../libtool --silent --tag=CXX --mode=compile gcc3 > -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 FileAccess.lo -MD -MP -MF ".deps/FileAccess.Tpo" -c > -o FileAccess.lo FileAccess.cc; \ > then mv -f ".deps/FileAccess.Tpo" ".deps/FileAccess.Plo"; else > rm -f ".deps/FileAccess.Tpo"; exit 1; fi > In file included from FileAccess.cc:1097: > ftpclass.h:108: error: syntax error before `*' token > ftpclass.h: In member function `bool > Ftp::Connection::ssl_is_activated()': > ftpclass.h:116: error: `control_ssl' undeclared (first use this function) > ftpclass.h:116: error: (Each undeclared identifier is reported only > once for each function it appears in.) > gnumake[1]: *** [FileAccess.lo] Error 1 > > c) using AIX xlc/xlC > > /bin/sh ../libtool --silent --tag=CXX --mode=compile xlC > -DHAVE_CONFIG_H -I. -I. -I../include -I../include > -I/usr/local/contrib/include -g -c -o FileAccess.lo FileAccess.cc > "ftpclass.h", line 108.16: 1540-0063 (S) The text "*" is unexpected. > gnumake[1]: *** [FileAccess.lo] Error 1 > > Sorry, I am not a C/C++ expert. Any ideas? > > Greetings > > Jens > I receive the same error on FreeBSD 5.3.
-- Ryan Cavicchioni GPG ID: C271BCA8 GPG Public Key: http://confabulator.net/gpg/ryan.asc GPG Fingerprint: 83E4 2495 6194 0F66 ED85 22B4 4CC0 DA01 C271 BCA8
