Hi Alexander,
Thank you for the quick patch, unfortunately I've not been successful in
compiling lftp.
I'm trying to compile it for cygwin for now (ultimately I hope to be
able to cross compile it for my Synology NAS server) After finding loads
of missing libraries etc. I've now successfully ran ./autogen.sh
however, when I run make I get the following error:
after load more output:
mv -f .deps/ftpclass.Tpo .deps/ftpclass.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/p11-kit-1 -O2 -Wall -Wwrite-strings
-Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines
-MT FtpListInfo.lo -MD -MP -MF .deps/FtpListInfo.Tpo -c -o
FtpListInfo.lo FtpListInfo.cc
mv -f .deps/FtpListInfo.Tpo .deps/FtpListInfo.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/p11-kit-1 -O2 -Wall -Wwrite-strings
-Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines
-MT FtpDirList.lo -MD -MP -MF .deps/FtpDirList.Tpo -c -o FtpDirList.lo
FtpDirList.cc
mv -f .deps/FtpDirList.Tpo .deps/FtpDirList.Plo
/bin/sh ../libtool --silent --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/p11-kit-1 -g -O2 -Wall -MT ftp-opie.lo -MD -MP -MF
.deps/ftp-opie.Tpo -c -o ftp-opie.lo ftp-opie.c
mv -f .deps/ftp-opie.Tpo .deps/ftp-opie.Plo
/bin/sh ../libtool --silent --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/p11-kit-1 -g -O2 -Wall -MT netkey.lo -MD -MP -MF
.deps/netkey.Tpo -c -o netkey.lo netkey.c
netkey.c:292:2: warning: missing braces around initializer
[-Wmissing-braces]
{ 3, 2, 9, 8, 18, 8, 27, 32, 33, 2, 42, 16, 48, 8, 65, 16,
^
netkey.c:292:2: warning: (near initialization for 'keyexpand[0][0]')
[-Wmissing-braces]
mv -f .deps/netkey.Tpo .deps/netkey.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio
-I/usr/include/p11-kit-1 -O2 -Wall -Wwrite-strings
-Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines
-MT FileCopyFtp.lo -MD -MP -MF .deps/FileCopyFtp.Tpo -c -o
FileCopyFtp.lo FileCopyFtp.cc
mv -f .deps/FileCopyFtp.Tpo .deps/FileCopyFtp.Plo
/bin/sh ../libtool --silent --tag=CXX --mode=link gcc -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -module -avoid-version -rpath
/usr/local/lib/lftp/4.4.11 -s -o proto-ftp.la ftpclass.lo
FtpListInfo.lo FtpDirList.lo ftp-opie.lo netkey.lo FileCopyFtp.lo
-L/usr/local/lib/lftp/4.4.11 liblftp-network.la -lsupc++
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libgnutls.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libintl.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libiconv.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libgmp.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libtasn1.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libp11-kit.la' seems to be moved
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
/usr/bin/sed: can't read Kampf/programming/lftp2/src/liblftp-network.la:
No such file or directory
libtool: link: `Kampf/programming/lftp2/src/liblftp-network.la' is not a
valid libtool archive
Makefile:1911: recipe for target 'proto-ftp.la' failed
make[1]: *** [proto-ftp.la] Error 1
make[1]: Leaving directory '/home/Marijn Kampf/programming/lftp2/src'
Makefile:1579: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
anyone any ideas what is going wrong?
Cheers,
Marijn.
Post by Alexander V. LukyanovPost by Marijn KampfI'm trying to get a recursive list of all files uploaded to an SFTP
server including file size and date. Unfortunately the server
doesn't support the ls -R option.
du -ba
Is there a way to add the file creation date to the above command in lftp?
This patch adds "find -l" command option. HTH.
--
Alexander.