Bart,

I tried to build with the same Net-Snmp options as yourself. My set up 
details are a bit different as follows:

WIndows XP Professional SP3, Visual Studio 2008, Active Perl version 
5.10.0 Build 1005.

The output from the build is shown below (for build 5.7). As you can see 
there is a build error when building the perl modules. I have built both 
with the NetSNMP.xs file present or deleted. In both cases the build error 
is  the same and is shown belows. If I disable options 5 and 6 it builds 
OK.

Net-SNMP build and install options
==================================

1.  OpenSSL support:                disabled
2.  Platform SDK support:           enabled

3.  Install path:                   c:/usr
4.  Install after build:            enabled

5.  Perl modules:                   enabled
6.  Install perl modules:           enabled

7.  Quiet build (logged):           enabled
8.  Debug mode:                     disabled

9.  IPv6 transports (requires SDK): enabled
10. winExtDLL agent (requires SDK): enabled

11. Link type:                      dynamic

12. Install development files       enabled

F.  Finished - start build
Q.  Quit - abort build

Select option to set / toggle: f

Building...

Creating *.out log files.

Deleting old log files...
Running Configure...
Cleaning...
Building main package...
Cleaning Perl....
Building Perl modules...
Build error (see perlmake.out) at build.pl line 250, <> line 8.


perlmake.out
cp ASN.pm ..\blib\lib\NetSNMP\ASN.pm
AutoSplitting ..\blib\lib\NetSNMP\ASN.pm (..\blib\lib\auto\NetSNMP\ASN)
        C:\Perl\bin\perl.EXE C:\Perl\lib\ExtUtils\xsubpp -prototypes 
-typemap C:\Perl\lib\ExtUtils\typemap  ASN.xs > ASN.xsc && 
C:\Perl\bin\perl.EXE -MExtUtils::Command -e mv ASN.xsc ASN.c
        cl -c  -IR:\cots\net-snmp\net-snmp-5.7\include\ 
-IR:\cots\net-snmp\net-snmp-5.7\include\net-snmp\ 
-IR:\cots\net-snmp\net-snmp-5.7\win32\  -nologo -GF -W3 -MD -Zi -DNDEBUG 
-O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE 
-DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"5.07\" 
 -DXS_VERSION=\"5.07\"  "-IC:\Perl\lib\CORE"  -DMSVC_PERL 
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS ASN.c
ASN.c
R:\cots\net-snmp\net-snmp-5.7\include\net-snmp/library/snmp_transport.h(74) 
: error C2079: 'sin6' uses undefined struct 'sockaddr_in6'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.


-----------------------------------------------
This email and any attached files contains company confidential information 
which may be legally privileged.  it is intended only for the person(s) or 
entity to which it is addressed and solely for the purposes set forth therein.  
If you are not the intended recipient or have received this email in error 
please notify the sender by return, delete it from your system and destroy any 
local copies.  It is strictly forbidden to use the information in this email 
including any attachment or part thereof including copying, disclosing, 
distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common 
law) for damage or breach arising or related to this email including but not 
limited to viruses and libel.
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to