RE: Add a useful utility into agent

2004-09-04 Thread Jim Su
m/Src/authutil/' '--with-libs=-lauth' for a .o file? Thanks, -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Niels Baggesen Sent: Saturday, September 04, 2004 4:54 AM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: Add a useful utility into ag

Re: Add a useful utility into agent

2004-09-03 Thread Niels Baggesen
On Wed, Sep 01, 2004 at 12:13:01PM +0800, Jim Su wrote: >1. To continue the experiment suggested by Robert I did the following - > > > > [EMAIL PROTECTED] ~/jim/Src/net-snmp/agent$ gcc -g -O2 -Dlinux -o .libs/snmpd > snmpd.o ../../authutil/lic_uti

Re: Add a useful utility into agent

2004-09-01 Thread Dave Shield
>Can the ../../../authutil/lic_util.o added in the configure option > something like "--with-ldflags="-L /usr/home/genie/jim/Src/authutil/" > --with-libs=-lauth"? >I tried to change -lauth to -llic_util.o the configure failed. Nope - the '-l' flag is specifically designed for libr

RE: Add a useful utility into agent

2004-09-01 Thread Jim Su
mmon to link the object xyz.o instead of a xyz.a file? Thanks in advance for your input. -Jim -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 4:50 PM To: Jim Su Cc: [EMAIL PROTECTED] Subject: Re: Add a useful utility into agent

Re: Add a useful utility into agent

2004-09-01 Thread Dave Shield
> gcc -g -O2 -Dlinux -o .libs/snmpd snmpd.o > -L/usr/home/genie/jim/Src/authutil/ ./.libs/libnetsnmpagent.so > ./.libs/libnetsnmpmibs.so helpers/.libs/libnetsnmphelpers.so > ../snmplib/.libs/libnetsnmp.so -ldl -lcrypto -lm -lauth > -Wl,--rpath -Wl,/usr/local/lib That looks fine

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
- From: Jim Su [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 9:55 AM To: [EMAIL PROTECTED] Subject: RE: Add a useful utility into agent I ran the single step compilation at the agent directory and here is the result. *** [EMAIL PROTECTED] ~/jim/Src/

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
IL PROTECTED] Subject: Re: Add a useful utility into agent On Tue, 31 Aug 2004 17:02:26 +0800 Jim wrote: JS> 1. The change to the configure command line option (--with-ldflags="-L JS> /usr/home/genie/jim/Src/authutil/" --with-libs=-lauth) failed and created JS> the follow

Re: Add a useful utility into agent

2004-08-31 Thread Users
On Tue, 31 Aug 2004 17:02:26 +0800 Jim wrote: JS> 1. The change to the configure command line option (--with-ldflags="-L JS> /usr/home/genie/jim/Src/authutil/" --with-libs=-lauth) failed and created JS> the following message. JS> JS> mv -f .libs/snmpd.lo snmpd.lo JS> /bin/sh ../libtool --mode=

RE: Add a useful utility into agent

2004-08-31 Thread Jim Su
gt;have some clever way to specify the path? I'm not sure what you mean by this. Why is the root directory moving around? Thanks, -Jim -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 1:41 PM To: Jim Su Cc: [EMAIL

Re: Add a useful utility into agent

2004-08-30 Thread Users
On Tue, 31 Aug 2004 12:12:15 +0800 Jim wrote: JS> #1 I added the option "--with-ldflags="-L ../../authutil/ -lauth" to JS> the configure line. The make failed due to "error: C compiler cannot JS> create executables" JS>Perhaps you can point out the error JS>I made in th

RE: Add a useful utility into agent

2004-08-30 Thread Jim Su
-Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 4:43 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: Add a useful utility into agent On Mon, 30 Aug 2004 17:57:45 +0800 Jim wrote: JS> One useful routine was created out side of net-sn

Re: Add a useful utility into agent

2004-08-30 Thread Users
On Mon, 30 Aug 2004 17:57:45 +0800 Jim wrote: JS> One useful routine was created out side of net-snmp build directory. In JS> my application this routine can be used by mibII module to determine JS> the model type. JS> [...] JS> The make in mibgroup doesn't have problem - the routin