dj@pgxplorer.com writes:
> configure:4848: checking whether the C compiler still works
> configure:4861: gcc -o conftest.exe -O2 -Wall -Wmissing-prototypes
> -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
> -fexcess-precision=standard -I./src/include/port/win32 -DEXEC_BACKEND
> -Wl,--allow-multiple-definition -Wl,--disable-auto-import conftest.c >&5
>
C:/Qt/Qt5.3.1/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o:crtexe.c:(.text+0x2a7):
> undefined reference to `_set_invalid_parameter_handler'
> collect2.exe: error: ld returned 1 exit status
This looks to be the same problem reported in bug #10436:
http://www.postgresql.org/message-id/flat/20140524154250.1403.92643@wrigleys.postgresql.org
According to the mingw bug referenced at the end of that thread, this has
been fixed in mingw. Please see if you can update. If you can't do so
right away, a workaround is to remove -Wl,--disable-auto-import as
discussed in that thread.
regards, tom lane