[Nut-upsuser] Error installing Nut 2.7.2 on RedHat 6.6

Leopoldo Cantillo leopoldo.cantillo at gmail.com
Fri Feb 13 02:20:57 UTC 2015


Hi,

I need help because I can't install Nut in RedHat EL 6.6
The version of Nut in repository ot RHEL is 2.6.5-2, but doesn't suppor my
UPS,
Liebert GXT3-200RT.
I read that it is supported using Nut version 2.7.2, but I looking all
around the web how to install it in my RedHat but I didn't find answers.
Follow the guide, I can downlad lasted version stable on web: 2.7.2
Here the errors and info from terminal:
Thanks a lot for help me.
----------------------
*[artesano at artesano nut-2.7.2]$ ./configure --with-user=artesano
--with-group=nut --with-usb*
Network UPS Tools version 2.7.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 host system name... redhat
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 for autoconf macro to enable system extensions... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for egrep... (cached) /bin/grep -E
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
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 strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... -lpthread
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... none found
checking for Net-SNMP cflags...
checking for Net-SNMP libs...
checking for net-snmp/net-snmp-config.h... no
checking for init_snmp... no
checking for libusb version via pkg-config... 0.1.12 found
checking for libusb cflags...
checking for libusb ldflags... -lusb
checking for usb.h... yes
checking for usb_init... yes
checking for usb_detach_kernel_driver_np... yes
checking for libneon version via pkg-config (0.25.0 minimum required)...
none found
checking for libneon cflags...
checking for libneon ldflags...
checking for ne_xmlreq.h... no
checking for ne_xml_dispatch_request... no
checking for libpowerman cflags...
checking for libpowerman libs...
checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)...
none found
checking for avahi-client version via pkg-config (0.6.30 minimum
required)... none found
checking for avahi cflags...
checking for avahi ldflags...
checking for avahi-common/malloc.h... no
checking for avahi_free... no
checking whether to build serial drivers... yes
checking whether to build USB drivers... yes
checking whether to build SNMP drivers... no
checking whether to build neon based XML driver... no
checking whether to enable Avahi support... no
checking whether to build Powerman PDU client driver... no
checking for FreeIPMI version via pkg-config... none found
checking for FreeIPMI cflags...
checking for FreeIPMI ldflags... -lfreeipmi -lipmimonitoring
checking for freeipmi/freeipmi.h... no
checking for ipmi_monitoring.h... no
checking for library containing ipmi_ctx_create... no
checking for library containing ipmi_ctx_find_inband... no
checking for library containing ipmi_monitoring_init... no
checking for library containing ipmi_monitoring_sensor_read_record_id... no
checking for library containing ipmi_sdr_cache_ctx_destroy... no
checking for library containing ipmi_sdr_ctx_destroy... no
checking whether to build IPMI driver... no
checking whether to build Mac OS X meta-driver... no
checking for OpenSSL version via pkg-config... none found
checking for OpenSSL cflags...
checking for OpenSSL ldflags... -lssl -lcrypto
checking for openssl/ssl.h... no
checking for SSL_library_init... no
checking for Mozilla NSS version via pkg-config... none found
checking for Mozilla NSS cflags...
checking for Mozilla NSS ldflags... -lnss3 -lnssutil3 -lsmime3 -lssl3
-lplds4 -lplc4 -lnspr4
checking for nss.h... yes
checking for NSS_Init... yes
checking whether to enable SSL support... yes (Mozilla NSS)
checking for tcpd.h... no
checking for library containing yp_get_default_domain... -lnsl
checking for library containing request_init... no
checking whether to enable libwrap (tcp-wrappers) support... no
checking for libltdl cflags... -g -O2 -Wall -Wsign-compare
checking for libltdl ldflags...
checking for ltdl.h... no
checking for library containing lt_dlinit... no
checking whether to enable libltdl (Libtool dlopen abstraction) support...
no
checking whether to build CGI programs... no
checking for asciidoc... no
checking for a2x... no
checking for dblatex... no
checking if asciidoc version can build manpages (minimum required 8.6.3)...
no
checking if a2x version can build manpages (minimum required 8.6.3)... no
checking whether to build and install documentation... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... yes
checking whether to build and install the development files... 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... artesano
checking group membership of user to run as... nut
checking facility for syslog... LOG_DAEMON
checking which drivers to build... all available
checking which driver man pages to install... all available
checking whether to strip debug symbols... no
checking whether to install pkg-config *.pc files... using
${libdir}/pkgconfig
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to install systemd files... no
checking whether to install hotplug rules... no
checking whether to install udev rules... using /lib/udev
checking whether to install FreeBSD devd.conf file... no
checking for asciidoc... no
checking for a2x... no
checking for aspell... no
configure: creating ./config.status
config.status: creating clients/Makefile
config.status: creating common/Makefile
config.status: creating conf/Makefile
config.status: creating conf/upsmon.conf.sample
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 data/driver.list
config.status: creating docs/Makefile
config.status: creating docs/man/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/libnutclient.pc
config.status: creating lib/libnutscan.pc
config.status: creating lib/Makefile
config.status: creating scripts/augeas/Makefile
config.status: creating scripts/augeas/nutnutconf.aug
config.status: creating scripts/augeas/nutupsconf.aug
config.status: creating scripts/augeas/nutupsdconf.aug
config.status: creating scripts/augeas/nutupsdusers.aug
config.status: creating scripts/augeas/nutupsmonconf.aug
config.status: creating scripts/augeas/nutupsschedconf.aug
config.status: creating scripts/augeas/nuthostsconf.aug
config.status: creating scripts/augeas/nutupssetconf.aug
config.status: creating scripts/avahi/nut.service
config.status: creating scripts/devd/Makefile
config.status: creating scripts/devd/nut-usb.conf
config.status: creating scripts/hotplug/Makefile
config.status: creating scripts/hotplug/libhidups
config.status: creating scripts/HP-UX/nut.psf
config.status: creating scripts/HP-UX/postinstall
config.status: creating scripts/python/Makefile
config.status: creating scripts/systemd/Makefile
config.status: creating scripts/systemd/nut-driver.service
config.status: creating scripts/systemd/nut-monitor.service
config.status: creating scripts/systemd/nut-server.service
config.status: creating scripts/systemd/nutshutdown
config.status: creating scripts/Solaris/Makefile
config.status: creating scripts/Solaris/pkginfo
config.status: creating scripts/Solaris/postinstall
config.status: creating scripts/Solaris/preremove
config.status: creating scripts/Solaris/nut
config.status: creating scripts/udev/Makefile
config.status: creating scripts/udev/nut-ipmipsu.rules
config.status: creating scripts/udev/nut-usbups.rules
config.status: creating scripts/ufw/nut.ufw.profile
config.status: creating scripts/Makefile
config.status: creating server/Makefile
config.status: creating tools/Makefile
config.status: creating tools/nut-scanner/Makefile
config.status: creating tests/Makefile
config.status: creating Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Configuration summary:
======================
build serial drivers: yes
build USB drivers: yes
build SNMP drivers: no
build neon based XML driver: no
enable Avahi support: no
build Powerman PDU client driver: no
build IPMI driver: no
build Mac OS X meta-driver: no
enable SSL support: yes (Mozilla NSS)
enable libwrap (tcp-wrappers) support: no
enable libltdl (Libtool dlopen abstraction) support: no
build nut-scanner: no
build CGI programs: no
build and install documentation: no
build and install the development files: no
-----------------------
*[artesano at artesano nut-2.7.2]$ make*
Making all in include
make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/include'
NUT_VERSION: "2.7.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/artesano/Downloads/nut-2.7.2/include'
make[2]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/include'
make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/include'
Making all in common
make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/common'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include    -I../include -g -O2 -Wall -Wsign-compare -MT parseconf.lo
-MD -MP -MF .deps/parseconf.Tpo -c -o parseconf.lo parseconf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c
parseconf.c  -fPIC -DPIC -o .libs/parseconf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c
parseconf.c -o parseconf.o >/dev/null 2>&1
mv -f .deps/parseconf.Tpo .deps/parseconf.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall
-Wsign-compare   -o libparseconf.la  parseconf.lo  -lpthread
libtool: link: /usr/bin/ar cru .libs/libparseconf.a .libs/parseconf.o
libtool: link: ranlib .libs/libparseconf.a
libtool: link: ( cd ".libs" && rm -f "libparseconf.la" && ln -s "../
libparseconf.la" "libparseconf.la" )
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include    -I../include -g -O2 -Wall -Wsign-compare -MT common.lo -MD
-MP -MF .deps/common.Tpo -c -o common.lo common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT common.lo -MD -MP -MF .deps/common.Tpo -c
common.c  -fPIC -DPIC -o .libs/common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c
-o common.o >/dev/null 2>&1
mv -f .deps/common.Tpo .deps/common.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include    -I../include -g -O2 -Wall -Wsign-compare -MT state.lo -MD
-MP -MF .deps/state.Tpo -c -o state.lo state.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT state.lo -MD -MP -MF .deps/state.Tpo -c state.c
-fPIC -DPIC -o .libs/state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT state.lo -MD -MP -MF .deps/state.Tpo -c state.c -o
state.o >/dev/null 2>&1
mv -f .deps/state.Tpo .deps/state.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include    -I../include -g -O2 -Wall -Wsign-compare -MT upsconf.lo -MD
-MP -MF .deps/upsconf.Tpo -c -o upsconf.lo upsconf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT upsconf.lo -MD -MP -MF .deps/upsconf.Tpo -c
upsconf.c  -fPIC -DPIC -o .libs/upsconf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT upsconf.lo -MD -MP -MF .deps/upsconf.Tpo -c
upsconf.c -o upsconf.o >/dev/null 2>&1
mv -f .deps/upsconf.Tpo .deps/upsconf.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall
-Wsign-compare   -o libcommon.la  common.lo state.lo upsconf.lo
libparseconf.la  -lpthread
libtool: link: (cd .libs/libcommon.lax/libparseconf.a && /usr/bin/ar x
"/home/artesano/Downloads/nut-2.7.2/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cru .libs/libcommon.a .libs/common.o
.libs/state.o .libs/upsconf.o
.libs/libcommon.lax/libparseconf.a/parseconf.o
libtool: link: ranlib .libs/libcommon.a
libtool: link: rm -fr .libs/libcommon.lax
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../
libcommon.la" "libcommon.la" )
/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall
-Wsign-compare   -o libcommonclient.la  common.lo state.lo libparseconf.la
-lpthread
libtool: link: (cd .libs/libcommonclient.lax/libparseconf.a && /usr/bin/ar
x "/home/artesano/Downloads/nut-2.7.2/common/./.libs/libparseconf.a")
libtool: link: /usr/bin/ar cru .libs/libcommonclient.a .libs/common.o
.libs/state.o   .libs/libcommonclient.lax/libparseconf.a/parseconf.o
libtool: link: ranlib .libs/libcommonclient.a
libtool: link: rm -fr .libs/libcommonclient.lax
libtool: link: ( cd ".libs" && rm -f "libcommonclient.la" && ln -s "../
libcommonclient.la" "libcommonclient.la" )
make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/common'
Making all in clients
make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/clients'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include    -I../include   -g -O2 -Wall -Wsign-compare -MT upsclient.lo
-MD -MP -MF .deps/upsclient.Tpo -c -o upsclient.lo upsclient.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2
-Wall -Wsign-compare -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c
upsclient.c  -fPIC -DPIC -o .libs/upsclient.o
In file included from upsclient.c:40:
upsclient.h:28:18: error: ssl.h: No such file or directory
In file included from upsclient.c:40:
upsclient.h:58: error: expected specifier-qualifier-list before 'PRFileDesc'
upsclient.c:45:22: error: prerror.h: No such file or directory
upsclient.c:46:21: error: prinit.h: No such file or directory
upsclient.c:47:23: error: pk11func.h: No such file or directory
upsclient.c:48:22: error: prtypes.h: No such file or directory
upsclient.c:50:28: error: private/pprio.h: No such file or directory
upsclient.c:184: error: expected ')' before '*' token
upsclient.c: In function 'nss_error':
upsclient.c:195: error: 'PRInt32' undeclared (first use in this function)
upsclient.c:195: error: (Each undeclared identifier is reported only once
upsclient.c:195: error: for each function it appears in.)
upsclient.c:195: error: expected ';' before 'length'
upsclient.c:196: error: 'length' undeclared (first use in this function)
upsclient.c:197: warning: implicit declaration of function 'PR_GetError'
upsclient.c: At top level:
upsclient.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'AuthCertificate'
upsclient.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'AuthCertificateDontVerify'
upsclient.c:226: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'BadCertHandler'
upsclient.c:243: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'GetClientAuthData'
upsclient.c:274: error: expected ')' before '*' token
upsclient.c: In function 'upscli_init':
upsclient.c:293: error: 'SECStatus' undeclared (first use in this function)
upsclient.c:293: error: expected ';' before 'status'
upsclient.c:344: warning: implicit declaration of function 'PR_Init'
upsclient.c:344: error: 'PR_USER_THREAD' undeclared (first use in this
function)
upsclient.c:344: error: 'PR_PRIORITY_NORMAL' undeclared (first use in this
function)
upsclient.c:346: warning: implicit declaration of function
'PK11_SetPasswordFunc'
upsclient.c:346: error: 'nss_password_callback' undeclared (first use in
this function)
upsclient.c:350: error: 'status' undeclared (first use in this function)
upsclient.c:350: warning: implicit declaration of function 'NSS_Init'
upsclient.c:353: warning: implicit declaration of function 'NSS_NoDB_Init'
upsclient.c:355: error: 'SECSuccess' undeclared (first use in this function)
upsclient.c:361: warning: implicit declaration of function
'NSS_SetDomesticPolicy'
upsclient.c:368: warning: implicit declaration of function
'SSL_ClearSessionCache'
upsclient.c:370: warning: implicit declaration of function
'SSL_OptionSetDefault'
upsclient.c:370: error: 'SSL_ENABLE_SSL3' undeclared (first use in this
function)
upsclient.c:370: error: 'PR_TRUE' undeclared (first use in this function)
upsclient.c:376: error: 'SSL_ENABLE_TLS' undeclared (first use in this
function)
upsclient.c:382: error: 'SSL_V2_COMPATIBLE_HELLO' undeclared (first use in
this function)
upsclient.c:382: error: 'PR_FALSE' undeclared (first use in this function)
upsclient.c: In function 'upscli_cleanup':
upsclient.c:445: warning: implicit declaration of function 'NSS_Shutdown'
upsclient.c:446: warning: implicit declaration of function 'PR_Cleanup'
upsclient.c:451: warning: implicit declaration of function 'PL_ArenaFinish'
upsclient.c: In function 'upscli_strerror':
upsclient.c:502: warning: implicit declaration of function
'PR_GetErrorTextLength'
upsclient.c:503: warning: implicit declaration of function 'PR_GetErrorText'
upsclient.c: In function 'net_read':
upsclient.c:560: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:564: warning: implicit declaration of function 'PR_Read'
upsclient.c:564: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c: In function 'net_write':
upsclient.c:621: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:625: warning: implicit declaration of function 'PR_Write'
upsclient.c:625: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c: In function 'upscli_sslinit':
upsclient.c:665: error: 'SECStatus' undeclared (first use in this function)
upsclient.c:665: error: expected ';' before 'status'
upsclient.c:666: error: 'PRFileDesc' undeclared (first use in this function)
upsclient.c:741: warning: implicit declaration of function
'PR_ImportTCPSocket'
upsclient.c:741: error: lvalue required as left operand of assignment
upsclient.c:747: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:747: warning: implicit declaration of function 'SSL_ImportFD'
upsclient.c:748: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:753: warning: implicit declaration of function
'SSL_SetPKCS11PinArg'
upsclient.c:753: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:759: error: 'status' undeclared (first use in this function)
upsclient.c:759: warning: implicit declaration of function
'SSL_AuthCertificateHook'
upsclient.c:759: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:760: error: 'SSLAuthCertificate' undeclared (first use in this
function)
upsclient.c:760: error: expected ')' before 'AuthCertificate'
upsclient.c:762: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:763: error: expected ')' before 'AuthCertificateDontVerify'
upsclient.c:765: error: 'SECSuccess' undeclared (first use in this function)
upsclient.c:770: warning: implicit declaration of function 'SSL_BadCertHook'
upsclient.c:770: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:770: error: 'SSLBadCertHandler' undeclared (first use in this
function)
upsclient.c:770: error: expected ')' before 'BadCertHandler'
upsclient.c:776: warning: implicit declaration of function
'SSL_GetClientAuthDataHook'
upsclient.c:776: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:776: error: 'SSLGetClientAuthData' undeclared (first use in
this function)
upsclient.c:776: error: expected ')' before 'GetClientAuthData'
upsclient.c:782: warning: implicit declaration of function
'SSL_HandshakeCallback'
upsclient.c:782: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:782: error: 'SSLHandshakeCallback' undeclared (first use in
this function)
upsclient.c:782: error: expected ')' before 'HandshakeCallback'
upsclient.c:792: warning: implicit declaration of function 'SSL_SetURL'
upsclient.c:792: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:795: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:802: warning: implicit declaration of function
'SSL_ResetHandshake'
upsclient.c:802: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:802: error: 'PR_FALSE' undeclared (first use in this function)
upsclient.c:805: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:810: warning: implicit declaration of function
'SSL_ForceHandshake'
upsclient.c:810: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:813: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c: In function 'upscli_readline':
upsclient.c:1373: error: 'UPSCONN_t' has no member named 'readidx'
upsclient.c:1373: error: 'UPSCONN_t' has no member named 'readlen'
upsclient.c:1375: error: 'UPSCONN_t' has no member named 'readbuf'
upsclient.c:1375: error: 'UPSCONN_t' has no member named 'readbuf'
upsclient.c:1382: error: 'UPSCONN_t' has no member named 'readlen'
upsclient.c:1383: error: 'UPSCONN_t' has no member named 'readidx'
upsclient.c:1386: error: 'UPSCONN_t' has no member named 'readbuf'
upsclient.c:1386: error: 'UPSCONN_t' has no member named 'readidx'
upsclient.c: In function 'upscli_disconnect':
upsclient.c:1515: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:1516: warning: implicit declaration of function 'PR_Shutdown'
upsclient.c:1516: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:1516: error: 'PR_SHUTDOWN_BOTH' undeclared (first use in this
function)
upsclient.c:1517: warning: implicit declaration of function 'PR_Close'
upsclient.c:1517: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c:1518: error: 'UPSCONN_t' has no member named 'ssl'
upsclient.c: In function 'upscli_ssl':
upsclient.c:1567: error: 'UPSCONN_t' has no member named 'ssl'
make[1]: *** [upsclient.lo] Error 1
make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/clients'
make: *** [all-recursive] Error 1



-- 
Leopo C.M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150212/7677593e/attachment-0001.html>


More information about the Nut-upsuser mailing list