Undefined reference errors with net-snmp-5.7.2-49.el7_9.2 version make

2022-10-10 Thread Suchetha p
Hi, We are using the latest net-snmp-5.7.2-49.el7_9.2 version available in RHEL7. When we try to compile this version of net-snmp library I am getting the below error: net-snmp-5.7.2/agent/snmpd.c:457: undefined reference to `netsnmp_sd_listen_fds' Thanks

Re: Errors building net-snmp in msys: undefined reference to init_logmatch

2013-05-24 Thread Thomas Andrews
On 05/23/2013 05:05 PM, Thomas Andrews wrote: undefined reference to `init_logmatch' collect2: ld returned 1 exit status make[1]: *** [snmpd.exe] Error 1 make[1]: Leaving directory `/sources/agent' make: *** [subdirs] Error 1 What am I doing wrong here? I have the solution to my own

Errors building net-snmp in msys: undefined reference to init_logmatch

2013-05-23 Thread Thomas Andrews
/.libs/libnetsnmp.a ../snmplib/.libs/libnetsnmp.a -lws2_32 -liphlpapi -lsnmpapi ./.libs/libnetsnmpmibs.a(mib_modules.o): In function `init_mib_modules': e:\bst\net-snmp\net-snmp-5.7.2\agent/../agent/mibgroup/mib_module_inits.h:44: undefined reference to `init_logmatch' collect2: ld returned 1 exit

Re: Undefined reference to custom function in separate header and c files

2012-06-06 Thread Dave Shield
On 23 May 2012 21:08, Ricardo Hillbrecht ricardohi...@gmail.com wrote: I'm building a custom MIB using MFD code style. I'd written custom functions in separate .c and .h files, this files are in the same folder as the file that uses them (xxxTable_data_access.h). I think the .c and .h files

Re: Undefined reference to custom function in separate header and c files

2012-05-29 Thread Dave Shield
On 23 May 2012 21:08, Ricardo Hillbrecht ricardohi...@gmail.com wrote: When i call make, to compile the custom MIB within the agent, I get an undefined reference error: ./.libs/libnetsnmpmibs.so: undefined reference to `customFunction' collect2: ld returned 1 exit status I think the .c

Re: Undefined reference to custom function in separate header and c files

2012-05-29 Thread Ricardo Hillbrecht
an undefined reference error: ./.libs/libnetsnmpmibs.so: undefined reference to `customFunction' collect2: ld returned 1 exit status I think the .c and .h files with the custom functions need to be someway informed to the linker Just a guess, but: $ ./configure --help --with-libs

Undefined reference to custom function in separate header and c files

2012-05-23 Thread Ricardo Hillbrecht
i call make, to compile the custom MIB within the agent, I get an undefined reference error: ./.libs/libnetsnmpmibs.so: undefined reference to `customFunction' collect2: ld returned 1 exit status I think the .c and .h files with the custom functions need to be someway informed to the linker

Re: Undefined reference to 'pthread_create' link error (v5.5 w/IPv6)

2010-08-11 Thread Dave Shield
On 3 August 2010 16:47, Ron Rader ron.ra...@cipheroptics.com wrote:  I'm running into this configure bug: http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg24798.html  Is there a v5.5 patch for this This has been fixed by SVN revision 19048 See

Undefined reference to 'pthread_create' link error (v5.5 w/IPv6)

2010-08-03 Thread Ron Rader
I'm running into this configure bug: http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg2479 8.html Tried searching the bugs patch databases to see if this has been formally addressed, but didn't find anything. Is there a v5.5 patch for this, or is the workaround

./.libs/libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

2010-07-09 Thread Alexander King
-5.4.2.1/agent/.libs/libnetsnmpagent.so /home/branch5118/manager/snmp/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so ../snmplib/.libs/libnetsnmp.so -lcrypto -L/usr/local/lib64 -L/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt -lpthread ./.libs/libnetsnmpagent.so: undefined

Re: net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-04-06 Thread Howarth, James
...@arbor.netmailto:jhowa...@arbor.net said: JH ./configure --enable-ipv6 --disable-embedded-perl Are you sure that's *all* the options you used? Because this error: JH ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create' Seems to indicate that a mib module was compiled in that wants

Re: net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-04-06 Thread Bart Van Assche
On Tue, Apr 6, 2010 at 5:54 PM, Howarth, James jhowa...@arbor.net wrote: I do not quite follow your response. Are you suggesting that this is bug and config_os_libs should be modified? If so should I create a bug for this? Or are you suggesting that I have not configured the build correctly

Re: net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-04-03 Thread Bart Van Assche
./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create' Seems to indicate that a mib module was compiled in that wants threads support, and none of the base distribution modules should require it. I'm not sure that I understood the above correctly, but there is a pthread_create() call

Re: net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-04-02 Thread Wes Hardaker
On Wed, 31 Mar 2010 15:34:00 +, James Howarth jhowa...@arbor.net said: JH ./configure --enable-ipv6 --disable-embedded-perl Are you sure that's *all* the options you used? Because this error: JH ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create' Seems to indicate

Re: net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-04-02 Thread Howarth, James
./configure --enable-ipv6 --disable-embedded-perl Are you sure that's *all* the options you used? Because this error: JH ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create' Seems to indicate that a mib module was compiled in that wants threads support, and none

net-snmpd v5.5 build fails with undefined reference to `pthread_create'

