Michael Jäger
2010-09-27 12:28:23 UTC
I downloaded a net-snmp-5.5.zip and extracted it in a msys folder.
When following the introduction on the net-snmp page I get confused.
Configure net-snmp using the configure flags as shown:
BASEDIR=c:/usr
./configure --prefix="$BASEDIR" \
--with-mibdirs="$BASEDIR/share/snmp/mibs" \
--with-mib-modules="agentx disman/event-mib examples/example" \
--disable-embedded-perl --without-perl-modules \
Do I have to configure the net-snmp.zip content or do I have to configure
the installed stuff on windows, since Im assigning my windows netsnmp
installation folder to BASEDIR.
Nevertheless, when configuring Im getting and error which makes following
make not possible:
checking for nlist in -lelf...no
checking for library containing socket... no
configure: error: socket(2) not found.
Sorry for bothering you Bart, but Im pretty clueless about those things.
Cheers and regards
Michael
Von: ***@gmail.com [mailto:***@gmail.com] Im Auftrag
von Bart Van Assche
Gesendet: Montag, 27. September 2010 12:46
An: Michael Jäger
Betreff: Re: Net SNMP Application Development using Eclipse
On Mon, Sep 27, 2010 at 12:40 PM, Michael Jäger <***@hs-owl.de>
wrote:
Hello Bart,
thank you for your fast reply.
Can you tell me how to change the MSCV header to the Unix header? Im not
sure how to recognize that it is that kind of error, but Im not familiar
with eclipse.
I only have one net-snmp-config.h files on my pc. It is located in
C:\Net-SNMP\usr\include
Could you tell me a little bit more please?
Hello Michael,
You should remove the currently installed Net-SNMP headers, download the
appropriate Net-SNMP source tar archive, open a MinGW/MSYS shell, extract
the Net-SNMP tar archive, configure it (./configure ...), build and install
it (make && make install). Then you will have MinGW-compatible Net-SNMP
headers available in the location that was specified via --prefix=...
Please send further questions to the Net-SNMP coders list such that the
other Net-SNMP maintainers also can have a look at them.
Bart.
When following the introduction on the net-snmp page I get confused.
Configure net-snmp using the configure flags as shown:
BASEDIR=c:/usr
./configure --prefix="$BASEDIR" \
--with-mibdirs="$BASEDIR/share/snmp/mibs" \
--with-mib-modules="agentx disman/event-mib examples/example" \
--disable-embedded-perl --without-perl-modules \
Do I have to configure the net-snmp.zip content or do I have to configure
the installed stuff on windows, since Im assigning my windows netsnmp
installation folder to BASEDIR.
Nevertheless, when configuring Im getting and error which makes following
make not possible:
checking for nlist in -lelf...no
checking for library containing socket... no
configure: error: socket(2) not found.
Sorry for bothering you Bart, but Im pretty clueless about those things.
Cheers and regards
Michael
Von: ***@gmail.com [mailto:***@gmail.com] Im Auftrag
von Bart Van Assche
Gesendet: Montag, 27. September 2010 12:46
An: Michael Jäger
Betreff: Re: Net SNMP Application Development using Eclipse
On Mon, Sep 27, 2010 at 12:40 PM, Michael Jäger <***@hs-owl.de>
wrote:
Hello Bart,
thank you for your fast reply.
Can you tell me how to change the MSCV header to the Unix header? Im not
sure how to recognize that it is that kind of error, but Im not familiar
with eclipse.
I only have one net-snmp-config.h files on my pc. It is located in
C:\Net-SNMP\usr\include
Could you tell me a little bit more please?
Hello Michael,
You should remove the currently installed Net-SNMP headers, download the
appropriate Net-SNMP source tar archive, open a MinGW/MSYS shell, extract
the Net-SNMP tar archive, configure it (./configure ...), build and install
it (make && make install). Then you will have MinGW-compatible Net-SNMP
headers available in the location that was specified via --prefix=...
Please send further questions to the Net-SNMP coders list such that the
other Net-SNMP maintainers also can have a look at them.
Bart.