Re: How to cross-compile net-snmp in cygwin

2009-02-18 Thread Dave Shield
2009/2/18 John Anderson : > How do you use make install when you are cross-compiling and the target is > on another machine? $ ./configure --help --with-install-prefix=PATH Just for installing, prefix all directories with PATH. Dave ---

Re: How to cross-compile net-snmp in cygwin

2009-02-18 Thread John Anderson
> > 2009/2/13 mmlucky Im : >> Thanks Dave. I ran "make install", but I didn't see an executable snmpd >> under /agent. > > No - the point of "make install" is to install the software (including the > agent binary) into the configured destination . You should look for > it there, not in the 'agen

Re: How to cross-compile net-snmp in cygwin

2009-02-16 Thread mmlucky Im
Thanks Dave. I'm using static link now. Looks like it's working. But I'm having some other problems, and I'll start another thread asking about it. On Mon, Feb 16, 2009 at 12:39 AM, Dave Shield wrote: >[ First - *please* don't mail me privately, without copying > any responses to the mail

Re: How to cross-compile net-snmp in cygwin

2009-02-16 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/2/

Re: How to cross-compile net-snmp in cygwin

2009-02-13 Thread John Anderson
snmp-users@lists.sourceforge.net Subject: Re: How to cross-compile net-snmp in cygwin 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 u

Re: How to cross-compile net-snmp in cygwin

2009-02-13 Thread Dave Shield
2009/2/13 mmlucky Im : > 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

Re: How to cross-compile net-snmp in cygwin

2009-02-13 Thread mmlucky Im
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

How to cross-compile net-snmp in cygwin

2009-02-13 Thread mmlucky Im
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 T