Coin163

首页 > windows xp vc 6.0编译最新net-snmp源码

windows xp vc 6.0编译最新net-snmp源码

相关标签: windows xp xp 源码 windows

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1074

【阿里云】双十一活动,全年抄底价,限时3天!(老用户也有),
入口地址https://www.aliyun.com/1111/home

相关推荐:Windows XP硬盘安装Ubuntu 12.04

原文地址:http://blog.163.com/njut_wangjian/blog/static/1657964252012111665147235/     在安装之前,要做一些准备工作,比如要在硬盘上划出空闲的空间来安装ubuntu、下载好ubuntu镜像文件、grub4dos。分区软件我用的是DiskGenius,这个在网上有,好久之

net-snmp作为开源的snmp协议,是一款snmp协议开发的利器,比较好用,具有跨平台,可定制等特点,但编译很蛋疼,折腾了两天,下面把最简单过程写在下面.

一.安装Microsoft Platform SDK for Windows XP SP2

①.下载很多cab文件和extract.exe以及psk-full.bat,下载地址如下
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.1.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.2.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.3.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.4.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.5.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.6.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.7.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.8.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.9.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.10.cab
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/Extract.exe
http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.bat

相关推荐:Windows XP系列全下载(均为MSDN原版)

正版windows xp sp3 下载大全(附:正版密钥) 微软MSDN Windows XP Professional下载 Windows XP Professional 简体中文 (最原始版本,无SP)【505.63MB】 文件名:CN_WINXP_PRO_ISO.img  大小:530186240字节  SHA1:73800FE8959F40361BAE3A6553CC66D27D78

在这里感谢网友发现的下载地址

②.新建文件夹将下载的文件放入进去,进入下载目录执行命令
psk-full.bat .\setupfiles
其中setupfiles为解压目录
③.开始菜单->Microsoft Platform SDK for Windows XP SP2->Register PSDK Directories with Visual Studio弹出提示后选择是

二.编译net-snmp (编译版本为5.7.3),修改 \win32\net-snmp\目录下的 net-snmp-config.h文件
①.修改版本号
**#ifndef PACKAGE_VERSION
**#define PACKAGE_VERSION “5.7.3”
**#endif
②.#define NETSNMP_USE_DLL 1
③.进入win32目录打开win32dll.dsw
⑤.在vc6中选择bulid->batch build->rebuild all
⑥.编译完成后win32目录下的bin文件夹下应该有20个文件(其中一个为dll)

原文

net-snmp作为开源的snmp协议,是一款snmp协议开发的利器,比较好用,具有跨平台,可定制等特点,但编译很蛋疼,折腾了两天,下面把最简单过程写在下面. 一.安装Microsoft Platform SDK for Windows XP

------分隔线----------------------------