you are using MSVC... my condolences. at MakefileWriting Makefile for Wifi::WpaCtrl cp pm/WpaCtrl.pm blib\lib\Wifi/WpaCtrl.pm D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6Error: 'const char *' not in typemap in WpaCtrl.xs, line 7 Error: 'const char *' not in typemap in WpaCtrl.xs, line 8 NMAKE : fatal error U1077: 'D:\cpanrun\build\5-6-1\bin\perl.exe' : return code '0x1' Stop. ib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e mv xs/WpaCtrl.xsc xs/WpaCtrl.c