lftp builds fine in Cygwin up through version 4.8.0. But in 4.8.1-4.8.3,
the build fails in glob.c with the error message below. Can someone suggest
how to fix it? Thanks, Andrew

depbase=`echo glob.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --silent  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib
   -ggdb -O2 -pipe -Wimplicit-function-declaration
-fdebug-prefix-map=/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/build=/usr/src/debug/lftp-4.8.3-1
-fdebug-prefix-map=/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3=/usr/src/debug/lftp-4.8.3-1
-Wall -MT glob.lo -MD -MP -MF $depbase.Tpo -c -o glob.lo
/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/glob.c
&&\
mv -f $depbase.Tpo $depbase.Plo
In file included from /usr/include/locale.h:10:0,
                 from ./locale.h:38,
                 from /usr/include/libintl.h:20,
                 from
/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/gettext.h:26,
                 from ./config.h:2092,
                 from
/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/libc-config.h:33,
                 from ./glob.h:24,
                 from
/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/glob.c:18:
/usr/include/stdlib.h:285:12: error: expected ‘)’ before numeric constant
 int _EXFUN(__nonnull (1) posix_memalign,(void **, size_t, size_t));
            ^
/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/cdefs.h:288:63:
error: expected identifier or ‘(’ before ‘)’ token
 # define __nonnull(params) __attribute__ ((__nonnull__ params))
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to