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
(
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-
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
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'
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
> 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
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
> 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
-
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
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
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
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
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
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
=
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
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
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
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
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
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/
[ 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
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
(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
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
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
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
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
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
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
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
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-
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
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/
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
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
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
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
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
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
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
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/
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.
[EMAIL PROTECTED]
et
Subject
Please respond to Re: Linking External Library
[EMA
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
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
---
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
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
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
&
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.) [...]
>
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
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
>>>>> "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
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
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
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" <
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
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
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)
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
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&
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
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
> "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
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
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.
> "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.
--
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
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
-
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
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
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*
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
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
> 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
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
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
> 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
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
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
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)
> 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
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
> 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
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
> 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
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
86 matches
Mail list logo