Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: 'Netapi32.lib' Writing Makefile for Win32::Net::Session cp Session.pm blib/lib/Win32/Net/Session.pm AutoSplitting blib/lib/Win32/Net/Session.pm (blib/lib/auto/Win32/Net/Session) /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap Session.xs > Session.xsc && mv Session.xsc Session.c Please specify prototyping behavior for Session.xs (see perlxs manual) gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Session.c Session.xs:6:22: Session.xs:6:22:error: windows.h: No such file or directoryerror: windows.h: No such file or directory Session.xs:9:16: Session.xs:9:16:error: Lm.h: No such file or directoryerror: Lm.h: No such file or directory Session.xs:28: error: parse error before 'GetLevel' Session.xs:28: error: parse error before 'GetLevel' Session.xs: In function 'GetLevel': Session.xs:33: error: 'DWORD' undeclared (first use in this function) Session.xs: In function 'GetLevel':Session.xs:33: error: (Each undeclared identifier is reported only once Session.xs:33: error: 'DWORD' undeclared (first use in this function)Session.xs:33: error: for each function it appears in.) Session.xs:33: error: (Each undeclared identifier is reported only once Session.xs:33: error: for each function it appears in.)Session.xs:33: error: parse error before numeric constant Session.xs:33: error: parse error before numeric constant Session.xs:35: error: parse error before numeric constant Session.xs:35: error: parse error before numeric constant Session.xs:37: error: parse error before numeric constant Session.xs:37: error: parse error before numeric constant Session.xs:39: error: parse error before numeric constant Session.xs:39: error: parse error before numeric constant Session.xs:41: error: parse error before numeric constant Session.xs:41: error: parse error before numeric constant Session.xs: At top level: Session.xs:49: error: parse error before 'DWORD' Session.xs: At top level: Session.xs:49: error: parse error before 'DWORD' Session.xs: In function 'GetUserFlag': Session.xs:51: error: 'flag' undeclared (first use in this function) Session.xs: In function 'GetUserFlag':Session.xs:51: error: 'SESS_GUEST' undeclared (first use in this function) Session.xs:51: error: 'flag' undeclared (first use in this function) Session.xs:52: error: 't' undeclared (first use in this function) Session.xs:51: error: 'SESS_GUEST' undeclared (first use in this function) Session.xs:52: error: 't' undeclared (first use in this function) Session.xs:53: error: 'SESS_NOENCRYPTION' undeclared (first use in this function) Session.xs:53: error: 'SESS_NOENCRYPTION' undeclared (first use in this function) Session.xs: At top level: Session.xs:60: error: parse error before 'LPBYTE' Session.xs: At top level: Session.xs:60: error: parse error before 'LPBYTE' Session.xs: In function 'store_hv': Session.xs:64: error: 'dwLevel' undeclared (first use in this function) Session.xs: In function 'store_hv': Session.xs:66: error: 'LPSESSION_INFO_0' undeclared (first use in this function) Session.xs:64: error: 'dwLevel' undeclared (first use in this function) Session.xs:66: error: parse error before 'pSi0' Session.xs:66: error: 'LPSESSION_INFO_0' undeclared (first use in this function) Session.xs:66: error: parse error before 'pSi0' Session.xs:69: error: 'hv' undeclared (first use in this function) Session.xs:72: error: 'pSi0' undeclared (first use in this function) Session.xs:69: error: 'hv' undeclared (first use in this function) Session.xs:80: error: 'LPSESSION_INFO_1' undeclared (first use in this function) Session.xs:72: error: 'pSi0' undeclared (first use in this function) Session.xs:80: error: parse error before 'pSi1' Session.xs:86: error: 'pSi1' undeclared (first use in this function) Session.xs:80: error: 'LPSESSION_INFO_1' undeclared (first use in this function) Session.xs:80: error: parse error before 'pSi1' Session.xs:86: error: 'pSi1' undeclared (first use in this function) Session.xs:125: error: 'LPSESSION_INFO_2' undeclared (first use in this function) Session.xs:125: error: parse error before 'pSi2' Session.xs:131: error: 'pSi2' undeclared (first use in this function) Session.xs:125: error: 'LPSESSION_INFO_2' undeclared (first use in this function) Session.xs:125: error: parse error before 'pSi2' Session.xs:131: error: 'pSi2' undeclared (first use in this function) Session.xs:176: error: 'LPSESSION_INFO_10' undeclared (first use in this function) Session.xs:176: error: parse error before 'pSi10' Session.xs:182: error: 'pSi10' undeclared (first use in this function) Session.xs:176: error: 'LPSESSION_INFO_10' undeclared (first use in this function) Session.xs:176: error: parse error before 'pSi10' Session.xs:182: error: 'pSi10' undeclared (first use in this function) Session.xs:207: error: 'LPSESSION_INFO_502' undeclared (first use in this function) Session.xs:207: error: parse error before 'pSi502' Session.xs:213: error: 'pSi502' undeclared (first use in this function) Session.xs:207: error: 'LPSESSION_INFO_502' undeclared (first use in this function) Session.xs:207: error: parse error before 'pSi502' Session.xs:213: error: 'pSi502' undeclared (first use in this function) Session.xs: At top level: Session.xs:264: error: parse error before 'nStatus' Session.xs: In function 'getError': Session.xs:266: error: 'nStatus' undeclared (first use in this function) Session.xs:268: error: 'NERR_InvalidComputer' undeclared (first use in this function) Session.xs:271: error: 'NERR_Success' undeclared (first use in this function) Session.xs:273: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function) Session.xs:276: error: 'ERROR_INVALID_PARAMETER' undeclared (first use in this function) Session.xs:279: error: 'ERROR_NOT_ENOUGH_MEMORY' undeclared (first use in this function) Session.xs:282: error: 'NERR_ClientNameNotFound' undeclared (first use in this function) Session.xs: At top level: Session.xs:264: error: parse error before 'nStatus'Session.xs:285: error: 'NERR_UserNotFound' undeclared (first use in this function) Session.xs:288: error: 'ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function) Session.xs: In function 'getError': Session.xs:266: error: 'nStatus' undeclared (first use in this function) Session.xs:291: error: 'ERROR_INVALID_FLAGS' undeclared (first use in this function) Session.xs:268: error: 'NERR_InvalidComputer' undeclared (first use in this function) Session.xs:294: error: 'ERROR_NO_UNICODE_TRANSLATION' undeclared (first use in this function) Session.xs:271: error: 'NERR_Success' undeclared (first use in this function) Session.xs:273: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function) Session.xs:276: error: 'ERROR_INVALID_PARAMETER' undeclared (first use in this function) Session.xs:279: error: 'ERROR_NOT_ENOUGH_MEMORY' undeclared (first use in this function) Session.xs:282: error: 'NERR_ClientNameNotFound' undeclared (first use in this function) Session.xs:285: error: 'NERR_UserNotFound' undeclared (first use in this function) Session.xs:288: error: 'ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function) Session.xs:291: error: 'ERROR_INVALID_FLAGS' undeclared (first use in this function) Session.xs:294: error: 'ERROR_NO_UNICODE_TRANSLATION' undeclared (first use in this function) Session.xs: In function 'XS_Win32__Net__Session_GetSessionInfos': Session.xs:317: error: 'DWORD' undeclared (first use in this function) Session.xs:317: error: parse error before 'dwLevel' Session.xs:325: error: 'LPBYTE' undeclared (first use in this function) Session.xs:325: error: 'bufptr' undeclared (first use in this function) Session.xs:326: error: 'pTmpBuf' undeclared (first use in this function) Session.xs:328: error: parse error before 'i' Session.xs:330: error: 'NET_API_STATUS' undeclared (first use in this function) Session.xs:330: error: parse error before 'nStatus' Session.xs: In function 'XS_Win32__Net__Session_GetSessionInfos':Session.xs:336: error: 'LPSESSION_INFO_0' undeclared (first use in this function) Session.xs:317: error: 'DWORD' undeclared (first use in this function) Session.xs:337: error: 'LPSESSION_INFO_1' undeclared (first use in this function) Session.xs:317: error: parse error before 'dwLevel' Session.xs:338: error: 'LPSESSION_INFO_2' undeclared (first use in this function) Session.xs:339: error: 'LPSESSION_INFO_10' undeclared (first use in this function) Session.xs:340: error: 'LPSESSION_INFO_502' undeclared (first use in this function) Session.xs:325: error: 'LPBYTE' undeclared (first use in this function) Session.xs:325: error: 'bufptr' undeclared (first use in this function) Session.xs:326: error: 'pTmpBuf' undeclared (first use in this function) Session.xs:328: error: parse error before 'i' Session.xs:330: error: 'NET_API_STATUS' undeclared (first use in this function) Session.xs:330: error: parse error before 'nStatus' Session.xs:353: error: 'CP_OEMCP' undeclared (first use in this function)Session.xs:336: error: 'LPSESSION_INFO_0' undeclared (first use in this function) Session.xs:337: error: 'LPSESSION_INFO_1' undeclared (first use in this function) Session.xs:338: error: 'LPSESSION_INFO_2' undeclared (first use in this function) Session.xs:354: error: 'GMEM_ZEROINIT' undeclared (first use in this function) Session.xs:339: error: 'LPSESSION_INFO_10' undeclared (first use in this function) Session.xs:340: error: 'LPSESSION_INFO_502' undeclared (first use in this function) Session.xs:353: error: 'CP_OEMCP' undeclared (first use in this function) Session.xs:375: error: 'dwLevel' undeclared (first use in this function) Session.xs:354: error: 'GMEM_ZEROINIT' undeclared (first use in this function) Session.xs:380: error: 'nStatus' undeclared (first use in this function) Session.xs:380: error: parse error before ')' token Session.xs:380: error: 'pSi0' undeclared (first use in this function) Session.xs:380: error: 'dwPrefMaxLen' undeclared (first use in this function) Session.xs:380: error: 'dwEntriesRead' undeclared (first use in this function) Session.xs:380: error: 'dwTotalEntries' undeclared (first use in this function) Session.xs:380: error: 'dwResumeHandle' undeclared (first use in this function) Session.xs:381: error: parse error before ')' token Session.xs:384: error: 'LPWSTR' undeclared (first use in this function) Session.xs:384: error: parse error before 'ServerName' Session.xs:385: error: parse error before ')' tokenSession.xs:375: error: 'dwLevel' undeclared (first use in this function) Session.xs:388: error: parse error before 'ServerName' Session.xs:380: error: 'nStatus' undeclared (first use in this function) Session.xs:389: error: parse error before ')' token Session.xs:380: error: parse error before ')' token Session.xs:380: error: 'pSi0' undeclared (first use in this function) Session.xs:392: error: parse error before 'ServerName' Session.xs:380: error: 'dwPrefMaxLen' undeclared (first use in this function) Session.xs:393: error: parse error before ')' token Session.xs:380: error: 'dwEntriesRead' undeclared (first use in this function) Session.xs:380: error: 'dwTotalEntries' undeclared (first use in this function)Session.xs:396: error: parse error before 'ServerName' Session.xs:380: error: 'dwResumeHandle' undeclared (first use in this function) Session.xs:397: error: parse error before ')' token Session.xs:381: error: parse error before ')' token Session.xs:400: error: 'NERR_Success' undeclared (first use in this function) Session.xs:384: error: 'LPWSTR' undeclared (first use in this function) Session.xs:400: error: 'ERROR_MORE_DATA' undeclared (first use in this function) Session.xs:384: error: parse error before 'ServerName' Session.xs:385: error: parse error before ')' tokenSession.xs:406: error: 'i' undeclared (first use in this function) Session.xs:388: error: parse error before 'ServerName' Session.xs:389: error: parse error before ')' token Session.xs:392: error: parse error before 'ServerName' Session.xs:393: error: parse error before ')' token Session.xs:396: error: parse error before 'ServerName' Session.xs:397: error: parse error before ')' token Session.xs:400: error: 'NERR_Success' undeclared (first use in this function) Session.xs:400: error: 'ERROR_MORE_DATA' undeclared (first use in this function) Session.xs:406: error: 'i' undeclared (first use in this function) Session.xs:424: error: parse error before ')' token Session.xs:432: error: 'pSi1' undeclared (first use in this function) Session.xs:433: error: parse error before ')' token Session.xs:424: error: parse error before ')' token Session.xs:441: error: 'pSi2' undeclared (first use in this function) Session.xs:442: error: parse error before ')' token Session.xs:432: error: 'pSi1' undeclared (first use in this function) Session.xs:433: error: parse error before ')' token Session.xs:441: error: 'pSi2' undeclared (first use in this function) Session.xs:442: error: parse error before ')' token Session.xs:450: error: 'pSi502' undeclared (first use in this function) Session.xs:451: error: parse error before ')' token Session.xs:450: error: 'pSi502' undeclared (first use in this function) Session.xs:451: error: parse error before ')' token Session.xs:459: error: 'pSi10' undeclared (first use in this function) Session.xs:460: error: parse error before ')' token Session.xs:463: error: 'dwTotalCount' undeclared (first use in this function) Session.xs:459: error: 'pSi10' undeclared (first use in this function) Session.xs:473: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) Session.xs:460: error: parse error before ')' tokenSession.xs:473: error: 'FORMAT_MESSAGE_IGNORE_INSERTS' undeclared (first use in this function) Session.xs:463: error: 'dwTotalCount' undeclared (first use in this function) Session.xs:473: error: 'LPTSTR' undeclared (first use in this function) Session.xs:473: error: parse error before 'wszMsgBuff' Session.xs:473: error: 'FORMAT_MESSAGE_FROM_SYSTEM' undeclared (first use in this function) Session.xs:473: error: 'FORMAT_MESSAGE_IGNORE_INSERTS' undeclared (first use in this function) Session.xs:473: error: 'LPTSTR' undeclared (first use in this function) Session.xs:473: error: parse error before 'wszMsgBuff' lipo: can't open input file: /var/tmp//ccn5A9zm.out (No such file or directory) make: *** [Session.o] Error 1