RE: Re: Re: Is it impossible to cross-compile net-snmp 5.3.2 with personallibrar

2010-04-18 Thread 생각하기
You can't include them as a library since the base agent won't know what init_ functions to call to start you code. Instead, put your code in the agent/mibgroup directory and use --with-mib-modules="file1 file2" etc to get them to compile in and the init_ routines to be found and used.

Re: Is it impossible to cross-compile net-snmp 5.3.2 with personal librar

2010-04-15 Thread Wes Hardaker
> On Thu, 15 Apr 2010 14:08:09 +0900 (KST), "»ý°¢Çϱâ" > said: b> I make shared library and static library using my source library files. b> and linked them b> but useless... b> It is my install script file You can't include them as a library since the base agent won't know what init

Is it impossible to cross-compile net-snmp 5.3.2 with personal librar

2010-04-14 Thread 생각하기
 I 'm trying to cross-compile net-snmp-5.3.2 with my mib-module and my personal library, not form of agentx but I failed every time. I think that it is a problem of configuration option. I make shared library and static library using my source library files. and linked them

Re: cross compile net-snmp

2010-01-13 Thread Colin Strachan
Jordan, The openSSL library is only required for encryption, if you do not need net-snmp to support encryption you can drop the openssl and encryption references from the configure line. If you do require full V3 encryption support, the method for installing the openssl development files will

Re: cross compile net-snmp

2010-01-08 Thread Colin Strachan
Jordan, You need to use the makefile properly configured for the target. This script builds the 5.4.1agent only for an arm target, tweak to suit your requirements and version. cd net-snmp-5.4.1/ #1 single find command and xargs chokes due to bash line limitation, process sequentially find -nam

cross compile net-snmp

2010-01-08 Thread Jordan Kagan
If I was going to use a cross compiler on net-snmp, how would I do this? I used a gcc compiler for an Arm processor on smpd.c, but it returned a bunch of errors because it couldn't find the includes. Thanks, Jordan -- Th

Re: How to cross compile NET-SNMP

2005-12-31 Thread Hector Oron
Dear Wolfgang,  The code i compiled worked fine. Following your instruccions i have been able to create the rpm packages. So everything is perfect. Thanks for your kindly help and thanks for your valuable information. ¡ Happy New Year !  Héctor OrónOn 12/27/05, Wolfgang Denk <[EMAIL PROTECTED]> wro

Re: How to cross compile NET-SNMP

2005-12-27 Thread Hector Oron
-> ${CROSS_COMPILE}rpmbuild -ba net-snmp.spec [...] checking for correct flags to ps... configure: error: Endianness has been specified, but you are not cross-compiling. error: Bad exit status from /home/otros/hecormar/eldk/var/tmp/rpm-tmp.50809 (%build) RPM build errors:     Bad exit status from

Re: How to cross compile NET-SNMP

2005-12-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I have tried ELDK net-snmp binaries, i have added all missing shared libs, > and i get: > > / # snmpd -H > snmpd: error in loading shared libraries > /lib/libm.so.6: undefined symbol: __sim_disabled_exceptions > > BTW, snmpd ask for libcrypto.so.0.9.8

Re: How to cross compile NET-SNMP

2005-12-09 Thread Hector Oron
libcrypto.so.0.9.7a, i have done a symlink as a workarround. Should i just try to build ELDK for my target ? Best Regards,   Hector OronOn 12/9/05, Wolfgang Denk <[EMAIL PROTECTED]> wrote: In message <[EMAIL PROTECTED]> you wrote:>>  I've been trying to cross-compile net-snmp for ppc

Re: How to cross compile NET-SNMP

2005-12-09 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I've been trying to cross-compile net-snmp for ppc over i386. I have build > a script with some of the options that we should select. I'm able to > generate my binary file, but when i start snmpd agent it doesn't

How to cross compile NET-SNMP

2005-12-08 Thread Hector Oron
Hello folks,  I've been trying to cross-compile net-snmp for ppc over i386. I have build a script with some of the options that we should select. I'm able to generate my binary file, but when i start snmpd agent it doesn't work as I expect. Target: MPC-855 (ppc), glibc-1.99