Subject: | make fails on Win32/gcc and MSVC |
perl 5.8.8, gcc, dmake, Windows XP
gcc -Ilibjsonevt -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\"
-o libjsonevt\make_config libjsonevt\make_config.c
libjsonevt\make_config.c:6:22: sys/wait.h: No such file or directory
libjsonevt\make_config.c: In function `do_system_with_redirect':
libjsonevt\make_config.c:42: error: `F_DUPFD' undeclared (first use in
this function)
libjsonevt\make_config.c:42: error: (Each undeclared identifier is
reported only once
libjsonevt\make_config.c:42: error: for each function it appears in.)
libjsonevt\make_config.c:50: warning: passing arg 2 of `execvp' from
incompatible pointer type
dmake.EXE: Error code 129, while making 'libjsonevt\make_config'
(C:\vanilla-perl\dmake\bin\dmake.EXE exited with 65280)
You can find reports for Win32/MSVC here (MSVC does not support C99):
http://ppm4.activestate.com/MSWin32-x86/5.8/818/D/DO/DOWENS/JSON-DWIW-0.28.d/log-20081125T090210.txt
http://ppm4.activestate.com/MSWin32-x86/5.10/1000/D/DO/DOWENS/JSON-DWIW-0.28.d/log-20081125T080313.txt
and Darwin/gcc:
http://ppm4.activestate.com/darwin/5.8/818/D/DO/DOWENS/JSON-DWIW-0.28.d/log-20081125T120143.txt
http://ppm4.activestate.com/darwin/5.10/1000/D/DO/DOWENS/JSON-DWIW-0.28.d/log-20081125T050135.txt
--
Alexandr Ciornii, http://chorny.net