Displaying 19 results from an estimated 19 matches for "lnetsnmp".
2008 Mar 06
3
/usr/bin/ld: skipping incompatible
...make[2]: Entering directory `/tmp/snmppd-0.5.2/snmppd'
gcc -Wall -Wno-uninitialized -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -Werror -L/usr/lib -o snmppd conf.o control.o
log.o queue.o snmp.o snmppd.o threads.o utils.o -lnetsnmp -lcrypto
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.so when
searching for -lnetsnmp
/usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.a when
searching for -lnetsnmp
snmppd.o: In function `new_target':
snmppd.c:(.text+0x371): undefined reference to `split'
snmppd....
2005 Aug 17
0
Re: Problems compiling snmp-ups on Solaris
...gt; make[1]: Leaving directory `/tmp/nut-2.0.2/drivers'
>
> I'm using net-snmp 5.2.1.2, and Solaris ld. I was wondering if you had
> any suggestions.
>
> Thanks very much for your time.
I don't see the net-snmp libs in the above link step (should be "... -L/usr/lib -lnetsnmp -lm -lwrap")
what gives you a "net-snmp-config --version" and where net-snmp
is installed? I think the libs wasn't found, or at list the net-snmp-config
which gives back the necessary compile/link info...
Check in your config.log (search for snmp):
...
checking for Net-SNMP lib...
2007 Sep 12
1
res_snmp
...tils net-snmp-libs
I don't know if i am missing something.
I go to the source directory and I do:
./configure
but still does not work:
> ...
> checking for curses.h... (cached) yes
> checking for net-snmp-config... /usr/bin/net-snmp-config
> checking for snmp_register_callback in -lnetsnmp... no
> ...
When i run 'make menuselect' I cannot get rid of the XXX, and i can't
select res_snmp.
I also tried to install net-snmp-perl package but it does not help. i
have no clue how to continue.
any ideas?
thanks
2008 Jan 21
1
Installing hplip
I need an up-to-date hplip which supports my mfp. The install fails
with 'Cannot find net-snmp support' after it has reported a timeout
in -lnetsnmp. What package do I need to resolve this?
Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachme...
2011 Jan 28
2
SNMP And SuSE
...kages,
using YAST. If I do this command:
net-snmp-config --version --base-cflags --libs
The result is:
5.3.0.1
-DINET6 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g \
-fno-strict-aliasing -fstack-protector-all -Dlinux \
-I/usr/include/rpm -I/usr/include
-L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap
If I then execute the configure command:
./configure --with-user=ups --with-group=ups --sysconfdir=/etc/ups \
--mandir=/usr/share/man --witn-snmp
I get this message:
configure: error: "Net-SNMP libraries not found, required for
SN...
2010 Sep 01
2
Makefile bug in nut-2.4.3
...h-gd-libs="-L/usr/local/lib -R/usr/local/lib -lgd" --with-user=nut
--with-group=nut --host=i686-pc-solaris2.10 --build=i686-pc-solaris2.10
--target=i686-pc-solaris2.10
This resulte in a drivers/Makefile containing the following definition:
LIBNETSNMP_LDFLAGS = -R../lib -L/usr/sfw/lib -lnetsnmp -lgen -lpkcs11
-lkstat -lelf -lm -ldl -lnsl -lsocket -ladm
This does not work, as the Solaris link directive -R specifies runtime
link paths and is not permitted to be a relative path. This will
therefore cause a link failure when building the SNMP drivers, if SNMP
is enabled.
(Fortunately f...
2006 May 20
1
building a library for common/ [was: minor building issues (svn HEAD revision 427)]
...mon/state.o ../common/upsconf.o ../common/parseconf.o \
> ../common/common.o ../common/setenv.o ../common/inet_aton.o
> -lnsl -lsocket -L/software/openssl-0.9.7_runtime/lib
> -R/software/openssl-0.9.7_runtime/lib:/software/libz-1.1.4_runtime/lib
> -L/software/netsnmp-5.3/lib -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm
> -lnsl -lsocket -ladm
> ld: fatal: symbol `setenv' is multiply-defined:
> (file ../common/setenv.o type=FUNC; file
> /software/netsnmp-5.3/lib/libnetsnmp.a(system.o) type=FUNC);
> ld: fatal: File processing errors. No output written to sn...
2014 Oct 09
0
configure: error: "Net-SNMP Libraries not found, required for SNMP drivers"
...configure:7866: checking for Net-SNMP cflags
configure:7885: result: -DNETSNMP_ENABLE_IPV6 -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -Dsolaris2=solaris2 -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include
configure:7888: checking for Net-SNMP libs
configure:7907: result: -L/opt/csw/lib -lnetsnmp
configure:7912: checking for net-snmp/net-snmp-config.h
configure:7912: gcc -c -DNETSNMP_ENABLE_IPV6 -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -Dsolaris2=solaris2 -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include conftest.c >&5
gcc: error: language chip=pentium_pro not recogniz...
2014 Oct 09
3
configure: error: "Net-SNMP Libraries not found, required for SNMP drivers"
System:
* Solaris 10 1/13 (X86) in VirtualBox.
OpenCSW packages installed:
*gcc4core
* libltdl7
* netsnmp
* netsnmp_dev
I'm attempting to run:
./configure --with-snmp --with-wrap --with-snmp-libs="L/opt/csw/lib
l/libnetsnmp"
And get the following error:
configure: error: "Net-SNMP libraries not found, required for SNMP
drivers"
I'm pasting the whole
2010 Nov 05
1
Asterisk 1.8 Installation Problem
...-Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp conftest.c -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors -L/usr/lib/lib -lwrap -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5....
2006 May 19
3
minor building issues (svn HEAD revision 427)
...e.o \
../common/state.o ../common/upsconf.o ../common/parseconf.o \
../common/common.o ../common/setenv.o ../common/inet_aton.o
-lnsl -lsocket -L/software/openssl-0.9.7_runtime/lib
-R/software/openssl-0.9.7_runtime/lib:/software/libz-1.1.4_runtime/lib
-L/software/netsnmp-5.3/lib -lnetsnmp -lgen -lcrypto -lkstat -lelf -lm
-lnsl -lsocket -ladm
ld: fatal: symbol `setenv' is multiply-defined:
(file ../common/setenv.o type=FUNC; file
/software/netsnmp-5.3/lib/libnetsnmp.a(system.o) type=FUNC);
ld: fatal: File processing errors. No output written to snmp-ups
I can fix this by...
2009 Jul 20
0
No subject
.../rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe =
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE=20
-D_FILE_OFFSET_BITS=3D64 -I/usr/include/gdbm=20
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I.=20
-I/usr/include/net-snmp conftest.c -L/usr/lib -lnetsnmpmibs =
-lnetsnmpagent=20
-lnetsnmphelpers -lnetsnmp -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm =
-lsensors=20
-L/usr/lib/lib -lwrap -Wl,-E=20
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE =
-L/usr/local/lib=20
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a=...
2007 Mar 06
3
make errors on solaris express dev 02/07
make fails at drivers:
make[1]: Entering directory `/export/home/zoly/Documents/trunk/drivers'
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/sfw/include -g -Dsolaris2 -I. -I/usr/sfw/include -O -Wall -Wsign-compare -o al175 al175.o ../common/libcommon.a ../common/upsconf.o
2008 Feb 03
2
USB UPS on Solaris
Is anyone here running a USB UPS on Solaris? I'm looking to upgrade my
UPS (from a SmartUPS 620 with RS232 comms), and most of the modern UPSs
use USB ...
TX,
Huge.
2017 Jun 16
0
Unable to use nut-2.7.4 with Eaton 5E1500I USB
...raritan-pdu-mib.o
bestpower-mib.o cyberpower-mib.o delta_ups-mib.o xppc-mib.o huawei-mib.o
eaton-ats16-mib.o apc-ats-mib.o raritan-px2-mib.o eaton-ats30-mib.o
apc-pdu-mib.o main.o dstate.o -Wl,-z -Wl,relro -Wl,-z -Wl,now
../common/.libs/libcommon.a ../common/.libs/libparseconf.a -L/usr/lib64
-lnetsnmp -lpthread
nutdrv_qx-nutdrv_qx.o: In function `ippon_command':
/builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:679: undefined
reference to `libusb_strerror'
/builddir/build/BUILD/nut-libusb-1.0/drivers/nutdrv_qx.c:692: undefined
reference to `libusb_strerror'
nutdrv_qx-nutdrv_...
2009 May 27
2
New NUT user with HP R3000XR problem
...s 10 x86 machine to monitor a
HP R3000XR UPS.
SunOS babylon4 5.10 Generic_138889-08 i86pc i386 i86pc Solaris
First of all, I encountered a single problem during the build. After
configuring, drivers/Makefile ends up containing the following line:
LIBNETSNMP_LDFLAGS = -R../lib -L/usr/sfw/lib -lnetsnmp -lgen [...]
This is clearly wrong, as runtime lib specifications cannot be relative.
By correcting that to -R/usr/sfw/lib, everything compiled and installed
fine.
(This occurs regardless of whether or not snmp support is enabled.)
I've already seen from the list archives that the BCMXC...
2007 Mar 06
2
Compiling SVN build.. error for libupsclient
...yes
checking for stdint.h... (cached) yes
checking for uint16_t... yes
checking for stdint.h... (cached) yes
checking for uint8_t... yes
checking for --with-all... not given
checking for Net-SNMP cflags... -DINET6 -O2 -D_REENTRANT -Dlinux -I.
-I/usr/include
checking for Net-SNMP libs... -L/usr/lib -lnetsnmp -lm -lwrap
checking for libusb cflags...
checking for libusb libs... -L/usr/lib -lusb
checking for libhal cflags via pkg-config... ./configure: line 1:
pkg-config: command not found
not found
checking for libhal ldflags via pkg-config... ./configure: line 1:
pkg-config: command not found
not found...
2017 Jun 15
2
Unable to use nut-2.7.4 with Eaton 5E1500I USB
Hi Manuel,
2017-06-14 15:16 GMT+02:00 Manuel Wolfshant <wolfy at nobugconsulting.ro>:
> Hello
>
>
>
> On 06/14/2017 03:32 PM, Arnaud Quette wrote:
>
>
>
> On Jun 7, 2017, at 5:47 AM, Manuel Wolfshant <wolfy at nobugconsulting.ro>
> wrote:
>
>> >
>>> > If that matters, the OS is a fully updated CentOS 6.9 and this
>>>
2007 Feb 16
2
Centralion Blazer 2000VA USB-HID
Hi again,
I've succeeded in compiling the svn trunk with the automake tools and wish
to say thank you to Charles Lepple for his help.
After fixing some parameters in the hotplug script I can now get access to
the UPS on /dev/usb/hiddev0 (I added productid and vendorid of my ups to the
usermap).
I've decided to try the newhidups driver with -x generic parameter and got
this response :