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
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
/.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
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
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
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
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
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
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
-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
...@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
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
./.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
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
./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
/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
... --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
/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
/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
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
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.
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
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
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 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
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
-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
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
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
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
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
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'
/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
: 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
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
--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
-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
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
-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
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
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
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
, 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
43 matches
Mail list logo