Re: Linking with openssl 1.0.1g

2014-05-19 Thread Niels Baggesen
Den 15-05-2014 21:27, Richard Phillips skrev: > I am trying to build libnetsnmp, libnetsnmpagent and libnetsnmpmibs on a > RHEL 5.10 platform using OpenSSL version 1.0.1g libraries previously > compiled on the same platform. What is the actual location of the OpenSSL libraries and include files (

Linking with openssl 1.0.1g

2014-05-15 Thread Richard Phillips
I am trying to build libnetsnmp, libnetsnmpagent and libnetsnmpmibs on a RHEL 5.10 platform using OpenSSL version 1.0.1g libraries previously compiled on the same platform. I have tried may combinations of the configure statement, the latest being: CPPFLAGS="-I/builds/.dev/IDS-DEV-14.0.3.0-Build-

Re: linking errors in net-snmp

2011-02-03 Thread Bart Van Assche
On Thu, Feb 3, 2011 at 1:24 PM, Ramesh Kumar wrote: > Hi > > I compiled net-snmp in windows by following steps > > 1. Open a command prompt > > 2. Initialize the Visual Studio build environment by running VCVARS32.bat >which can be found in the bin folder of your Visual Studio install > fol

linking errors in net-snmp

2011-02-03 Thread Ramesh Kumar
Hi I compiled net-snmp in windows by following steps 1. Open a command prompt 2. Initialize the Visual Studio build environment by running VCVARS32.bat which can be found in the bin folder of your Visual Studio install folder. 3. Run win32\build.bat 4. enable 'Install development files'

Re: ethtool linking

2010-12-01 Thread Niels Baggesen
Den 01-12-2010 16:23, Wes Hardaker skrev: > NB> Maybe it was just your magic typedefs that were more wacky than > NB> magic? > > It was a patch from patch DB. (not my bad) :-) Looking further at it, I can see that much of this was older ... The following patch, which I will commit in a moment

Re: ethtool linking

2010-12-01 Thread Wes Hardaker
> I had a bet with myself that some older system somewhere would choke. > I won. Sigh. NB> Older systems? CentOS 5.5 is still very much alive True. my bad. NB> Maybe it was just your magic typedefs that were more wacky than NB> magic? It was a patch from patch DB. (not my bad) -- Wes H

Re: ethtool linking (was Re: SF.net SVN: net-snmp:[19701] trunk/net-snmp)

2010-12-01 Thread Niels Baggesen
On Tue, Nov 30, 2010 at 02:16:28PM -0800, Wes Hardaker wrote: > I had a bet with myself that some older system somewhere would choke. > I won. Sigh. Older systems? CentOS 5.5 is still very much alive, both Ubuntu 10.10 and Redhat 6.0 uses __u32 etc. in their ethtool.h? Maybe it was just your m

ethtool linking (was Re: SF.net SVN: net-snmp:[19701] trunk/net-snmp)

2010-11-30 Thread Wes Hardaker
> On Tue, 30 Nov 2010 22:40:27 +0100, Niels Baggesen > said: NB> This woodoo in interface_linux.c does not work for CentOS 5.5 I had a bet with myself that some older system somewhere would choke. I won. Sigh. I'll revert it. -- Wes Hardaker Cobham Analytic Solutions -

Re: Status of [PATCH] Fix linking with -fstack-protector ?

