Log in

View Full Version : [SOLVED] Problem with auto(re)conf under Windows 7 x64


filler56789
4th June 2016, 13:44
When I used Windows XP Pro (32-bits), I never had a problem with compiling (ff)dcaenc (https://github.com/filler56789/ffdcaenc-2) thru MSYS+MinGW-w64,
but now that I've finally switched to Windows 7 (64-bits), this is what I get:

$ autoreconf -f -i -v
0 [main] perl 1616 fork_copy: linked dll data/bss pass 0 failed, 0x343000..0x343434, done 0, windows pid 1068, Win32 error 487
5044092 [main] perl 1616 fork_copy: linked dll data/bss pass 0 failed, 0x343000..0x343434, done 0, windows pid 672, Win32 error 487
12296473 [main] perl 1616 fork_copy: linked dll data/bss pass 0 failed, 0x343000..0x343434, done 0, windows pid 2204, Win32 error 487
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
0 [main] perl 2816 fork_copy: linked dll data/bss pass 0 failed, 0x3C3000..0x3C3434, done 0, windows pid 2684, Win32 error 87
5275799 [main] perl 2816 fork_copy: linked dll data/bss pass 0 failed, 0x3C3000..0x3C3434, done 0, windows pid 2056, Win32 error 487
10311775 [main] perl 2816 fork_copy: linked dll data/bss pass 0 failed, 0x3C3000..0x3C3434, done 0, windows pid 2392, Win32 error 487
15508319 [main] perl 2816 fork_copy: linked dll data/bss pass 0 failed, 0x3C3000..0x3C3434, done 0, windows pid 968, Win32 error 487
autoreconf: aclocal terminated by signal: 2

:confused:

LoRd_MuldeR
5th June 2016, 13:27
Looks like fork() is failing in your Cygwin/Mingw environment.

Emulating fork() on the Windows platform is a pretty complex and error-prone endeavor. It requires that all DLL's get loaded to the same memory-location in the new process as in the original process, which Windows doesn't guarantee.

Running the 'autorebase' script (rebaseall) might help in certain circumstances:
http://cygwin.wikia.com/wiki/Rebaseall

See also:
https://www.cygwin.com/faq.html#faq.using.fixing-fork-failures

filler56789
5th June 2016, 16:15
Thanks for chiming in, LoRd_MuldeR :thanks:

The 'rebaseall' trick does not work for everyone, and did not work for me either :–/ For the time being at least, I've managed to setup an MSYS2 environment upon the MinGW toolchain from Nevcairiel's site :thanks: plus fresh builds of the autotools suite. So far, so good :)