4.8.3 build fails in Cygwin
Andrew Schulman <[email protected]> Sat, 11 Nov 2017 12:27:49 -0500
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <CAJOCpN3xK-9e5=REgPBVHXpOUchc6xC-H8aOPnrn3Auq=_mCQQ@mail.gmail.com> |
--===============1401239347939177394==
Content-Type: multipart/alternative; boundary="089e08288ea042eebe055db85b01"
--089e08288ea042eebe055db85b01
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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=3D`echo glob.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --silent --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFI=
G_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=3D/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/build=
=3D/usr/src/debug/lftp-4.8.3-1
-fdebug-prefix-map=3D/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/l=
ftp-4.8.3=3D/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-co=
nfig.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 =E2=80=98)=E2=80=99 before nu=
meric 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 =E2=80=98(=E2=80=99 before =E2=80=98)=E2=80=
=99 token
# define __nonnull(params) __attribute__ ((__nonnull__ params))
--089e08288ea042eebe055db85b01
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">lftp builds fine in Cygwin up through version 4.8.0. But i=
n 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<div><br></div><div><div>depba=
se=3D`echo glob.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\</div>=
<div>/bin/sh ../libtool --silent=C2=A0 --tag=3DCC=C2=A0 =C2=A0--mode=3Dcomp=
ile gcc -DHAVE_CONFIG_H -I. -I/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86=
_64/src/lftp-4.8.3/lib=C2=A0 =C2=A0 =C2=A0-ggdb -O2 -pipe -Wimplicit-functi=
on-declaration -fdebug-prefix-map=3D/home/andrex/dev/cygwin/lftp/lftp-4.8.3=
-1.x86_64/build=3D/usr/src/debug/lftp-4.8.3-1 -fdebug-prefix-map=3D/home/an=
drex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3=3D/usr/src/debug/lf=
tp-4.8.3-1 -Wall -MT glob.lo -MD -MP -MF $depbase.Tpo -c -o glob.lo /home/a=
ndrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/glob.c &&a=
mp;\</div><div>mv -f $depbase.Tpo $depbase.Plo</div><div>In file included f=
rom /usr/include/locale.h:10:0,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./locale.h:38,</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /usr/include/libintl.h=
:20,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0from /home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib=
/gettext.h:26,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0from ./config.h:2092,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /home/andrex/dev/cygwin/lftp/lftp-4.=
8.3-1.x86_64/src/lftp-4.8.3/lib/libc-config.h:33,</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./glob.h:24,</div><div=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /home/a=
ndrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lftp-4.8.3/lib/glob.c:18:</di=
v><div>/usr/include/stdlib.h:285:12: error: expected =E2=80=98)=E2=80=99 be=
fore numeric constant</div><div>=C2=A0int _EXFUN(__nonnull (1) posix_memali=
gn,(void **, size_t, size_t));</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 ^</div><div>/home/andrex/dev/cygwin/lftp/lftp-4.8.3-1.x86_64/src/lf=
tp-4.8.3/lib/cdefs.h:288:63: error: expected identifier or =E2=80=98(=E2=80=
=99 before =E2=80=98)=E2=80=99 token</div><div>=C2=A0# define __nonnull(par=
ams) __attribute__ ((__nonnull__ params))</div></div><div><br></div></div>
--089e08288ea042eebe055db85b01--
--===============1401239347939177394==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
--===============1401239347939177394==--