in reply to Re^15: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
in thread XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
Turns out that gcc-3.4.5 also doesn't have the timespec structure, so I just changed line 143 to:/* Visual C++ 2013 and older don't have the timespec structure */ # if defined(MSC_VER) && _MSC_VER < 1900
which is not a portable solution, but is good enough to get the job done if the version of gcc is 3.4.5.# if defined(_WIN32)
Anyway, List::MoreUtils::XS-0.428 builds and tests fine on my gcc-3.4.5 built perl-5.32.0.Updated (ie checked and corrected): #if (defined(MSC_VER) && _MSC_VER < 1900) || (defined(__MINGW32__) && +__GNUC__ < 4)
Test Summary Report ------------------- porting/pod_rules.t (Wsta +t: 0 Tests: 8 Failed: 1) Failed test: 2 porting/regen.t (Wsta +t: 65280 Tests: 13 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 45 tests but ran 13. ../cpan/IO-Compress/t/105oneshot-gzip.t (Wsta +t: 256 Tests: 239 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 1007 tests but ran 239. ../ext/IPC-Open3/t/IPC-Open3.t (Wsta +t: 0 Tests: 45 Failed: 0) TODO passed: 25 ../ext/XS-APItest/t/call_checker.t (Wsta +t: 256 Tests: 78 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=2678, Tests=1148685, 2459 wallclock secs (71.23 usr + 4.68 sys += 75.91 CPU) Result: FAIL dmake: Error code 130, while making 'test'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
by rgren925 (Beadle) on Aug 18, 2020 at 20:45 UTC | |
by syphilis (Archbishop) on Aug 19, 2020 at 01:32 UTC | |
by syphilis (Archbishop) on Aug 19, 2020 at 05:17 UTC |