TheGenius22
MIS
Why do i get this error whe trying to install the win32::netpacket module ? Can anyone explain ?
C:\.cpan\build\Win32-NetPacket-0.02>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp NetPacket.pm blib\lib\Win32\NetPacket.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\E
xtUtils\typemap -typemap typemap NetPacket.xs > NetPacket.xsc && C:\Perl\bin\pe
rl.exe -MExtUtils::Command -e mv NetPacket.xsc NetPacket.c
cl -c -I\WPdpack\Include -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -
DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-IC:\Perl\lib\CORE" NetPacket.c
NetPacket.c
\WPdpack\Include\packet32.h(204) : error C2079: 'IPAddress' uses undefined struc
t 'sockaddr_storage'
\WPdpack\Include\packet32.h(205) : error C2079: 'SubnetMask' uses undefined stru
ct 'sockaddr_storage'
\WPdpack\Include\packet32.h(206) : error C2079: 'Broadcast' uses undefined struc
t 'sockaddr_storage'
NetPacket.xs(47) : warning C4013: 'PacketGetNetInfo' undefined; assuming extern
returning int
NetPacket.xs(240) : warning C4244: 'function' : conversion from 'unsigned __int6
4 ' to 'unsigned long ', possible loss of data
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
C:\.cpan\build\Win32-NetPacket-0.02>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp NetPacket.pm blib\lib\Win32\NetPacket.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\E
xtUtils\typemap -typemap typemap NetPacket.xs > NetPacket.xsc && C:\Perl\bin\pe
rl.exe -MExtUtils::Command -e mv NetPacket.xsc NetPacket.c
cl -c -I\WPdpack\Include -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -
DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-IC:\Perl\lib\CORE" NetPacket.c
NetPacket.c
\WPdpack\Include\packet32.h(204) : error C2079: 'IPAddress' uses undefined struc
t 'sockaddr_storage'
\WPdpack\Include\packet32.h(205) : error C2079: 'SubnetMask' uses undefined stru
ct 'sockaddr_storage'
\WPdpack\Include\packet32.h(206) : error C2079: 'Broadcast' uses undefined struc
t 'sockaddr_storage'
NetPacket.xs(47) : warning C4013: 'PacketGetNetInfo' undefined; assuming extern
returning int
NetPacket.xs(240) : warning C4244: 'function' : conversion from 'unsigned __int6
4 ' to 'unsigned long ', possible loss of data
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.