Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Errors installing modules

Status
Not open for further replies.
May 3, 2003
90
CA
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.
 
I installed winpcap 3.1 beta 3
I also have the 3.0

I will uninstall the 3.1 and install the 3.0 and try it.

Thanks,
 
Thanks arcnon,

i d/l the winpcap 3.0 exe and dev versions and was able to install the win32::netpacket module.

Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top