How to cross-compile net-snmp in cygwin

mmlucky Im <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm trying to cross-compiling net-snmp under cygwin. The target machine is
linux 2.4.26. When I run ./snmpd -c ./snmpd.conf, I got  error:

./snmpd: 131: /usr/bin/sed: not found
./snmpd: 131: /usr/bin/sed: not found
cd: 1: can't cd to /cygdrive/c/..../snmp/agent
eval: 1: arm-linux-gcc: not found

The Configure options I used are:

./configure --with-mib-modules="commsMgr" \
                --disable-applications --with-defaults \
                --disable-manuals \
                --disable-scripts \
                --disable-mibs \
                --disable-debugging \
                --disable-snmptrapd-subagent \
                --host=arm-linux \
                --target=arm-linux \
                --with-endianness=little \
                --disable-mibs  \
                --with-ld=arm-linux-ld  \
                --disable-embedded-perl \
                --without-perl-modules

Can anyone tell me what to fix? Thanks a lot!

Another question is since I disabled perl, can snmpd still read the config
file snmpd.conf? If not, how can I configure snmpd?

Many thanks!

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.