<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I need help because I can't install Nut in RedHat EL 6.6<br></div>The version of Nut in repository ot RHEL is 2.6.5-2, but doesn't suppor my UPS, <br></div>Liebert GXT3-200RT.<br></div>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.<br></div>Follow the guide, I can downlad lasted version stable on web: 2.7.2<br></div>Here the errors and info from terminal:<br></div>Thanks a lot for help me.<br><div>----------------------<br><b>[artesano@artesano nut-2.7.2]$ ./configure --with-user=artesano --with-group=nut --with-usb</b><br>Network UPS Tools version 2.7.2<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking target system type... x86_64-unknown-linux-gnu<br>checking for host system name... redhat<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking for autoconf macro to enable system extensions... yes<br>checking for style of include used by make... GNU<br>checking for gcc... gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking dependency style of gcc... gcc3<br>checking how to run the C preprocessor... gcc -E<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking minix/config.h usability... no<br>checking minix/config.h presence... no<br>checking for minix/config.h... no<br>checking whether it is safe to define __EXTENSIONS__... yes<br>checking whether to enable maintainer-specific portions of Makefiles... no<br>checking for gcc... (cached) gcc<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ISO C89... (cached) none needed<br>checking dependency style of gcc... (cached) gcc3<br>checking whether gcc and cc understand -c and -o together... yes<br>checking how to run the C preprocessor... gcc -E<br>checking for g++... no<br>checking for c++... no<br>checking for gpp... no<br>checking for aCC... no<br>checking for CC... no<br>checking for cxx... no<br>checking for cc++... no<br>checking for cl.exe... no<br>checking for FCC... no<br>checking for KCC... no<br>checking for RCC... no<br>checking for xlC_r... no<br>checking for xlC... no<br>checking whether we are using the GNU C++ compiler... no<br>checking whether g++ accepts -g... no<br>checking dependency style of g++... none<br>checking for egrep... (cached) /bin/grep -E<br>checking for ar... /usr/bin/ar<br>checking for ranlib... ranlib<br>checking whether byte ordering is bigendian... no<br>checking for inline... inline<br>checking for flexible array members... yes<br>checking for variable-length arrays... yes<br>checking for flock... yes<br>checking for lockf... yes<br>checking for fcvt... yes<br>checking for fcvtl... no<br>checking for cfsetispeed... yes<br>checking for tcsendbreak... yes<br>checking for seteuid... yes<br>checking for setsid... yes<br>checking for getpassphrase... no<br>checking for on_exit... yes<br>checking for strptime... yes<br>checking for setlogmask... yes<br>checking whether LOG_UPTO is declared... yes<br>checking for vsnprintf... yes<br>checking for snprintf... yes<br>checking for setenv... yes<br>checking for strerror... yes<br>checking for atexit... yes<br>checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking for CPPUNIT... no<br>configure: WARNING: libcppunit not found.<br>checking whether optind is declared... yes<br>checking for getopt.h... yes<br>checking for getopt_long... yes<br>checking whether uu_lock is declared... no<br>checking whether __func__ is declared... yes<br>checking for library containing gethostbyname... none required<br>checking for library containing connect... none required<br>checking whether time.h and sys/time.h may both be included... yes<br>checking for sys/modem.h... no<br>checking for stdarg.h... yes<br>checking for varargs.h... no<br>checking for sys/termios.h... yes<br>checking for sys/time.h... yes<br>checking for library containing pthread_create... -lpthread<br>checking for socklen_t... yes<br>checking for --with-all... not given<br>checking for Net-SNMP version via net-snmp-config... none found<br>checking for Net-SNMP cflags... <br>checking for Net-SNMP libs... <br>checking for net-snmp/net-snmp-config.h... no<br>checking for init_snmp... no<br>checking for libusb version via pkg-config... 0.1.12 found<br>checking for libusb cflags...  <br>checking for libusb ldflags... -lusb  <br>checking for usb.h... yes<br>checking for usb_init... yes<br>checking for usb_detach_kernel_driver_np... yes<br>checking for libneon version via pkg-config (0.25.0 minimum required)... none found<br>checking for libneon cflags... <br>checking for libneon ldflags... <br>checking for ne_xmlreq.h... no<br>checking for ne_xml_dispatch_request... no<br>checking for libpowerman cflags... <br>checking for libpowerman libs... <br>checking for libpowerman.h... no<br>checking for pm_connect... no<br>checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found<br>checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found<br>checking for avahi cflags... <br>checking for avahi ldflags... <br>checking for avahi-common/malloc.h... no<br>checking for avahi_free... no<br>checking whether to build serial drivers... yes <br>checking whether to build USB drivers... yes <br>checking whether to build SNMP drivers... no <br>checking whether to build neon based XML driver... no <br>checking whether to enable Avahi support... no <br>checking whether to build Powerman PDU client driver... no <br>checking for FreeIPMI version via pkg-config... none found<br>checking for FreeIPMI cflags... <br>checking for FreeIPMI ldflags... -lfreeipmi -lipmimonitoring<br>checking for freeipmi/freeipmi.h... no<br>checking for ipmi_monitoring.h... no<br>checking for library containing ipmi_ctx_create... no<br>checking for library containing ipmi_ctx_find_inband... no<br>checking for library containing ipmi_monitoring_init... no<br>checking for library containing ipmi_monitoring_sensor_read_record_id... no<br>checking for library containing ipmi_sdr_cache_ctx_destroy... no<br>checking for library containing ipmi_sdr_ctx_destroy... no<br>checking whether to build IPMI driver... no <br>checking whether to build Mac OS X meta-driver... no <br>checking for OpenSSL version via pkg-config... none found<br>checking for OpenSSL cflags... <br>checking for OpenSSL ldflags... -lssl -lcrypto<br>checking for openssl/ssl.h... no<br>checking for SSL_library_init... no<br>checking for Mozilla NSS version via pkg-config... none found<br>checking for Mozilla NSS cflags... <br>checking for Mozilla NSS ldflags... -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4<br>checking for nss.h... yes<br>checking for NSS_Init... yes<br>checking whether to enable SSL support... yes (Mozilla NSS)<br>checking for tcpd.h... no<br>checking for library containing yp_get_default_domain... -lnsl<br>checking for library containing request_init... no<br>checking whether to enable libwrap (tcp-wrappers) support... no <br>checking for libltdl cflags... -g -O2 -Wall -Wsign-compare<br>checking for libltdl ldflags... <br>checking for ltdl.h... no<br>checking for library containing lt_dlinit... no<br>checking whether to enable libltdl (Libtool dlopen abstraction) support... no <br>checking whether to build CGI programs... no <br>checking for asciidoc... no<br>checking for a2x... no<br>checking for dblatex... no<br>checking if asciidoc version can build manpages (minimum required 8.6.3)... no<br>checking if a2x version can build manpages (minimum required 8.6.3)... no<br>checking whether to build and install documentation... no <br>checking how to print strings... printf<br>checking for a sed that does not truncate output... /bin/sed<br>checking for fgrep... /bin/grep -F<br>checking for ld used by gcc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>checking whether ln -s works... yes<br>checking the maximum length of command line arguments... 1966080<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop<br>checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for objdump... objdump<br>checking how to recognize dependent libraries... pass_all<br>checking for dlltool... no<br>checking how to associate runtime and link libraries... printf %s\n<br>checking for archiver @FILE support... @<br>checking for strip... strip<br>checking for ranlib... (cached) ranlib<br>checking command to parse /usr/bin/nm -B output from gcc object... ok<br>checking for sysroot... no<br>checking for mt... no<br>checking if : is a manifest tool... no<br>checking for dlfcn.h... yes<br>checking for objdir... .libs<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -fPIC -DPIC<br>checking if gcc PIC flag -fPIC -DPIC works... yes<br>checking if gcc static flag -static works... no<br>checking if gcc supports -c -o file.o... yes<br>checking if gcc supports -c -o file.o... (cached) yes<br>checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking whether -lc should be explicitly linked in... no<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... yes<br>checking whether to build and install the development files... no <br>checking state path... /var/state/ups<br>checking alt pid path... /var/state/ups<br>checking driver path... ${exec_prefix}/bin<br>checking cgi path... ${exec_prefix}/cgi-bin<br>checking html path... ${prefix}/html<br>checking pidpath... /var/run<br>checking network port number... 3493<br>checking user to run as... artesano<br>checking group membership of user to run as... nut<br>checking facility for syslog... LOG_DAEMON<br>checking which drivers to build... all available<br>checking which driver man pages to install... all available<br>checking whether to strip debug symbols... no<br>checking whether to install pkg-config *.pc files... using ${libdir}/pkgconfig<br>checking for pkg-config... (cached) /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking whether to install systemd files... no<br>checking whether to install hotplug rules... no<br>checking whether to install udev rules... using /lib/udev<br>checking whether to install FreeBSD devd.conf file... no<br>checking for asciidoc... no<br>checking for a2x... no<br>checking for aspell... no<br>configure: creating ./config.status<br>config.status: creating clients/Makefile<br>config.status: creating common/Makefile<br>config.status: creating conf/Makefile<br>config.status: creating conf/upsmon.conf.sample<br>config.status: creating conf/upssched.conf.sample<br>config.status: creating data/html/header.html<br>config.status: creating data/html/Makefile<br>config.status: creating data/Makefile<br>config.status: creating data/driver.list<br>config.status: creating docs/Makefile<br>config.status: creating docs/man/Makefile<br>config.status: creating drivers/Makefile<br>config.status: creating include/Makefile<br>config.status: creating lib/libupsclient-config<br>config.status: creating lib/libupsclient.pc<br>config.status: creating lib/libnutclient.pc<br>config.status: creating lib/libnutscan.pc<br>config.status: creating lib/Makefile<br>config.status: creating scripts/augeas/Makefile<br>config.status: creating scripts/augeas/nutnutconf.aug<br>config.status: creating scripts/augeas/nutupsconf.aug<br>config.status: creating scripts/augeas/nutupsdconf.aug<br>config.status: creating scripts/augeas/nutupsdusers.aug<br>config.status: creating scripts/augeas/nutupsmonconf.aug<br>config.status: creating scripts/augeas/nutupsschedconf.aug<br>config.status: creating scripts/augeas/nuthostsconf.aug<br>config.status: creating scripts/augeas/nutupssetconf.aug<br>config.status: creating scripts/avahi/nut.service<br>config.status: creating scripts/devd/Makefile<br>config.status: creating scripts/devd/nut-usb.conf<br>config.status: creating scripts/hotplug/Makefile<br>config.status: creating scripts/hotplug/libhidups<br>config.status: creating scripts/HP-UX/nut.psf<br>config.status: creating scripts/HP-UX/postinstall<br>config.status: creating scripts/python/Makefile<br>config.status: creating scripts/systemd/Makefile<br>config.status: creating scripts/systemd/nut-driver.service<br>config.status: creating scripts/systemd/nut-monitor.service<br>config.status: creating scripts/systemd/nut-server.service<br>config.status: creating scripts/systemd/nutshutdown<br>config.status: creating scripts/Solaris/Makefile<br>config.status: creating scripts/Solaris/pkginfo<br>config.status: creating scripts/Solaris/postinstall<br>config.status: creating scripts/Solaris/preremove<br>config.status: creating scripts/Solaris/nut<br>config.status: creating scripts/udev/Makefile<br>config.status: creating scripts/udev/nut-ipmipsu.rules<br>config.status: creating scripts/udev/nut-usbups.rules<br>config.status: creating scripts/ufw/nut.ufw.profile<br>config.status: creating scripts/Makefile<br>config.status: creating server/Makefile<br>config.status: creating tools/Makefile<br>config.status: creating tools/nut-scanner/Makefile<br>config.status: creating tests/Makefile<br>config.status: creating Makefile<br>config.status: creating include/config.h<br>config.status: include/config.h is unchanged<br>config.status: executing depfiles commands<br>config.status: executing libtool commands<br><br>Configuration summary:<br>======================<br>build serial drivers: yes <br>build USB drivers: yes <br>build SNMP drivers: no <br>build neon based XML driver: no <br>enable Avahi support: no <br>build Powerman PDU client driver: no <br>build IPMI driver: no <br>build Mac OS X meta-driver: no <br>enable SSL support: yes (Mozilla NSS)<br>enable libwrap (tcp-wrappers) support: no <br>enable libltdl (Libtool dlopen abstraction) support: no <br>build nut-scanner: no<br>build CGI programs: no <br>build and install documentation: no <br>build and install the development files: no<br>-----------------------<br><b>[artesano@artesano nut-2.7.2]$ make</b><br>Making all in include<br>make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/include'<br>NUT_VERSION: "2.7.2"<br>test -f nut_version.h || cp _nut_version.h nut_version.h<br>cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h<br>rm -f _nut_version.h<br>make  all-am<br>make[2]: Entering directory `/home/artesano/Downloads/nut-2.7.2/include'<br>make[2]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/include'<br>make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/include'<br>Making all in common<br>make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/common'<br>/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<br>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<br>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<br>mv -f .deps/parseconf.Tpo .deps/parseconf.Plo<br>/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare   -o <a href="http://libparseconf.la">libparseconf.la</a>  parseconf.lo  -lpthread <br>libtool: link: /usr/bin/ar cru .libs/libparseconf.a .libs/parseconf.o <br>libtool: link: ranlib .libs/libparseconf.a<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libparseconf.la">libparseconf.la</a>" && ln -s "../<a href="http://libparseconf.la">libparseconf.la</a>" "<a href="http://libparseconf.la">libparseconf.la</a>" )<br>/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<br>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<br>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<br>mv -f .deps/common.Tpo .deps/common.Plo<br>/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<br>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<br>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<br>mv -f .deps/state.Tpo .deps/state.Plo<br>/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<br>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<br>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<br>mv -f .deps/upsconf.Tpo .deps/upsconf.Plo<br>/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare   -o <a href="http://libcommon.la">libcommon.la</a>  common.lo state.lo upsconf.lo <a href="http://libparseconf.la">libparseconf.la</a>  -lpthread <br>libtool: link: (cd .libs/libcommon.lax/libparseconf.a && /usr/bin/ar x "/home/artesano/Downloads/nut-2.7.2/common/./.libs/libparseconf.a")<br>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 <br>libtool: link: ranlib .libs/libcommon.a<br>libtool: link: rm -fr .libs/libcommon.lax<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libcommon.la">libcommon.la</a>" && ln -s "../<a href="http://libcommon.la">libcommon.la</a>" "<a href="http://libcommon.la">libcommon.la</a>" )<br>/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare   -o <a href="http://libcommonclient.la">libcommonclient.la</a>  common.lo state.lo <a href="http://libparseconf.la">libparseconf.la</a>  -lpthread <br>libtool: link: (cd .libs/libcommonclient.lax/libparseconf.a && /usr/bin/ar x "/home/artesano/Downloads/nut-2.7.2/common/./.libs/libparseconf.a")<br>libtool: link: /usr/bin/ar cru .libs/libcommonclient.a .libs/common.o .libs/state.o   .libs/libcommonclient.lax/libparseconf.a/parseconf.o <br>libtool: link: ranlib .libs/libcommonclient.a<br>libtool: link: rm -fr .libs/libcommonclient.lax<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libcommonclient.la">libcommonclient.la</a>" && ln -s "../<a href="http://libcommonclient.la">libcommonclient.la</a>" "<a href="http://libcommonclient.la">libcommonclient.la</a>" )<br>make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/common'<br>Making all in clients<br>make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2/clients'<br>/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<br>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<br>In file included from upsclient.c:40:<br>upsclient.h:28:18: error: ssl.h: No such file or directory<br>In file included from upsclient.c:40:<br>upsclient.h:58: error: expected specifier-qualifier-list before 'PRFileDesc'<br>upsclient.c:45:22: error: prerror.h: No such file or directory<br>upsclient.c:46:21: error: prinit.h: No such file or directory<br>upsclient.c:47:23: error: pk11func.h: No such file or directory<br>upsclient.c:48:22: error: prtypes.h: No such file or directory<br>upsclient.c:50:28: error: private/pprio.h: No such file or directory<br>upsclient.c:184: error: expected ')' before '*' token<br>upsclient.c: In function 'nss_error':<br>upsclient.c:195: error: 'PRInt32' undeclared (first use in this function)<br>upsclient.c:195: error: (Each undeclared identifier is reported only once<br>upsclient.c:195: error: for each function it appears in.)<br>upsclient.c:195: error: expected ';' before 'length'<br>upsclient.c:196: error: 'length' undeclared (first use in this function)<br>upsclient.c:197: warning: implicit declaration of function 'PR_GetError'<br>upsclient.c: At top level:<br>upsclient.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AuthCertificate'<br>upsclient.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AuthCertificateDontVerify'<br>upsclient.c:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BadCertHandler'<br>upsclient.c:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetClientAuthData'<br>upsclient.c:274: error: expected ')' before '*' token<br>upsclient.c: In function 'upscli_init':<br>upsclient.c:293: error: 'SECStatus' undeclared (first use in this function)<br>upsclient.c:293: error: expected ';' before 'status'<br>upsclient.c:344: warning: implicit declaration of function 'PR_Init'<br>upsclient.c:344: error: 'PR_USER_THREAD' undeclared (first use in this function)<br>upsclient.c:344: error: 'PR_PRIORITY_NORMAL' undeclared (first use in this function)<br>upsclient.c:346: warning: implicit declaration of function 'PK11_SetPasswordFunc'<br>upsclient.c:346: error: 'nss_password_callback' undeclared (first use in this function)<br>upsclient.c:350: error: 'status' undeclared (first use in this function)<br>upsclient.c:350: warning: implicit declaration of function 'NSS_Init'<br>upsclient.c:353: warning: implicit declaration of function 'NSS_NoDB_Init'<br>upsclient.c:355: error: 'SECSuccess' undeclared (first use in this function)<br>upsclient.c:361: warning: implicit declaration of function 'NSS_SetDomesticPolicy'<br>upsclient.c:368: warning: implicit declaration of function 'SSL_ClearSessionCache'<br>upsclient.c:370: warning: implicit declaration of function 'SSL_OptionSetDefault'<br>upsclient.c:370: error: 'SSL_ENABLE_SSL3' undeclared (first use in this function)<br>upsclient.c:370: error: 'PR_TRUE' undeclared (first use in this function)<br>upsclient.c:376: error: 'SSL_ENABLE_TLS' undeclared (first use in this function)<br>upsclient.c:382: error: 'SSL_V2_COMPATIBLE_HELLO' undeclared (first use in this function)<br>upsclient.c:382: error: 'PR_FALSE' undeclared (first use in this function)<br>upsclient.c: In function 'upscli_cleanup':<br>upsclient.c:445: warning: implicit declaration of function 'NSS_Shutdown'<br>upsclient.c:446: warning: implicit declaration of function 'PR_Cleanup'<br>upsclient.c:451: warning: implicit declaration of function 'PL_ArenaFinish'<br>upsclient.c: In function 'upscli_strerror':<br>upsclient.c:502: warning: implicit declaration of function 'PR_GetErrorTextLength'<br>upsclient.c:503: warning: implicit declaration of function 'PR_GetErrorText'<br>upsclient.c: In function 'net_read':<br>upsclient.c:560: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:564: warning: implicit declaration of function 'PR_Read'<br>upsclient.c:564: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c: In function 'net_write':<br>upsclient.c:621: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:625: warning: implicit declaration of function 'PR_Write'<br>upsclient.c:625: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c: In function 'upscli_sslinit':<br>upsclient.c:665: error: 'SECStatus' undeclared (first use in this function)<br>upsclient.c:665: error: expected ';' before 'status'<br>upsclient.c:666: error: 'PRFileDesc' undeclared (first use in this function)<br>upsclient.c:741: warning: implicit declaration of function 'PR_ImportTCPSocket'<br>upsclient.c:741: error: lvalue required as left operand of assignment<br>upsclient.c:747: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:747: warning: implicit declaration of function 'SSL_ImportFD'<br>upsclient.c:748: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:753: warning: implicit declaration of function 'SSL_SetPKCS11PinArg'<br>upsclient.c:753: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:759: error: 'status' undeclared (first use in this function)<br>upsclient.c:759: warning: implicit declaration of function 'SSL_AuthCertificateHook'<br>upsclient.c:759: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:760: error: 'SSLAuthCertificate' undeclared (first use in this function)<br>upsclient.c:760: error: expected ')' before 'AuthCertificate'<br>upsclient.c:762: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:763: error: expected ')' before 'AuthCertificateDontVerify'<br>upsclient.c:765: error: 'SECSuccess' undeclared (first use in this function)<br>upsclient.c:770: warning: implicit declaration of function 'SSL_BadCertHook'<br>upsclient.c:770: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:770: error: 'SSLBadCertHandler' undeclared (first use in this function)<br>upsclient.c:770: error: expected ')' before 'BadCertHandler'<br>upsclient.c:776: warning: implicit declaration of function 'SSL_GetClientAuthDataHook'<br>upsclient.c:776: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:776: error: 'SSLGetClientAuthData' undeclared (first use in this function)<br>upsclient.c:776: error: expected ')' before 'GetClientAuthData'<br>upsclient.c:782: warning: implicit declaration of function 'SSL_HandshakeCallback'<br>upsclient.c:782: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:782: error: 'SSLHandshakeCallback' undeclared (first use in this function)<br>upsclient.c:782: error: expected ')' before 'HandshakeCallback'<br>upsclient.c:792: warning: implicit declaration of function 'SSL_SetURL'<br>upsclient.c:792: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:795: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:802: warning: implicit declaration of function 'SSL_ResetHandshake'<br>upsclient.c:802: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:802: error: 'PR_FALSE' undeclared (first use in this function)<br>upsclient.c:805: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:810: warning: implicit declaration of function 'SSL_ForceHandshake'<br>upsclient.c:810: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:813: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c: In function 'upscli_readline':<br>upsclient.c:1373: error: 'UPSCONN_t' has no member named 'readidx'<br>upsclient.c:1373: error: 'UPSCONN_t' has no member named 'readlen'<br>upsclient.c:1375: error: 'UPSCONN_t' has no member named 'readbuf'<br>upsclient.c:1375: error: 'UPSCONN_t' has no member named 'readbuf'<br>upsclient.c:1382: error: 'UPSCONN_t' has no member named 'readlen'<br>upsclient.c:1383: error: 'UPSCONN_t' has no member named 'readidx'<br>upsclient.c:1386: error: 'UPSCONN_t' has no member named 'readbuf'<br>upsclient.c:1386: error: 'UPSCONN_t' has no member named 'readidx'<br>upsclient.c: In function 'upscli_disconnect':<br>upsclient.c:1515: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:1516: warning: implicit declaration of function 'PR_Shutdown'<br>upsclient.c:1516: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:1516: error: 'PR_SHUTDOWN_BOTH' undeclared (first use in this function)<br>upsclient.c:1517: warning: implicit declaration of function 'PR_Close'<br>upsclient.c:1517: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c:1518: error: 'UPSCONN_t' has no member named 'ssl'<br>upsclient.c: In function 'upscli_ssl':<br>upsclient.c:1567: error: 'UPSCONN_t' has no member named 'ssl'<br>make[1]: *** [upsclient.lo] Error 1<br>make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2/clients'<br>make: *** [all-recursive] Error 1<br><br><br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div>Leopo C.M.</div>
</div></div></div></div></div></div></div></div></div></div>