lftp-2.6.11 and lftp-pre3.0.0-20031223. No problem
with lftp-2.6.10.
Cheers,
Rob.
lftp-pre3.0.0-20031223:
if gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -O2 -Wall -Wwrite-s
trings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Wi
nline -MT LsCache.o -MD -MP -MF ".deps/LsCache.Tpo" -c
-o LsCache.o LsCache.cc;
\
then mv -f ".deps/LsCache.Tpo" ".deps/LsCache.Po";
else rm -f ".deps/LsCache.Tpo
"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -O2 -Wall -Wwrite-s
trings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Wi
nline -MT FileAccess.o -MD -MP -MF
".deps/FileAccess.Tpo" -c -o FileAccess.o Fil
eAccess.cc; \
then mv -f ".deps/FileAccess.Tpo"
".deps/FileAccess.Po"; else rm -f ".deps/FileA
ccess.Tpo"; exit 1; fi
FileAccess.cc: In member function `int
FileAccess::CheckHangup(pollfd*, int)':
FileAccess.cc:207: error: `socklen_t' undeclared
(first use this function)
FileAccess.cc:207: error: (Each undeclared identifier
is reported only once for
each function it appears in.)
FileAccess.cc:207: error: syntax error before `;'
token
FileAccess.cc:216: error: `len' undeclared (first use
this function)
In file included from ftpclass.h:29,
from FileAccess.cc:1101:
NetAccess.h: At global scope:
NetAccess.h:71: error: ISO C++ forbids declaration of
`socklen_t' with no type
NetAccess.h:71: error: syntax error before `(' token
make[1]: *** [FileAccess.o] Error 1
make[1]: Leaving directory
`/home/Administrator/src/lftp-pre3.0.0-20031223/src'
make: *** [all-recursive] Error 1
lftp-2.6.11 (after the patched):
if gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -O2 -Wall -Wwrite-s
trings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Wi
nline -MT FileAccess.o -MD -MP -MF
".deps/FileAccess.Tpo" -c -o FileAccess.o Fil
eAccess.cc; \
then mv -f ".deps/FileAccess.Tpo"
".deps/FileAccess.Po"; else rm -f ".deps/FileA
ccess.Tpo"; exit 1; fi
FileAccess.cc: In member function `int
FileAccess::CheckHangup(pollfd*, int)':
FileAccess.cc:210: error: `socklen_t' undeclared
(first use this function)
FileAccess.cc:210: error: (Each undeclared identifier
is reported only once for
each function it appears in.)
FileAccess.cc:210: error: syntax error before `;'
token
FileAccess.cc:219: error: `len' undeclared (first use
this function)
In file included from ftpclass.h:29,
from FileAccess.cc:1104:
NetAccess.h: At global scope:
NetAccess.h:70: error: ISO C++ forbids declaration of
`socklen_t' with no type
NetAccess.h:70: error: syntax error before `(' token
make[1]: *** [FileAccess.o] Error 1
make[1]: Leaving directory
`/home/Administrator/src/lftp-2.6.11/src'
make: *** [all-recursive] Error 1
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/