2010-10-25 Thread Ralf Wildenhues
Hello Bart. * Bart Van Assche wrote on Thu, Oct 21, 2010 at 08:35:04PM CEST: > On June 2, 2010 the behavior that libtool drops the compiler flag > -fstack-protector was confirmed to be a libtool bug. A patch that > fixes this was included in the same e-mail that confirmed the bug > (http://permali

Status of [PATCH] Fix linking with -fstack-protector ?

2010-10-21 Thread Bart Van Assche
Hello, On June 2, 2010 the behavior that libtool drops the compiler flag -fstack-protector was confirmed to be a libtool bug. A patch that fixes this was included in the same e-mail that confirmed the bug (http://permalink.gmane.org/gmane.comp.gnu.libtool.bugs/7341). However, that patch has not be

Re: net snmp linking error

2010-03-01 Thread hashim qaderi
thanks, it worked. On Sat, Feb 27, 2010 at 2:08 PM, Thomas Anders wrote: > hashim qaderi wrote: >> I keep getting this linking error and not sure what -lz library is. >> . >> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: >> cannot

Re: net snmp linking error

2010-02-27 Thread Thomas Anders
hashim qaderi wrote: > I keep getting this linking error and not sure what -lz library is. > . > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: > cannot find -lz On SuSE Linux, this library comes with the "zlib" rpm package that yo

net snmp linking error

2010-02-26 Thread hashim qaderi
hello, I keep getting this linking error and not sure what -lz library is. . . s/libnetsnmp.so -lperl -lcrypt ../snmplib/.libs/libnetsnmp.so -lcrypto /usr/lib64/librpm.so -L/usr/lib64 /usr/lib64/librpmdb.so /usr/lib64/librpmio.so -lm -lrt -lpthread -lz /usr/lib64/libbz2.so /usr

Need help in Linking sample nstAgentPluginObject - Dynamically Loadable Object for Net-SNMP Agent

2008-06-13 Thread srenivasan rs
ib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Linker -> Additional options /VERBOSE:LIB msvcrt.lib netsnmphelpers.lib netsnmp.lib netsnmpagent.lib =

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-08 Thread anand
Hi Dave What i meant by both patches is that I applied them one by one. Both have some changes to be made for 5.3.1 code which I made and Applied them. After Patching..I did a make uninstall and recompiled the code again after running ./configure. However the error still persists.The container erro

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-08 Thread Dave Shield
On 08/04/2008, anand <[EMAIL PROTECTED]> wrote: > I have applied the container-atomic-insert.patch as well as > net-snmp-5.3-shared-ip-4.patch on the release Net-SNMP 5.3.1. I'm not sure whether it's sensible to apply *both* patches. According to the comments in that tracker item, the container p

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-08 Thread anand
Hi I have applied the container-atomic-insert.patch as well as net-snmp-5.3-shared-ip-4.patch on the release Net-SNMP 5.3.1. However on issuing the SIGHUP im still seeing these messages in the logs: NET-SNMP version 5.3.1 Reconfiguring daemon NET-SNMP version 5.3.1 restarted error on subcontaine

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-07 Thread anand
HI Dave.. Im sorry for mailing you directly. There was no intention in getting any private consultation.. I just hit Reply instead of Reply to All by mistake. I would not repeate the same. Thanks Anand On 4/7/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > [ First - *please* don't mail me priva

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-07 Thread anand
Thanks you so much guys... I will be in the office tmrw..and try all these combinations and report back in detail... Thanks again On Mon, Apr 7, 2008 at 10:13 PM, Thomas Anders <[EMAIL PROTECTED]> wrote: > On 07/04/2008, anand <[EMAIL PROTECTED]> wrote: > > I tried applying this patch but the pa

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-07 Thread Thomas Anders
On 07/04/2008, anand <[EMAIL PROTECTED]> wrote: > I tried applying this patch but the patch was failing at the time i applied > to throwing some error regarding a macro which was undeclared or something. I'd suggest grabbing a current SVN snapshot from http://www.net-snmp.org/nightly/tarballs/

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-07 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. ] On 07/0

Re: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-07 Thread Dave Shield
On 03/04/2008, Anand <[EMAIL PROTECTED]> wrote: > So after i upgraded i started facing the issue on SIGHUP: > 2006-04-28 17:22:21 error on subcontainer '' insert (-1) > 2006-04-28 17:22:21 error on subcontainer '' insert (-1) > 2006-04-28 17:22:21 error on subcontainer '' insert (-1) > Searchi

Fwd: Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-03 Thread Anand
(Linking and a bug seen again) To: mailing.unix.net-snmp-coders --===0410661528== Content-Type: multipart/alternative; boundary="=_Part_7_1834963.1207040647751" --=_Part_7_1834963.1207040647751 Content-Type: text/plain; charset=ISO-8859-1 Conten

Issues with net-snmp 5.4.1 and 5.3.2(Linking and a bug seen again)

2008-04-01 Thread anand
oottime; #ifdef NETSNMP_CAN_USE_SYSCTL int mib[2]; size_t len; #elif defined(NETSNMP_CAN_USE_NLIST) int kmem; static struct nlist nl[] = { Now in the include/net-snmp/system/mips.h file i see the content: #define NETSNMP_DONT_USE_NLIST 1 Should an

RE: Linking Library

2008-03-04 Thread Landry Caroline
e it can help. Best Regards, Caroline -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ?a?d??a? ?a?a???t?? Sent: lundi 3 mars 2008 22:11 To: [email protected] Cc: [email protected] Subject: Linking Library Hello, I w

Linking Library

2008-03-03 Thread Βαρδάκας Παναγιώτης
Hello, I want to add some code in a c file of net-snmp-5.2.1. In this code is needed to call a function. This function is included in the library mylib.a How I can compile the net-snmp code linking with mylib.a??? I have tried a lot options of ./configure, like ldflags but it does't work. A

Re: linking static

2008-01-16 Thread Dave Shield
On 16/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > my link command is: > gcc -o myapp myapp.o -lsnmp > but it link to the dinamyc library Yes - that's correct. You haven't told the compiler to link things statically, so it will default to linking libraries dyna

Re: linking static

2008-01-16 Thread Carlos Rubio
It's on debian i am use the development packages, and my link command is: gcc -o myapp myapp.o -lsnmp but it link to the dinamyc library 2008/1/15, Dave Shield <[EMAIL PROTECTED]>: > On 10/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > > i am writing a litle app using snmp lib and i want to

Re: linking static

2008-01-15 Thread Dave Shield
On 10/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > i am writing a litle app using snmp lib and i want to link it static > how i do that? That will depend on the O/S and compilation environment that you are using. It's not really specific to the net-snmp package. See the documentation for

linking static

2008-01-10 Thread Carlos Rubio
i am writing a litle app using snmp lib and i want to link it static how i do that? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.do

Re: Linking libnetsnmptrapd with C++

2007-10-31 Thread Roy M. Silvernail
My apologies to the list. I got a little shrill yesterday as the day's stress compounded. I've solved the linkage issues by including the appropriate packages (as one would expect). -- Roy M. Silvernail is [EMAIL PROTECTED], and you're not "Angry men in combat fatigues talking to God on a two-

Linking libnetsnmptrapd with C++

2007-10-30 Thread Roy M. Silvernail
While I had no problem at all linking libsnmp with a C++ environment, trying to add the libnetsnmptrapd module is giving me linking fits. It seems to come down to name decoration, with snmptrapd_handlers.h having no '#ifdef __cplusplus' guarding. Wrapping the whole file with a c

undefined reference to boot_DynLoader when linking subagent

2007-10-10 Thread Holger Kaelberer
Hi, When trying to link my agentx-subagent to net-snmp 5.4 I am always ending up with /--- /server/net-snmp-5.4.1/lib/libnetsnmpagent.so: undefined reference to boot_DynaLoader' ---/ My m4-macro uses "net-snmp-config --agent-libs" for the linking flags which outputs /--- -L/

Re: has any-one tried static linking of net-snmp libraries?

2007-10-08 Thread Thomas Anders
edded system using static > linking of the net-snmp libraries (libnetsnmp.a, > libnetsnmpmibs.a...).. but for some reason I cannot > get my system to link with them statically. I was just > wondering if any-one has done this this before... > dynamic linking works fine... FYI... I

has any-one tried static linking of net-snmp libraries?

2007-10-08 Thread Ashwin Gokhale
Hello, I'm working on an embedded system where the Master Agent and SubAgent (of netsnmp-5.4.1) communicate over AgentX. The SubAgent in this case is co-located with the rest of the tasks/threads of my embedded system. I'm trying to compile my embedded system using static linking of th

Problem linking netsnmptrapd.lib with MingW

2007-07-20 Thread [EMAIL PROTECTED]
I'd like to use NetSNMP with wxDevC++. I created a DevPack with the precompiled libraries and the include directories i got from the binaries of the Net-SNMP 5.4 release (the file net-snmp-5.4.0-1.win32.exe that can be downloaded here: http://net-snmp.sourceforge.net/download.html ). After a lit

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > On sön, 2007-06-03 at 21:41 +0200, Thomas Anders wrote: > >> BTW, I'm not sure "-lelf" is necessary here at all, but that'd need to >> be fixed in configure.in (if the case). > > The -lelf is due to nlist, nlist is needed by miblibs (many), > snmplib/system.c and agent/a

Re: Linking

2007-06-03 Thread Magnus Fromreide
On sön, 2007-06-03 at 21:41 +0200, Thomas Anders wrote: > BTW, I'm not sure "-lelf" is necessary here at all, but that'd need to > be fixed in configure.in (if the case). The -lelf is due to nlist, nlist is needed by miblibs (many), snmplib/system.c and agent/auto_nlist.c. I think it is the last

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > /bin/sh ../libtool --mode=link \ > cc -g -Dsolaris2=solaris2 -o snmpd snmpd.lo \ > -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs \ > -L./helpers \ > libnetsnmpagent.la helpers/libnetsnmphelpers.la \ > libnetsnmpmibs.la ../snmplib/libnetsnmp.la \ > -lelf -lnsl

Re: Linking

2007-06-03 Thread Magnus Fromreide
On sön, 2007-06-03 at 20:38 +0200, Thomas Anders wrote: > Magnus Fromreide wrote: > > cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ > > -L/home/magfr/netsnmp/build3/agent/.libs > > -L/home/magfr/netsnmp/build3/agent/helpers/.libs > > -L/home/magfr/netsnmp/build3/snmplib/.libs > > -L/hom

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ > -L/home/magfr/netsnmp/build3/agent/.libs > -L/home/magfr/netsnmp/build3/agent/helpers/.libs > -L/home/magfr/netsnmp/build3/snmplib/.libs > -L/home/magfr/netsnmp/build3/snmplib > -L/home/magfr/netsnmp/build3/agent/

Linking

2007-06-03 Thread Magnus Fromreide
Hello I just did a solaris build and one thing I am curious about is why we link every module multiple times? I have an old link line from 20070521 (Current head at the time...) cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ ./.libs/libnetsnmpmibs.so \ -ladm \ ./.libs/libnetsnmpagent.

Re: Linking External Library

2007-05-24 Thread Chau T Trinh
[EMAIL PROTECTED] et Subject Please respond to Re: Linking External Library [EMA

Re: Linking External Library

2007-05-22 Thread Thomas Anders
Chau T Trinh wrote: > I've developed my enterprise MIB but I need to link snmpd with an external > library. > I've passed in --with-ldflags for -L and -l but it did not link snmpd with > my external library. > How do I link snmpd with an external library? (I'm using net-snmp-5.3.0.1) Add it to the

Linking External Library

2007-05-22 Thread Chau T Trinh
I've developed my enterprise MIB but I need to link snmpd with an external library. I've passed in --with-ldflags for -L and -l but it did not link snmpd with my external library. How do I link snmpd with an external library? (I'm using net-snmp-5.3.0.1) Thanks, Chau ---

Successful dynamic linking on AIX

2007-05-15 Thread Sukwoo Kang
Hello, We would like to share our experience successfully running Net-SNMP using dynamic linking on AIX. Previously, we reported some problems when we tried to use dynamic linking for Net-SNMP libraries on AIX. Our sub-agent crashed with dynamic libraries as in the following. Program received

Re: Dynamic linking on AIX

2007-05-08 Thread Thomas Anders
Sukwoo Kang wrote: > Do we need to modify libtool in net-snmp src directory? Is your work > related > to the following posting? (I found it in net-snmp-users list.) Hacking libtool (in the top-level source dir) is one way of doing it. Give it a try and let us know how it works out for you. Please

Re: Dynamic linking on AIX

2007-05-07 Thread Sukwoo Kang
homas Anders <[EMAIL PROTECTED]> wrote: Sukwoo Kang wrote: > We are currently developing net-snmp based subagent on AIX. We tried to use > dynamic linking for net-snmp libraries on AIX, but we failed. Our subagent > crashes with dynamic libraries as in the following. (I'm using &

Re: Dynamic linking on AIX

2007-05-07 Thread Thomas Anders
Sukwoo Kang wrote: > We are currently developing net-snmp based subagent on AIX. We tried to use > dynamic linking for net-snmp libraries on AIX, but we failed. Our subagent > crashes with dynamic libraries as in the following. (I'm using > net-snmp 5.2on AIX 5.1.) [...] >

Dynamic linking on AIX

2007-05-07 Thread Sukwoo Kang
Hello, We are currently developing net-snmp based subagent on AIX. We tried to use dynamic linking for net-snmp libraries on AIX, but we failed. Our subagent crashes with dynamic libraries as in the following. (I'm using net-snmp 5.2on AIX 5.1.) Program received signal SIGSEGV, Segment

Re: linking in external libraries

2007-05-02 Thread Dave Shield
On 02/05/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > configure will have to be modified to handle this is the future (so > you might want to file a feature request to ensure we don't forget > about it. Done. Dave - This SF

Re: linking in external libraries

2007-05-02 Thread Wes Hardaker
>>>>> "AB" == Adam Bell <[EMAIL PROTECTED]> writes: AB> Does anyone know how to link in an external library to the .so files? AB> Is it required to link against the .so before the link for snmpd.(seems AB> logical) Right now if you want to do the linking

linking in external libraries

2007-04-30 Thread Adam Bell
Hi all, I am trying to link in an external library as part of cache loading routines for MIB table_access code. I added configure options for includes and libraries. It appears as the library should be linked into libnetsnmpmibs.so MY_INCLUDE="-O2 -Wall -I/home/abell/Software/app/cfgmon -I/h

RE: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-11 Thread Passera Pablo-APP015
ing Net-SNMP to use static linking 2. > Cross-compileoptions for PowerPC using Montavista Linux > > Hi, > > I have been trying to cross-compile net-snmp static using the > configuration options you suggested in your email. > However, trying to run the agent ("snmpd&quo

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-11 Thread ayan
I ran the agent in GDB, and was able to fix the problem. A very basic mistake .. declaring a string using "char *text" and subsequently using it without initialization. This was causing a stack overflow randomly. Thanks for all your help. Ayan On Fri, 8 Sep 2006 20:54:39 +0100 "Dave Shield" <

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-08 Thread Dave Shield
On 08/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > However, I have this problem where "snmpwalk" does not > work correctly if embedded perl is not used. Running > snmpwalk several times invariably crashes the agent. Does this happen at the same point each time? What's the last entry retur

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-08 Thread ayan
Thanks to all the responses. The configuration options suggested by Bob and esp. Pablo does help to get the agent down to a pretty good size < 1MB. However, I have this problem where "snmpwalk" does not work correctly if embedded perl is not used. Running snmpwalk several times invariably cras

RE: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-08 Thread Passera Pablo-APP015
n > Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, September 06, 2006 5:58 PM > To: [email protected] > Subject: 1. Compiling Net-SNMP to use static linking 2. > Cross-compileoptions for PowerPC using Montavista Linux > > Hi All, > > There are two (linked)

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread Thomas Anders
Robert Story wrote: > On Wed, 06 Sep 2006 16:57:35 -0400 [EMAIL PROTECTED] wrote: > AC> 2) My above attempt to create a statically-linked agent is > AC> because I am trying to run the agent on an embedded device > AC> with limited memory (~8MB -- not enough to have the shared > AC> libraries). T

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread Robert Story
On Wed, 06 Sep 2006 16:57:35 -0400 [EMAIL PROTECTED] wrote: AC> 1) I am trying to compile Net-SNMP and create the agent AC> using static linking. I read the relevant FAQ and used AC> configure with: AC> --with-ldflags=-Bstatic Try specifying --enable-static --disable-shared. AC&

1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread ayan
Hi All, There are two (linked) parts to my query. Would appreciate any help. 1) I am trying to compile Net-SNMP and create the agent using static linking. I read the relevant FAQ and used configure with: --with-ldflags=-Bstatic However, while trying to run the agent, it is still looking for

Re: linking libraries "as-needed"

2006-08-11 Thread Thomas Anders
Wes Hardaker wrote: > I don't think applying a patch we have doubts is portable is > acceptable at any branch of the tree... Making it an option to turn > on, however, is. But by default without an option to turn off seems, > um, broken. Sounds fine as a general statement. But I'm not sure I agr

Re: linking libraries "as-needed"

2006-08-10 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> That's only half tongue in cheek - this patch was clearly not DS> appropriate for the patches branches, but it seemed reasonable to try DS> it on the main development code. If it proves more trouble than it's DS> worth, then we can back it

Re: linking libraries "as-needed"

2006-08-10 Thread Thomas Anders
n the users, so I think it needs consensus, a few more changes here (net-snmp-config) and there (e.g. build now fails on some platforms due to dependent libnetsnmphelpers not being found when linking snmpd) and a good amount of further testing. That said, I think in the end i

Re: linking libraries "as-needed"

2006-08-10 Thread Dave Shield
On 10/08/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > That's actually why I never applied that patch, even though I looked > at it a few times. It was adding a linker flag to the compile time > routines that is unknown as to where it is supported. I failed to see > how that was at all portable.

Re: linking libraries "as-needed"

2006-08-09 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: That's actually why I never applied that patch, even though I looked at it a few times. It was adding a linker flag to the compile time routines that is unknown as to where it is supported. I failed to see how that was at all portable. --

Re: linking libraries "as-needed"

2006-07-31 Thread Thomas Anders
so we need to fix that. > What in particular breaks? I think I've already fixed this part: http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/snmplib/Makefile.in?r1=5.29&view=log However, I'm not sure this is the only problem introduced by the new linking scheme. Linker capabi

Re: linking libraries "as-needed" (was: Re: CVS: net-snmp/snmplib Makefile.in, 5.28)

2006-07-31 Thread Dave Shield
On 30/07/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > This particular patch unfortunately breaks the build on systems that have > libcrypto installed in a non-default location, even if you specify > --with-openssl=/my/path. :-( OK - so we need to fix that. What in particular breaks? Dave -

linking libraries "as-needed" (was: Re: CVS: net-snmp/snmplib Makefile.in, 5.28)

2006-07-30 Thread Thomas Anders
Dave Shield wrote: > Update of /cvsroot/net-snmp/net-snmp/snmplib > In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24734/snmplib > > Modified Files: > Makefile.in > Log Message: > '-as-needed' support for linking libraries. (Patches #1398873 &a

RE: regarding static linking

2006-06-29 Thread amber.gupta
Title: regarding static linking You need to uninstall net-snmp and rebuild it from source once you have added mib with the agent. Agent/mibgroup directory is under root source directory . Have you installed source code and compiling with that?   From: [EMAIL PROTECTED] on behalf of

Re: regarding static linking

2006-06-29 Thread Dave Shield
Siva Prakash Reddy G wrote: >some FQAs are telling, load the mib modules in Agent/Mibgroup, run > the command ../configure --with-mib-modules="my-module". I have > searched the directory Agent/Mibgroup in linux machine, but i failed > to find. > You need to retrieve and unpack the *source*

regarding static linking

2006-06-29 Thread Siva Prakash Reddy G
Title: regarding static linking Hi!    some FQAs are telling, load the mib modules in Agent/Mibgroup, run the command ../configure --with-mib-modules="my-module". I have searched the directory Agent/Mibgroup in linux machine, but i failed to find. when i am trying run a

linking shared library

2006-06-05 Thread santhosh.sundarasamy
Title: linking shared library Hi,     I am using 5.2.1 in Linux machine.         I had linked shared library ( .so ) with snmpd binary by setting $LDFLAGS ,  $CFLAGS , $CPPFLAGS environment variables.     But while compiling library is linked from the /usr/lib path. Is

Re: Doubt regarding linking MIB file in Net-Snmp

2006-03-07 Thread Wes Hardaker
> On Thu, 2 Mar 2006 08:44:53 -0800, "v.balaji mca" <[EMAIL PROTECTED]> > said: v> I don't know how to design a good mib . Now i have designed a simple mib v> after reading some materials from the net. It's hard to design good mibs... I do recommend the book "understanding snmp mibs" by

Doubt regarding linking MIB file in Net-Snmp

2006-03-03 Thread v.balaji mca
Hello everybody , I am a final year M.C.A. graduate student . I'm doing my final semester project using the NET-SNMP package . My project is about to communicate with the ADC [ Analog to Digital Converter ] using the SNMP protocol. I am going to develop this project using C & Rt-Linux . I am usi

Re: doubt regarding dynamic linking

2006-02-06 Thread Dave Shield
On Fri, 2006-02-03 at 11:56 +0530, Jobin Jose Sebastin wrote: > but the next command >$snmpset localhost UCD-DLMOD-MIB::dlmodStatus.1 i create > is not working properly it shows that the object was not wrtable.. As Wes has indicated, the most likely problem is access control. Make sure that

Re: doubt regarding dynamic linking

2006-02-03 Thread Wes Hardaker
> On Fri, 3 Feb 2006 11:56:40 +0530, "Jobin Jose Sebastin" <[EMAIL > PROTECTED]> said: Jobin> but when I am giving snmpset -v1 -c public localhost Jobin> UCD-DLMOD-MIB::dlmodStatus.1 i create Jobin> it shows that no such object in this module) Jobin> Is it due to any configuration se

doubt regarding dynamic linking

2006-02-03 Thread Jobin Jose Sebastin
  hi , I am using the net-snmp tool kit associated with the linux version  2.4.21-20 .I have one doubt regarding the dynamic loading of mib module to the agent... I went thru the tutorilas on www.net-snmp.com and followed what they have told... ---(NET-SNMP Tutorial -- Dynamic Module C

Re: libnetsnmp 5.1.2 linking problems

2005-10-21 Thread Thomas Anders
Radek Vokál wrote: seems some libs need to add other shared libs at link time for a few things: [EMAIL PROTECTED] ~]$ ldd -r /usr/lib/libnetsnmp.so.5.1.2 ldd: warning: you do not have execution permission for `/usr/lib/libnetsnmp.so.5.1.2' undefined symbol: EVP_DigestInit(/usr/lib/libnet

libnetsnmp 5.1.2 linking problems

2005-10-21 Thread Radek Vokál
Hi, seems some libs need to add other shared libs at link time for a few things: [EMAIL PROTECTED] ~]$ ldd -r /usr/lib/libnetsnmp.so.5.1.2 ldd: warning: you do not have execution permission for `/usr/lib/libnetsnmp.so.5.1.2' undefined symbol: EVP_DigestInit(/usr/lib/libnetsnmp.so.5.1.2)

Re: linking error while compiling sample file in linux

2005-06-27 Thread Wes Hardaker
> On Mon, 27 Jun 2005 06:02:40 -0700 (PDT), mahua dutta <[EMAIL PROTECTED]> > said: mahua> I am getting the following errors. What did you run to produce that? mib2c or snmpget? Do both exhibit the same behavior? mahua> 2. run ./configure it should have *not* detected openssl in th

linking error while compiling sample file in linux

2005-06-27 Thread mahua dutta
I am getting the following errors. /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'/usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'/usr/local/lib/li

Re: SNMP test program compiles but gives linking error

2004-10-11 Thread Dave Shield
> I am using Redhat 3.0 ES version and running a test program > > g++ -o test test.C -lnetsnmp -lsnmp > > Got linking error as > /usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' [etc] > I tried the option suggested below by Mr. Wes Hardakar

SNMP test program compiles but gives linking error

2004-09-13 Thread Arun Velayudhan
  I am using Redhat 3.0 ES version and running a test program   g++ -o test test.C –lnetsnmp –lsnmp   Got linking error as /usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' /usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal' /usr/lib/lib

Re: GCC.. linking error .....Needs Help..????

2004-08-02 Thread Wes Hardaker
> On Mon, 2 Aug 2004 09:54:20 -0700 (PDT), avinash sawant <[EMAIL PROTECTED]> said: avinash> #gcc -otest test.c -lnetsnmp -lsnmp ... It was compiled with openssl support. Try the following instead, which should always work no matter how it was compiled: gcc -otest test.c `net-snmp-config

GCC.. linking error .....Needs Help..????

2004-08-02 Thread avinash sawant
dear Friends, I am working on SNMP protocol in LINUX I have written a simple C code for it..It gets complied . But showing the linking error as follows I searched a net a lot but didn't found exact solution ..wanna some help from your side P