> Cc: [email protected] > From: Hans-Bernhard Bröker <[email protected]> > Date: Sat, 29 Apr 2017 21:31:44 +0200 > > I re-tried with MSys2, MinGW64 and ActiveState Perl instead. Again, no > problem like the above: > > libtool: link: C:/msys64/mingw64/bin/gcc.exe -shared > .libs/TestXS_la-TestXS.o -LC:/Perl64/lib/CORE -lperl524 -O2 > -mms-bitfields -o .libs/TestXS.dll -Wl,--enable-auto-image-base > -Xlinker --out-implib -Xlinker .libs/TestXS.dll.a > libtool: link: ar cru .libs/TestXS.a TestXS_la-TestXS.o > libtool: link: ranlib .libs/TestXS.a > libtool: link: ( cd ".libs" && rm -f "TestXS.la" && cp -pR > "../TestXS.la" "TestXS.la" ) > message from XS module > checking whether we can build Perl extension (XS) modules... yes
I will have to look closer at the problem. > The build itself fails because of the conflict between xspara.c and > gnulib headers: I didn't get to that yet, since the configure script decided the extensions aren't needed in my case. > Oh, and BTW: 'info.exe' fails to build because some of the dummy > functions in pcterm.c::1685 ff. have the wrong prototypes: Didn't happen to me: the Info reader compiled cleanly and passed the tests. > In file included from C:/prg/gnu/texinfo/svn/info/terminal.c:1299:0: > C:/prg/gnu/texinfo/svn/info/pcterm.c:1685:11: error: conflicting types > for 'tputs' > int tputs (const char *a, int b, int (*c)(int)) > ^~~~~ > In file included from C:/prg/gnu/texinfo/svn/info/terminal.c:40:0: > C:/msys64/mingw64/include/termcap.h:31:13: note: previous declaration of > 'tputs' was here > extern void tputs (const char *string, int nlines, int (*outfun) (int)); > ^~~~~ > > and once those are fixed, they collide with actual ncurses functions at > link time: > > C:/msys64/mingw64/lib/libncurses.a(lib_termcap.o):(.text+0x870): > multiple definition of `tgetent' > terminal.o:C:/prg/gnu/texinfo/svn/info/pcterm.c:1711: first defined here > C:/msys64/mingw64/lib/libncurses.a(lib_termcap.o):(.text+0x9a0): > multiple definition of `tgetflag' Why is ncurses being linked in? It shouldn't.
