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

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

2013-05-23 Thread Thomas Andrews
pagent.a /sources/snmplib/.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_lo

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 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 with the custom func

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 t

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 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 exi

Undefined reference to custom function in separate header and c files

2012-05-23 Thread Ricardo Hillbrecht
xTable_data_access.h). 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 and .h files with the custom functi

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 wrote: >  I'm running into this configure bug: > > http://www.mail-archive.com/[email protected]/msg24798.html >  Is there a v5.5 patch for this This has been fixed by SVN revision 19048 See http://net-snmp.svn.sourceforge.net/viewvc/net-snmp

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/[email protected]/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 describ

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

2010-07-09 Thread Alexander King
reference to `boot_DynaLoader' collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/home/branch5118/manager/snmp/net-snmp-5.4.2.1/agent' make: *** [subdirs] Error 1-- T

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 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 via > the co

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

2010-04-06 Thread Howarth, James
gt; mailto:[email protected]>> 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 w

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

2010-04-03 Thread Bart Van Assche
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 of the base distribution modules should req

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

2010-04-02 Thread Howarth, James
t;>>>>> 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 Wes Hardaker
>>>>> On Wed, 31 Mar 2010 15:34:00 +, James Howarth >>>>> 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 `pthr

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 mig

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

2009-03-05 Thread Sergio Cabaço
Problem solved. The Makefiles were corrupted or incomplete. Thanks, Sérgio Cabaço -Original Message- From: Sergio Cabaço Sent: quarta-feira, 4 de Março de 2009 17:51 To: Sergio Cabaço; Dave Shield Cc: [email protected] Subject: Undefined reference to openssl (sorry

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

2009-03-04 Thread Sergio Cabaço
---> ...openssl/lib/*.a Configure ... --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 w

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
s.so > ../snmplib/.libs/libnetsnmp.so -ldl -lcrypto -lelf -lm > /usr/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'

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
/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' /usr/local/lib/libsensors.a(sysfs.ao): In function `sensors_read_one_sysfs_chip':

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

2007-06-15 Thread Anjali Riat
master-sub 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

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 re

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' ../../c

RE: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Anusuja Gagganapally
y/net-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

RE: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Anusuja Gagganapally
istent-directory="${INSTALL_DIR}/var/net-snmp" \ 21 --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-use

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

Re: Undefined reference to perl_construct when compiling netsnmp

2007-03-07 Thread Dave Shield
libnetsnmpagent.so: undefined reference to > `perl_construct' > `perl_parse' 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/log

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/libnetsnm

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' > /usr/local/lib/libnetsnmpagent.so:

undefined reference to

2006-02-09 Thread stan buyanov
Hi Dave,Thanks a lot for your help with a patch. It works now. 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' /usr/local/lib/libnetsnmpmibs.so: undefined referen

Net-SNMP-5.3 - error in make - when using --disable-mib-loading: undefined reference to `get_tree'

2006-01-15 Thread Makavy, Erez (Erez)
ux /usr/lib/librpmio.so /usr/lib/libbeecrypt.so /usr/lib/libneon.so -lssl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libexpat.so -lrt -lpthread -lbz2 /usr/lib/libpopt.so -lz -lcrypto -lm  -Wl,--rpath -Wl,/usr/local/net-snmp-5.3/lib ./.libs/libnetsnmpmibs.so: u

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

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

2005-11-23 Thread jdx
ib-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 'ru