# running Build.PL C:\cpanrun\build\5-10-0\bin\perl.exe Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'IO-Unread' version '1.02' Unknown 'build_class', defaulting to 'Module::Build' Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe Build --makefile_env_macros 1 Copying lib\IO\Unread.pm -> blib\lib\IO\Unread.pm lib\IO\Unread.xs -> lib\IO\Unread.c Generating script 'lib\IO\Unread.ccs' cl -nologo -c @"lib\IO\Unread.ccs" -Fo"lib\IO\Unread.obj" "lib\IO\Unread.c" Unread.c lib\IO\Unread.c(45) : warning C4101: 'RETVAL' : unreferenced local variable lib\IO\Unread.c(79) : error C2065: 'ssize_t' : undeclared identifier lib\IO\Unread.c(79) : error C2146: syntax error : missing ';' before identifier 'RETVAL' lib\IO\Unread.c(79) : error C2065: 'RETVAL' : undeclared identifier lib\IO\Unread.c(80) : error C2275: 'SV' : illegal use of this type as an expression C:\cpanrun\build\5-10-0\lib\CORE\perl.h(2351) : see declaration of 'SV' lib\IO\Unread.c(80) : error C2059: syntax error : 'const' lib\IO\Unread.c(81) : error C2143: syntax error : missing ';' before 'type' lib\IO\Unread.c(82) : error C2275: 'SV' : illegal use of this type as an expression C:\cpanrun\build\5-10-0\lib\CORE\perl.h(2351) : see declaration of 'SV' lib\IO\Unread.c(82) : error C2065: 'str' : undeclared identifier lib\IO\Unread.xs(58) : error C2223: left of '->sv_flags' must point to struct/union lib\IO\Unread.xs(58) : error C2223: left of '->sv_any' must point to struct/union lib\IO\Unread.xs(58) : error C2223: left of '->sv_u' must point to struct/union lib\IO\Unread.xs(58) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int ' lib\IO\Unread.xs(58) : warning C4024: 'Perl_sv_2pv_flags' : different types for formal and actual parameter 2 lib\IO\Unread.xs(59) : error C2065: 'io' : undeclared identifier lib\IO\Unread.xs(59) : warning C4047: 'function' : 'struct _PerlIO ** ' differs in levels of indirection from 'int ' lib\IO\Unread.xs(59) : warning C4024: 'Perl_PerlIO_unread' : different types for formal and actual parameter 2 lib\IO\Unread.c(99) : error C2065: 'targ' : undeclared identifier lib\IO\Unread.c(99) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int ' lib\IO\Unread.c(99) : warning C4024: 'Perl_sv_setiv' : different types for formal and actual parameter 2 lib\IO\Unread.c(99) : error C2223: left of '->sv_flags' must point to struct/union lib\IO\Unread.c(99) : warning C4047: 'function' : 'struct sv *' differs in levels of indirection from 'int ' lib\IO\Unread.c(99) : warning C4024: 'Perl_mg_set' : different types for formal and actual parameter 2 lib\IO\Unread.c(99) : warning C4047: '=' : 'struct sv *' differs in levels of indirection from 'int ' error building dll file from 'lib\IO\Unread.c' at C:/cpanrun/build/5-10-0/lib/ExtUtils/CBuilder/Platform/Windows.pm line 143. NMAKE : fatal error U1077: 'C:\cpanrun\build\5-10-0\bin\perl.exe' : return code '0x2' Stop.