|
From: Ethan A M. <sf...@us...> - 2011-08-24 19:18:12
|
On Tuesday, August 23, 2011 08:49:33 pm Tatsuro MATSUOKA wrote: > > I am now trying to build gnuplot under mingw64 environments. > > I have encountered compile error. > #********************* > x86_64-w64-mingw32-gcc -shared-libgcc -c -I/cygdrive/c/Programs/gplibs64/incl -O3 -I. -I../../src -D_Windows -DHAVE_CONFIG_H -DPIPES -DWGP_CONSOLE -DUSE_ME=1 -DWIN_IPC -DWITH_HTML_HELP -I/cygdrive/c/PROGRA~2/HELPWO~1/include -DHAVEBGD -DHAVE_LIBPNG -DHAVE_GD_GIF -DGIF_ANIMATION -DHAVE_GD_PNG -DHAVE_GD_JPEG AVE_GD_TTF -DHAVE_CAIROPDF -DHAVE_ICONV ../../src/internal.c > ../../src/internal.c:63:1: warning: '_matherr' redeclared without dllimport aibute: previous dllimport ignored > ../../src/internal.c: In function '_matherr': > ../../src/internal.c:64:1: error: number of arguments doesn't match prototype > /usr/x86_64-w64-mingw32/sys-root/mingw/include/math.h:179:23: error: prototypeclaration > make: *** [internal.o] Error 1 > #************************* > > I have attached zipped math.h used this build. > > Any suggestions ? The only way I can see for that error message to make sense is if HAVE_STRUCT_EXCEPTION_IN_MATH_H is not defined. Is the setting in config/config.mgw correct? Ethan > Regards > > Tatsuro |