2010-03-31 Thread James Howarth
/agent/.libs/libnetsnmpagent.so /home/jhowarth/net-snmp-5.5/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create' collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 Anybody have any thoughts as to what might

Undefined reference to openssl (sorry about the last one, wrong title)

2009-03-04 Thread Sergio Cabaço
... --with-openssl=...openssl ... I'm obtaining an error of linkage I suppose, but I do not understand what causes it. Example: ...xpto.c(line): undefined reference to 'DES_key_sched' ... Config.log doesn't present any error related with this matter. The ./configure runs impec. Does anyone

undefined reference to `sysfs_get_device_attr' /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip'

2008-10-27 Thread PoWah Wong
/libsensors.a -Wl,--rpath -Wl,/usr/local/lib /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip': (.text+0x2f): undefined reference to `sysfs_get_device_attr' /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip': (.text+0x16c): undefined

Re: undefined reference to `sysfs_get_device_attr' /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip'

2008-10-27 Thread Thomas Anders
/local/lib/libsensors.a -Wl,--rpath -Wl,/usr/local/lib /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip': (.text+0x2f): undefined reference to `sysfs_get_device_attr' That looks like a problem with your local installation of libsensors rather than a net-snmp issue

Re: Compile error: libnetsnmpmibs.so: undefined reference

2008-10-06 Thread Paul Orvin
From: Wes Hardaker [EMAIL PROTECTED] Organization: Sparta Date: Fri, 03 Oct 2008 13:36:24 -0700 To: Paul Orvin [EMAIL PROTECTED] Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Compile error: libnetsnmpmibs.so: undefined reference On Sun, 28 Sep 2008 13:42:09 -0400, Paul Orvin

Re: Compile error: libnetsnmpmibs.so: undefined reference

2008-10-03 Thread Wes Hardaker
On Sun, 28 Sep 2008 13:42:09 -0400, Paul Orvin [EMAIL PROTECTED] said: PO Trying to compile net-snmp 5.4.2 with lm-sensors support I get this PO error during 'make': Looks like you need to link in -lsensors. Try running with --with-libs=-lsensors -- Wes Hardaker Sparta, Inc.

Compile error: libnetsnmpmibs.so: undefined reference

2008-09-28 Thread Paul Orvin
Hi, Trying to compile net-snmp 5.4.2 with lm-sensors support I get this error during 'make': ./.libs/libnetsnmpmibs.so: undefined reference to `sensors_get_detected_chips' ./.libs/libnetsnmpmibs.so: undefined reference to `sensors_init' ./.libs/libnetsnmpmibs.so: undefined reference

Undefined reference

2008-07-17 Thread Raghavendra Prasad
files from common/XXX and elib/XXX because of which of which I get undefined reference error. *Problem in libnetsnmp.so *undefined reference to 'getParamId' I thought this was a linker problem but strangely I do not find the any source file compiled under the directories net-snmp.5.4.1/agent

Re: undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2

2008-07-01 Thread Dave Shield
2008/6/25 Xinran Wang [EMAIL PROTECTED]: I configured net-snmp 5.4.1 on FreeBSD 6.2 with the following command ./configure --disable-embedded-perl --disable-privacy --without-kmem-usage --prefix=/usr/local And got compilation error How to fix this ? I've done some investigation,

undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2

2008-06-25 Thread Xinran Wang
: undefined reference to `kd' ./.libs/libnetsnmpmibs.so: undefined reference to `auto_nlist' How to fix this ? Thanks, -Xinran - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services

Re: undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2

2008-06-25 Thread Thomas Anders
Xinran Wang wrote: I configured net-snmp 5.4.1 on FreeBSD 6.2 with the following command ./configure --disable-embedded-perl --disable-privacy --without-kmem-usage --prefix=/usr/local ... ./.libs/libnetsnmpmibs.so: undefined reference to `kd' ./.libs/libnetsnmpmibs.so: undefined

Re: undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2

2008-06-25 Thread Xinran Wang
-usage --prefix=/usr/local ... ./.libs/libnetsnmpmibs.so: undefined reference to `kd' ./.libs/libnetsnmpmibs.so: undefined reference to `auto_nlist' Do you still get the same error if you start from scratch by unpacking the tarball to a new directory and run the above configure command

Re: undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2

