I have been trying to get Nut working on a system with Fedora 8 i86_64 installed
and an APC
Smart-UPS USB.
The 2.2.0 rpm does not seem to like the USB on this UPS. I have tried compiling
the 2.2.2 version,
from source, but am getting warnings. I have tried building it on my i386 system
(f8 as well) and I
get no warnings also the 2.2.0 works fine on that one with a TrippLite Omni 900
LCD via USB.
How can I either get the 2.2.0 working with the APC/f8/64 combination or compile
without the
problems. I wish to use Nut as a standard on 2 networks so there is only one
UPS software in use
and to try and integrate with Nagios.
Here are the configure and makes with the warnings and attached are the outputs
as redirected to
files.
[root at localhost
nut-2.2.2]# ./configure --with-user=ups --with-group=nut --with-usb --with-cgi
--with-hal --with-drivers=apcsmart,usbhid-ups > ../configure.txt
[root at localhost nut-2.2.2]# make > ../make.txt
dstate.c: In function ?send_to_all?:
dstate.c:182: warning: format ?%d? expects type ?int?, but argument 3 has type
?size_t?
serial.c: In function ?ser_send_pace?:
serial.c:259: warning: format ?%d? expects type ?int?, but argument 3 has type
?long unsigned int?
serial.c: In function ?ser_send?:
serial.c:289: warning: format ?%d? expects type ?int?, but argument 3 has type
?long unsigned int?
serial.c: In function ?ser_comm_fail?:
serial.c:511: warning: format ?%d? expects type ?int?, but argument 3 has type
?long unsigned int?
libusb.c: In function ?libusb_open?:
libusb.c:289: warning: format ?%d? expects type ?int?, but argument 4 has type
?long unsigned int?
libusb.c: In function ?libusb_get_string?:
libusb.c:376: warning: format ?%i? expects type ?int?, but argument 5 has type
?size_t?
G Evans
-------------- next part --------------
Network UPS Tools version 2.2.2
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking for inline... inline
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for inet_aton... yes
checking for strerror... yes
checking for atexit... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for getopt declarations... in unistd.h
checking whether to use uu_lock... no
checking for connect... yes
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in include/nut_stdint.h (assuming C99 compatible system)
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP cflags... not found
checking for Net-SNMP libs... not found
checking for libusb cflags...
checking for libusb libs... -lusb
checking for libhal version via pkg-config (0.5.8 minimum required)... 0.5.10
found
checking for libhal cflags via pkg-config... -DDBUS_API_SUBJECT_TO_CHANGE
-I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking for libhal ldflags via pkg-config... -L/lib64 -lhal -ldbus-glib-1
-ldbus-1 -lgobject-2.0 -lglib-2.0
checking for libhal user via pkg-config... haldaemon
checking for libhal Callouts path... ${exec_prefix}/lib/hal
checking for libhal Device Information path...
${prefix}/share/hal/fdi/information/20thirdparty
checking for libneon version via pkg-config (0.25.0 minimum required)... found
checking for libneon cflags via pkg-config... not found
checking for libneon ldflags via pkg-config... not found
checking for usb_detach_kernel_driver_np in -lusb... yes
checking for Linux hiddev.h... /usr/include/linux/hiddev.h
checking for SSL library availability... yes
checking whether to enable SSL development code... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking whether to enable IPv6 support... yes
checking for gd version via gdlib-config... 2.0.34
checking for gd include flags... -I/usr/include
checking for gd library flags... -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig
-lfreetype -lpng12 -lz -lm -lgd
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImagePng in -lgd... yes
checking whether to build CGI programs... yes
checking whether to build and install the development files... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... /usr/bin/ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs...
immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs...
immediate
checking whether to build serial drivers... yes
checking whether to build SNMP drivers... no
checking whether to build USB drivers... yes
checking whether to enable HAL support... yes
checking whether to build neon based XML driver... no
checking state path... /var/state/ups
checking alt pid path... /var/state/ups
checking driver path... ${exec_prefix}/bin
checking cgi path... ${exec_prefix}/cgi-bin
checking html path... ${prefix}/html
checking pidpath... /var/run
checking network port number... 3493
checking user to run as... ups
checking group membership of user to run as... nut
checking facility for syslog... LOG_DAEMON
checking which drivers to build... apcsmart usbhid-ups
checking which driver man pages to install... apcsmart.8 usbhid-ups.8
checking whether to strip debug symbols... no
checking whether to install pkg-config *.pc files... ${libdir}/pkgconfig
using ${libdir}/pkgconfig
checking whether to install hotplug rules... no
checking whether to install udev rules... using /etc/udev
checking for long long... yes
configure: creating ./config.status
config.status: creating clients/Makefile
config.status: creating common/Makefile
config.status: creating conf/Makefile
config.status: creating conf/upssched.conf.sample
config.status: creating data/html/header.html
config.status: creating data/html/Makefile
config.status: creating data/Makefile
config.status: creating docs/Makefile
config.status: creating drivers/Makefile
config.status: creating include/Makefile
config.status: creating lib/libupsclient-config
config.status: creating lib/libupsclient.pc
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating packaging/Makefile
config.status: creating packaging/debian/Makefile
config.status: creating packaging/mandriva/Makefile
config.status: creating packaging/generic-rpm/Makefile
config.status: creating packaging/generic-rpm/nut.spec
config.status: creating packaging/redhat/Makefile
config.status: creating packaging/redhat/nut.spec
config.status: creating packaging/opensuse/Makefile
config.status: creating packaging/opensuse/nut.spec
config.status: creating scripts/hal/Makefile
config.status: creating scripts/hotplug/Makefile
config.status: creating scripts/hotplug/libhidups
config.status: creating scripts/udev/Makefile
config.status: creating scripts/udev/nut-usbups.rules
config.status: creating scripts/Makefile
config.status: creating server/Makefile
config.status: creating Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing include/nut_stdint.h commands
config.status: creating include/nut_stdint.h : _NUT_INCLUDE_NUT_STDINT_H
Configuration summary:
enable SSL development code: yes
enable IPv6 support: yes
build CGI programs: yes
build and install the development files: no
build serial drivers: yes
build SNMP drivers: no
build USB drivers: yes
enable HAL support: yes
build neon based XML driver: no
only build specific drivers: apcsmart usbhid-ups
-------------- next part --------------
Making all in include
make[1]: Entering directory `/home/software/nut/nut-2.2.2/include'
NUT_VERSION: "2.2.2"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make all-am
make[2]: Entering directory `/home/software/nut/nut-2.2.2/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/include'
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/include'
Making all in common
make[1]: Entering directory `/home/software/nut/nut-2.2.2/common'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT
common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
rm -f libcommon.a
/usr/bin/ar cru libcommon.a common.o
ranlib libcommon.a
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT
upsconf.o -MD -MP -MF .deps/upsconf.Tpo -c -o upsconf.o upsconf.c
mv -f .deps/upsconf.Tpo .deps/upsconf.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT
parseconf.o -MD -MP -MF .deps/parseconf.Tpo -c -o parseconf.o parseconf.c
mv -f .deps/parseconf.Tpo .deps/parseconf.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT
state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
mv -f .deps/state.Tpo .deps/state.Po
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -I../include -O -Wall -Wsign-compare -MT parseconf.lo -MD -MP
-MF .deps/parseconf.Tpo -c -o parseconf.lo parseconf.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare -MT
parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c parseconf.c -fPIC -DPIC -o
.libs/parseconf.o
mv -f .deps/parseconf.Tpo .deps/parseconf.Plo
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/common'
Making all in clients
make[1]: Entering directory `/home/software/nut/nut-2.2.2/clients'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -I../include -I/usr/include -O -Wall -Wsign-compare -MT
upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c -o upsclient.lo upsclient.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c upsclient.c
-fPIC -DPIC -o .libs/upsclient.o
mv -f .deps/upsclient.Tpo .deps/upsclient.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -version-info 1:0:0 -o libupsclient.la -rpath
/usr/local/ups/lib upsclient.lo ../common/parseconf.lo
gcc -shared .libs/upsclient.o ../common/.libs/parseconf.o -Wl,-soname
-Wl,libupsclient.so.1 -o .libs/libupsclient.so.1.0.0
(cd .libs && rm -f libupsclient.so.1 && ln -s
libupsclient.so.1.0.0 libupsclient.so.1)
(cd .libs && rm -f libupsclient.so && ln -s
libupsclient.so.1.0.0 libupsclient.so)
creating libupsclient.la
(cd .libs && rm -f libupsclient.la && ln -s ../libupsclient.la
libupsclient.la)
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsc.o -MD -MP -MF .deps/upsc.Tpo -c -o upsc.o upsc.c
mv -f .deps/upsc.Tpo .deps/upsc.Po
(cd ../common/ && make libcommon.a)
make[2]: Entering directory `/home/software/nut/nut-2.2.2/common'
(cd ../include/ && make nut_version.h)
make[3]: Entering directory `/home/software/nut/nut-2.2.2/include'
NUT_VERSION: "2.2.2"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make[3]: Leaving directory `/home/software/nut/nut-2.2.2/include'
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/common'
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsc upsc.o ../common/libcommon.a libupsclient.la
-lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsc upsc.o
../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/ups/lib
creating upsc
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upslog.o -MD -MP -MF .deps/upslog.Tpo -c -o upslog.o upslog.c
mv -f .deps/upslog.Tpo .deps/upslog.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upslog upslog.o ../common/libcommon.a libupsclient.la
-lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upslog upslog.o
../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/ups/lib
creating upslog
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsrw.o -MD -MP -MF .deps/upsrw.Tpo -c -o upsrw.o upsrw.c
mv -f .deps/upsrw.Tpo .deps/upsrw.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsrw upsrw.o ../common/libcommon.a libupsclient.la
-lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsrw upsrw.o
../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/ups/lib
creating upsrw
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upscmd.o -MD -MP -MF .deps/upscmd.Tpo -c -o upscmd.o upscmd.c
mv -f .deps/upscmd.Tpo .deps/upscmd.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upscmd upscmd.o ../common/libcommon.a libupsclient.la
-lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upscmd upscmd.o
../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/ups/lib
creating upscmd
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsstats.o -MD -MP -MF .deps/upsstats.Tpo -c -o upsstats.o
upsstats.c
mv -f .deps/upsstats.Tpo .deps/upsstats.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT cgilib.o -MD -MP -MF .deps/cgilib.Tpo -c -o cgilib.o cgilib.c
mv -f .deps/cgilib.Tpo .deps/cgilib.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsstats.cgi upsstats.o cgilib.o ../common/libcommon.a
libupsclient.la -lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsstats.cgi
upsstats.o cgilib.o ../common/libcommon.a ./.libs/libupsclient.so -lssl
-lcrypto -Wl,--rpath -Wl,/usr/local/ups/lib
creating upsstats.cgi
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsimage.o -MD -MP -MF .deps/upsimage.Tpo -c -o upsimage.o
upsimage.c
mv -f .deps/upsimage.Tpo .deps/upsimage.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsimage.cgi upsimage.o cgilib.o ../common/libcommon.a
libupsclient.la -lssl -lcrypto -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig
-lfreetype -lpng12 -lz -lm -lgd
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsimage.cgi
upsimage.o cgilib.o ../common/libcommon.a ./.libs/libupsclient.so -lssl
-lcrypto -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm
-lgd -Wl,--rpath -Wl,/usr/local/ups/lib
creating upsimage.cgi
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsset.o -MD -MP -MF .deps/upsset.Tpo -c -o upsset.o upsset.c
mv -f .deps/upsset.Tpo .deps/upsset.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsset.cgi upsset.o cgilib.o ../common/libcommon.a
libupsclient.la -lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsset.cgi
upsset.o cgilib.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto
-Wl,--rpath -Wl,/usr/local/ups/lib
creating upsset.cgi
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upsmon.o -MD -MP -MF .deps/upsmon.Tpo -c -o upsmon.o upsmon.c
mv -f .deps/upsmon.Tpo .deps/upsmon.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upsmon upsmon.o ../common/libcommon.a libupsclient.la
-lssl -lcrypto
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o .libs/upsmon upsmon.o
../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/ups/lib
creating upsmon
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -O -Wall
-Wsign-compare -MT upssched.o -MD -MP -MF .deps/upssched.Tpo -c -o upssched.o
upssched.c
mv -f .deps/upssched.Tpo .deps/upssched.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include -O
-Wall -Wsign-compare -o upssched upssched.o ../common/libcommon.a
../common/parseconf.o
gcc -I../include -I/usr/include -O -Wall -Wsign-compare -o upssched upssched.o
../common/parseconf.o ../common/libcommon.a
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/clients'
Making all in conf
make[1]: Entering directory `/home/software/nut/nut-2.2.2/conf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/conf'
Making all in data
make[1]: Entering directory `/home/software/nut/nut-2.2.2/data'
Making all in html
make[2]: Entering directory `/home/software/nut/nut-2.2.2/data/html'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/data/html'
make[2]: Entering directory `/home/software/nut/nut-2.2.2/data'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/data'
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/data'
Making all in docs
make[1]: Entering directory `/home/software/nut/nut-2.2.2/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/docs'
Making all in drivers
make[1]: Entering directory `/home/software/nut/nut-2.2.2/drivers'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT apcsmart.o -MD
-MP -MF .deps/apcsmart.Tpo -c -o apcsmart.o apcsmart.c
mv -f .deps/apcsmart.Tpo .deps/apcsmart.Po
(cd ../common/ && make libcommon.a)
make[2]: Entering directory `/home/software/nut/nut-2.2.2/common'
(cd ../include/ && make nut_version.h)
make[3]: Entering directory `/home/software/nut/nut-2.2.2/include'
NUT_VERSION: "2.2.2"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make[3]: Leaving directory `/home/software/nut/nut-2.2.2/include'
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/common'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT main.o -MD -MP
-MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT dstate.o -MD -MP
-MF .deps/dstate.Tpo -c -o dstate.o dstate.c
mv -f .deps/dstate.Tpo .deps/dstate.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT serial.o -MD -MP
-MF .deps/serial.Tpo -c -o serial.o serial.c
mv -f .deps/serial.Tpo .deps/serial.Po
/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/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o apcsmart
apcsmart.o ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o
../common/state.o main.o dstate.o serial.o
mkdir .libs
gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o apcsmart apcsmart.o
../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o
serial.o ../common/libcommon.a
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT usbhid-ups.o -MD
-MP -MF .deps/usbhid-ups.Tpo -c -o usbhid-ups.o usbhid-ups.c
mv -f .deps/usbhid-ups.Tpo .deps/usbhid-ups.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT libhid.o -MD -MP
-MF .deps/libhid.Tpo -c -o libhid.o libhid.c
mv -f .deps/libhid.Tpo .deps/libhid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT libusb.o -MD -MP
-MF .deps/libusb.Tpo -c -o libusb.o libusb.c
mv -f .deps/libusb.Tpo .deps/libusb.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT hidparser.o -MD
-MP -MF .deps/hidparser.Tpo -c -o hidparser.o hidparser.c
mv -f .deps/hidparser.Tpo .deps/hidparser.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT apc-hid.o -MD -MP
-MF .deps/apc-hid.Tpo -c -o apc-hid.o apc-hid.c
mv -f .deps/apc-hid.Tpo .deps/apc-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT belkin-hid.o -MD
-MP -MF .deps/belkin-hid.Tpo -c -o belkin-hid.o belkin-hid.c
mv -f .deps/belkin-hid.Tpo .deps/belkin-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT cps-hid.o -MD -MP
-MF .deps/cps-hid.Tpo -c -o cps-hid.o cps-hid.c
mv -f .deps/cps-hid.Tpo .deps/cps-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT explore-hid.o -MD
-MP -MF .deps/explore-hid.Tpo -c -o explore-hid.o explore-hid.c
mv -f .deps/explore-hid.Tpo .deps/explore-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT liebert-hid.o -MD
-MP -MF .deps/liebert-hid.Tpo -c -o liebert-hid.o liebert-hid.c
mv -f .deps/liebert-hid.Tpo .deps/liebert-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT mge-hid.o -MD -MP
-MF .deps/mge-hid.Tpo -c -o mge-hid.o mge-hid.c
mv -f .deps/mge-hid.Tpo .deps/mge-hid.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT tripplite-hid.o
-MD -MP -MF .deps/tripplite-hid.Tpo -c -o tripplite-hid.o tripplite-hid.c
mv -f .deps/tripplite-hid.Tpo .deps/tripplite-hid.Po
/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/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o usbhid-ups
usbhid-ups.o libhid.o libusb.o hidparser.o apc-hid.o belkin-hid.o cps-hid.o
explore-hid.o liebert-hid.o mge-hid.o tripplite-hid.o ../common/libcommon.a
../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o
-lusb -lssl -lcrypto
gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o usbhid-ups usbhid-ups.o
libhid.o libusb.o hidparser.o apc-hid.o belkin-hid.o cps-hid.o explore-hid.o
liebert-hid.o mge-hid.o tripplite-hid.o ../common/upsconf.o
../common/parseconf.o ../common/state.o main.o dstate.o ../common/libcommon.a
-lusb -lssl -lcrypto
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT skel.o -MD -MP
-MF .deps/skel.Tpo -c -o skel.o skel.c
mv -f .deps/skel.Tpo .deps/skel.Po
/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/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o skel skel.o
../common/libcommon.a ../common/upsconf.o ../common/parseconf.o
../common/state.o main.o dstate.o
gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o skel skel.o
../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o
../common/libcommon.a
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -MT upsdrvctl.o -MD
-MP -MF .deps/upsdrvctl.Tpo -c -o upsdrvctl.o upsdrvctl.c
mv -f .deps/upsdrvctl.Tpo .deps/upsdrvctl.Po
/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/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o upsdrvctl
upsdrvctl.o ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o
gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O -Wall -Wsign-compare -o upsdrvctl upsdrvctl.o
../common/upsconf.o ../common/parseconf.o ../common/libcommon.a
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/drivers'
Making all in lib
make[1]: Entering directory `/home/software/nut/nut-2.2.2/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/lib'
Making all in man
make[1]: Entering directory `/home/software/nut/nut-2.2.2/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/man'
Making all in packaging
make[1]: Entering directory `/home/software/nut/nut-2.2.2/packaging'
Making all in debian
make[2]: Entering directory `/home/software/nut/nut-2.2.2/packaging/debian'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/packaging/debian'
Making all in mandriva
make[2]: Entering directory
`/home/software/nut/nut-2.2.2/packaging/mandriva'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/packaging/mandriva'
Making all in redhat
make[2]: Entering directory `/home/software/nut/nut-2.2.2/packaging/redhat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/packaging/redhat'
Making all in opensuse
make[2]: Entering directory
`/home/software/nut/nut-2.2.2/packaging/opensuse'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/packaging/opensuse'
Making all in generic-rpm
make[2]: Entering directory
`/home/software/nut/nut-2.2.2/packaging/generic-rpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/software/nut/nut-2.2.2/packaging/generic-rpm'
make[2]: Entering directory `/home/software/nut/nut-2.2.2/packaging'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/packaging'
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/packaging'
Making all in scripts
make[1]: Entering directory `/home/software/nut/nut-2.2.2/scripts'
Making all in hotplug
make[2]: Entering directory `/home/software/nut/nut-2.2.2/scripts/hotplug'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/scripts/hotplug'
Making all in udev
make[2]: Entering directory `/home/software/nut/nut-2.2.2/scripts/udev'
cp nut-usbups.rules 52_nut-usbups.rules
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/scripts/udev'
Making all in hal
make[2]: Entering directory `/home/software/nut/nut-2.2.2/scripts/hal'
cp ups-nut-device.fdi 20-ups-nut-device.fdi
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/scripts/hal'
make[2]: Entering directory `/home/software/nut/nut-2.2.2/scripts'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/scripts'
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/scripts'
Making all in server
make[1]: Entering directory `/home/software/nut/nut-2.2.2/server'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT upsd.o -MD -MP -MF .deps/upsd.Tpo -c -o upsd.o upsd.c
mv -f .deps/upsd.Tpo .deps/upsd.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT user.o -MD -MP -MF .deps/user.Tpo -c -o user.o user.c
mv -f .deps/user.Tpo .deps/user.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
mv -f .deps/conf.Tpo .deps/conf.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c -o ssl.o ssl.c
mv -f .deps/ssl.Tpo .deps/ssl.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT sstate.o -MD -MP -MF .deps/sstate.Tpo -c -o sstate.o sstate.c
mv -f .deps/sstate.Tpo .deps/sstate.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT access.o -MD -MP -MF .deps/access.Tpo -c -o access.o access.c
mv -f .deps/access.Tpo .deps/access.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT desc.o -MD -MP -MF .deps/desc.Tpo -c -o desc.o desc.c
mv -f .deps/desc.Tpo .deps/desc.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netget.o -MD -MP -MF .deps/netget.Tpo -c -o netget.o netget.c
mv -f .deps/netget.Tpo .deps/netget.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netmisc.o -MD -MP -MF .deps/netmisc.Tpo -c -o netmisc.o netmisc.c
mv -f .deps/netmisc.Tpo .deps/netmisc.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netlist.o -MD -MP -MF .deps/netlist.Tpo -c -o netlist.o netlist.c
mv -f .deps/netlist.Tpo .deps/netlist.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netuser.o -MD -MP -MF .deps/netuser.Tpo -c -o netuser.o netuser.c
mv -f .deps/netuser.Tpo .deps/netuser.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netset.o -MD -MP -MF .deps/netset.Tpo -c -o netset.o netset.c
mv -f .deps/netset.Tpo .deps/netset.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall -Wsign-compare
-MT netinstcmd.o -MD -MP -MF .deps/netinstcmd.Tpo -c -o netinstcmd.o
netinstcmd.c
mv -f .deps/netinstcmd.Tpo .deps/netinstcmd.Po
(cd ../common/ && make libcommon.a)
make[2]: Entering directory `/home/software/nut/nut-2.2.2/common'
(cd ../include/ && make nut_version.h)
make[3]: Entering directory `/home/software/nut/nut-2.2.2/include'
NUT_VERSION: "2.2.2"
test -f nut_version.h || cp _nut_version.h nut_version.h
cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h
rm -f _nut_version.h
make[3]: Leaving directory `/home/software/nut/nut-2.2.2/include'
make[2]: Leaving directory `/home/software/nut/nut-2.2.2/common'
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -O -Wall
-Wsign-compare -o upsd upsd.o user.o conf.o ssl.o sstate.o access.o desc.o
netget.o netmisc.o netlist.o netuser.o netset.o netinstcmd.o
../common/libcommon.a ../common/state.o ../common/upsconf.o
../common/parseconf.o -lssl -lcrypto
mkdir .libs
gcc -I../include -O -Wall -Wsign-compare -o upsd upsd.o user.o conf.o ssl.o
sstate.o access.o desc.o netget.o netmisc.o netlist.o netuser.o netset.o
netinstcmd.o ../common/state.o ../common/upsconf.o ../common/parseconf.o
../common/libcommon.a -lssl -lcrypto
make[1]: Leaving directory `/home/software/nut/nut-2.2.2/server'
make[1]: Entering directory `/home/software/nut/nut-2.2.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/software/nut/nut-2.2.2'