Hi

I am  trying to use net-snmp open source tool to implement master agent and
subagent model in my one of project.

I am using net-snmp-5.7.2.tar and trying to build for mips target.

and using "gcc.c4.2.1-p5.mips64" as a cross compiler.
Basically like to get snmpd binary file as " ELF 32-bit N32 MSB MIPS32 rel2
shared object, MIPS, version 1 (SYSV), not stripped"

My host m/c is:
#1 SMP Mon Aug 31 11:05:24 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Here is my configure command looks like
./configure  --host=x86-linux --target=mips-linux
--with-cc=gcc.c4.2.1-p5.mips64 --with-ar=mips-linux-ar
--with-endianness=big --disable-debugging --enable-mini-agent
--without-kmem-usage --disable-mib-loading --disable-applications
--disable-manuals --disable-scripts --with-cflags=-Os  --without-openssl
--with-transports=TCP,Unix,Callback --with-out-mib-modules=snmpv3mibs
--disable-embedded-perl --disable-perl-cc-checks --without-perl-modules


But when I run above configure command I am getting below error:

checking if directories need to be created... .
checking default mib files to read...
:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB
checking whether we have to build PIC code... no
*checking for library containing socket... no*
*configure: error: socket(2) not found.*


I dont have any clue on this.

Please help me out to proceed further.

Thanks and regards
Sachin
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to