I found the generated /snmp/agent/snmpd is a script file, which says:
# snmpd - temporary wrapper script for .libs/snmpd
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30
06:40:56).
While under /snmp/agent/.libs/ there are generated library files and a snmpd
image file which can't be
run seperately on target machine.
Looks like the final snmpd isn't generated. Does any one know what might be
the cause?
Thanks!
On Thu, Feb 12, 2009 at 3:17 PM, mmlucky Im <[email protected]> wrote:
> 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