Netsnmp agent 5.3.1 is not compiled

This is a discussion on Netsnmp agent 5.3.1 is not compiled within the SNMP Coders forums, part of the Networking and Network Related category; Hi All, I have tried with netsnmp agent 5.3.1( not with binary files) and also I have installed ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-04-2006
Ravikumar
 
Posts: n/a
Default Netsnmp agent 5.3.1 is not compiled

Hi All,

I have tried with netsnmp agent 5.3.1( not with binary files) and also
I have installed the related s/w perl, openssl and MSVisiual 6.0 for
installing snmp agent in windows operting system.

I am following the instructions which are given in the README.win32.

The steps I have followed are
i) Extract the netsnmp5.3.1.tar.gz
ii) Open the command prompt with Visual studio and run the VCVARS32.bat
to set the Visual studio path
iii) Now excute
perl Configure --with-sdk --with-ssl --config=debug --prefix="c:/usr"
--with-ipv6

And getting the summary as

---------------------------------------------------------
Net-SNMP configuration summary:
---------------------------------------------------------

Config type: debug
SDK: enabled
Link type: static
Prefix / Destdir: c:/usr
OpenSSL: enabled
IPv6 enabled

iv) excute
nmake clean
nmake

while doing nmake I have got the following error

...\..\snmplib\snmpTCPDomain.c(6) : fatal error C1083: Cannot open
include file: 'sys/socket.h': No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return code '0x2'
Stop.

I believe that the above error is thrown because of the sys/socket.h
may not be avialable in the windows PC.

Any thoughts will be highly appreciated.

Please help to resolve this issue.

Thanks
Ravikumar

Reply With Quote
  #2 (permalink)  
Old 12-05-2006
Ravikumar
 
Posts: n/a
Default Re: Netsnmp agent 5.3.1 is not compiled

Hi All,

I have searched in Visual VC++ and "sys/socket.h " is not available.
They recomment that use winsockets files for windows instead of
sys/socket. (sys/socket.h is unix based sockets and its corresponding
windows socket is winsockets.h). Is there any changes are required to
install in windows. I tried with win32 package.


Is there any library or dll is required to set in the classpath before
installing the netsnmp agent. If so, please guide me to come out from
this issue.

Thanks in Advance

Look forward your valuable thoughts.

Ravikumar

Ravikumar wrote:
> Hi All,
>
> I have tried with netsnmp agent 5.3.1( not with binary files) and also
> I have installed the related s/w perl, openssl and MSVisiual 6.0 for
> installing snmp agent in windows operting system.
>
> I am following the instructions which are given in the README.win32.
>
> The steps I have followed are
> i) Extract the netsnmp5.3.1.tar.gz
> ii) Open the command prompt with Visual studio and run the VCVARS32.bat
> to set the Visual studio path
> iii) Now excute
> perl Configure --with-sdk --with-ssl --config=debug --prefix="c:/usr"
> --with-ipv6
>
> And getting the summary as
>
> ---------------------------------------------------------
> Net-SNMP configuration summary:
> ---------------------------------------------------------
>
> Config type: debug
> SDK: enabled
> Link type: static
> Prefix / Destdir: c:/usr
> OpenSSL: enabled
> IPv6 enabled
>
> iv) excute
> nmake clean
> nmake
>
> while doing nmake I have got the following error
>
> ..\..\snmplib\snmpTCPDomain.c(6) : fatal error C1083: Cannot open
> include file: 'sys/socket.h': No such file or directory
> NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> return code '0x2'
> Stop.
>
> I believe that the above error is thrown because of the sys/socket.h
> may not be avialable in the windows PC.
>
> Any thoughts will be highly appreciated.
>
> Please help to resolve this issue.
>
> Thanks
> Ravikumar


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0