Checking if your kit is complete... Looks good Writing Makefile for ReadDir cp ReadDir.pm blib\lib\ReadDir.pm D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib D:\cpanrun\build\5-6-1\lib\ExtUtils/xsubpp -typemap D:\cpanrun\build\5-6-1\lib\ExtUtils\typemap ReadDir.xs > ReadDir.xsc && D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e mv ReadDir.xsc ReadDir.c cl -c -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -Zi -DNDEBUG -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -ID:\cpanrun\build\5-6-1\lib\CORE ReadDir.c ReadDir.c ReadDir.xs(23) : warning C4133: '=' : incompatible types - from 'struct direct *' to 'struct dirent *' ReadDir.xs(24) : error C2037: left of 'd_name' specifies undefined struct/union 'dirent' ReadDir.xs(24) : error C2198: 'Perl_newSVpv' : too few actual parameters ReadDir.xs(25) : error C2037: left of 'd_ino' specifies undefined struct/union 'dirent' ReadDir.xs(25) : error C2198: 'Perl_newSViv' : too few actual parameters ReadDir.xs(26) : error C2037: left of 'd_type' specifies undefined struct/union 'dirent' ReadDir.xs(26) : error C2198: 'Perl_newSViv' : too few actual parameters ReadDir.xs(48) : warning C4133: '=' : incompatible types - from 'struct direct *' to 'struct dirent *' ReadDir.xs(50) : error C2037: left of 'd_name' specifies undefined struct/union 'dirent' ReadDir.xs(50) : error C2037: left of 'd_name' specifies undefined struct/union 'dirent' ReadDir.xs(50) : error C2198: 'strlen' : too few actual parameters ReadDir.xs(50) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'unsigned int ' ReadDir.xs(50) : warning C4024: 'Perl_hv_store' : different types for formal and actual parameter 3 ReadDir.xs(50) : error C2037: left of 'd_ino' specifies undefined struct/union 'dirent' ReadDir.xs(50) : error C2198: 'Perl_newSViv' : too few actual parameters ReadDir.xs(50) : warning C4047: 'function' : 'unsigned long ' differs in levels of indirection from 'struct sv *' ReadDir.xs(50) : warning C4024: 'Perl_hv_store' : different types for formal and actual parameter 4 ReadDir.xs(50) : error C2198: 'Perl_hv_store' : too few actual parameters