2008-06-25 Thread Dave Shield
2008/6/25 Xinran Wang [EMAIL PROTECTED]: Yes. It is still there. I also try the newest net-snmp-5.4.1.2 and have the same error. It's probably worth checking the 5.4.2.pre2 tarball as well. Dave - Check out the new

undefined reference..

2007-07-03 Thread Sharad Chandra
Hi, I am compiling a code on freebsd 4.2 system but i am getting this problem bash-2.04$ gcc -I /usr/local/include -L /usr/local/lib -lnetsnmp -lcrypto trap.c /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex' /usr/local/lib/libnetsnmp.so: undefined reference

Re: linking error libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

2007-06-15 Thread Anjali Riat
agent setup, or any flag that I need to use while compiling the code. Thanks and Regards, Anjali On 6/14/07, Thomas Anders [EMAIL PROTECTED] wrote: Anjali Riat [EMAIL PROTECTED] wrote: ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to `boot_DynaLoader' What net-snmp

linking error libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

2007-06-13 Thread Anjali Riat
errors - ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to `perl_construct' ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to `perl_parse' ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to `Perl_newXS' ../../cots/netsnmp/lib

Re: linking error libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

2007-06-13 Thread Thomas Anders
Anjali Riat [EMAIL PROTECTED] wrote: ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to `boot_DynaLoader' What net-snmp version and OS/platform is this? Please retry with net-snmp 5.4.1.pre2 and report back. +Thomas

Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Anusuja Gagganapally
: undefined reference to `perl_construct' /opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_parse' /opt/aylus/lib/libnetsnmpagent.so: undefined reference to `Perl_newXS' /opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_run' /opt/aylus/lib/libnetsnmpagent.so: undefined

Re: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Dave Shield
: undefined reference to `perl_construct' `perl_parse' etc It looks as if the agent was probably compiled with support for embedded perl L../../../../platform/ams/.atca/lib -L../../../../common/.atca/lib -L../../../../platform/log/logapi/.atca/lib -lams -lcommon -llogapi -L

Re: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Dave Shield
On 07/03/07, Anusuja Gagganapally [EMAIL PROTECTED] wrote: Thanks for the response. Below is the output for the command $ net-snmp-config --agent-libs -L/usr/local/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lcrypto -lm OK - so why don't you try linking with these

RE: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Anusuja Gagganapally
--without-perl-modules\ 22 --with-libwrap=yes Thanks, Anu. -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 4:20 AM To: Anusuja Gagganapally Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Undefined reference to perl_construct

RE: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Anusuja Gagganapally
-snmp/agent/mibgroup /mib_module_shutdown.h:3: undefined reference to `shutdown_snmpNotifyFilterTable' /home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup /mib_module_shutdown.h:4: undefined reference to `shutdown_ifTable' /home/agagganapally/2.3/2.3/products/third_party/net-snmp

Re: undefined reference to

2006-02-10 Thread Dave Shield
On Thu, 2006-02-09 at 15:10 -0800, stan buyanov wrote: But I have another problem when I am running gmake ( libnetsnmpmibs from net-snmp v5.3.0.1) /usr/local/lib/libnetsnmpmibs.so: undefined reference to `rpmdbClose' snip /usr/local/lib/libnetsnmpagent.so: undefined reference

Re: Net-SNMP-5.2.1.2 : libnetsnmptrapd.so Undefined reference to 'run_exec_command'

2005-11-24 Thread Thomas Anders
-snmp-version=2 \ --with-out-mib-modules=ucd_snmp agentx --with-mib-modules=utilities target \ --with-sys-location=ou vous voulez \ --with-logfile=none --with-persistent-directory=/var/net-snmp ... ./.libs/libnetsnmptrapd.so Undefined reference to 'run_exec_command' Works for me

Net-SNMP-5.2.1.2 : libnetsnmptrapd.so Undefined reference to 'run_exec_command'

2005-11-23 Thread jdx
agentx --with-mib-modules=utilities target \ --with-sys-location=ou vous voulez \ --with-logfile=none --with-persistent-directory=/var/net-snmp ... ./.libs/libnetsnmptrapd.so Undefined reference to 'run_exec_command' Leaving Directory /home/jdx/net-snmp-5.2.1.2/apps .. N.B

Re: undefined reference in libnetsnmp

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 09:09:04 +0800 Jim wrote: JSThanks a lot. It works. One question - how do I know which library I JSshould include? You could use the net-snmp-config tool to report them. Try running net-snmp-config --libs JS How do you normally trace and find out which

undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
Hi Greeting: I wrote a simple net-snmp trap program using net-snmp-5.1.1. library. I got the compilation error as following - /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal' /usr/local/lib

RE: undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
, 2005 10:00 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: undefined reference in libnetsnmp On Tue, 22 Feb 2005 17:41:24 +0800 Jim wrote: JS /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' JS [...] JS I have the -lnetsnmp in my Makefile. You also need -lcrypto. -- Robert