Re: Question on compile error Win32

59 views
Skip to first unread message

Manu Garg

unread,
Nov 15, 2017, 1:33:36 AM11/15/17
to Chris Tomasso, pacp...@googlegroups.com

On Tue, Nov 14, 2017 at 3:22 PM, Manu Garg <manu...@gmail.com> wrote:
Pacparser doesn't build for python 3 on Windows, due to broken MingGW support. I tried some time back[1], not sure if that problem is fixed now. 

But, rest of the build should work. This is our appveyor setup:

On Mon, Nov 13, 2017 at 7:42 PM, Chris Tomasso <cardn...@gmail.com> wrote:
I'm following the win32 compile instructions you have here (https://github.com/pacparser/pacparser/blob/master/README.win32)

I've enclosed screen captures showing my folder structure, system environment variables, and the options I picked during the MiniGW setup. I downloaded python 3.6.3 from the website since the readme didn't specify python 2.x v.s 3.x.

I'm getting the following when attempting to run step 8 and am not sure how to proceed. Any help is appreciated.

c:\workspace\pacparser-1.3.7>make -C src -f Makefile.win32 dist
make: Entering directory 'c:/workspace/pacparser-1.3.7/src'
make -C spidermonkey -f Makefile.win32
make[1]: Entering directory 'c:/workspace/pacparser-1.3.7/src/spidermonkey'
gcc.exe -D_IEEE_LIBM -DEXPORT_JS_API -DWIN32 -D_MINGW -D_WINDOWS -DXP_WIN -s   -c -o js/src/jsnum.o js/src/jsnum.c
js/src/jsnum.c: In function 'js_InitRuntimeNumberState':
js/src/jsnum.c:531:30: error: 'MCW_EM' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                              ^
js/src/jsnum.c:549:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c:531:30: note: each undeclared identifier is reported only once for each function it appears in
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                              ^
js/src/jsnum.c:549:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c:531:39: error: 'PC_53' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                                       ^
js/src/jsnum.c:549:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c:531:55: error: 'MCW_PC' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                                                       ^
js/src/jsnum.c:549:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c: In function 'js_InitNumberClass':
js/src/jsnum.c:531:30: error: 'MCW_EM' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                              ^
js/src/jsnum.c:613:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c:531:39: error: 'PC_53' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                                       ^
js/src/jsnum.c:613:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
js/src/jsnum.c:531:55: error: 'MCW_PC' undeclared (first use in this function)
 #define FIX_FPU() _control87(MCW_EM | PC_53, MCW_EM | MCW_PC)
                                                       ^
js/src/jsnum.c:613:5: note: in expansion of macro 'FIX_FPU'
     FIX_FPU();
     ^~~~~~~
<builtin>: recipe for target 'js/src/jsnum.o' failed
make[1]: *** [js/src/jsnum.o] Error 1
make[1]: Leaving directory 'c:/workspace/pacparser-1.3.7/src/spidermonkey'
Makefile.win32:37: recipe for target 'js.lib' failed
make: *** [js.lib] Error 2
make: Leaving directory 'c:/workspace/pacparser-1.3.7/src'

c:\workspace\pacparser-1.3.7>



--
Manu Garg
Creator of Page Notes & Pacparser
"Journey is the destination of life."



--
Manu Garg
Creator of Page Notes & Pacparser
"Journey is the destination of life."
Reply all
Reply to author
Forward
0 new messages