Removing user nut from group tty Adding user nut to group uucp Adding user haldaemon to group nut Adding user nut to group nut * Please note that NUT now runs under the 'nut' user. * NUT is in the uucp group for access to RS-232 UPS. * However if you use a USB UPS you may need to look at the udev or * hotplug rules that are installed, and alter them suitably. * If you use hald, you may be able to skip the normal init scripts. * You are strongly advised to read the UPGRADING file provided by upstream. * Please note that upsdrv is NOT automatically started by upsd anymore. * If you have multiple UPS units, you can use their NUT names to * have a service per UPS: * ln -s /etc/init.d/upsdrv /etc/init.d/upsdrv.$UPSNAME >>> Unpacking source... >>> Unpacking nut-2.2.2.tar.gz to /var/tmp/portage/sys-power/nut-2.2.2/work * Replacing obsolete head/tail with POSIX compliant ones * - fixed configure.in * Applying nut-2.2.2-no-libdummy.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2' ... * Running aclocal -I m4 ...  [ ok ] * Running libtoolize --copy --force --install --automake ...  [ ok ] * Running aclocal -I m4 ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy ...  [ ok ] * Running elibtoolize in: nut-2.2.2 * Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2 ... * econf: updating nut-2.2.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating nut-2.2.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-user=nut --with-group=nut --with-drvpath=/lib/nut --sysconfdir=/etc/nut --with-logfacility=LOG_DAEMON --with-statepath=/var/lib/nut --with-htmlpath=/usr/share/nut/html --datarootdir=/usr/share/nut --datadir=/usr/share/nut --with-dev --with-neonxml --with-hal --with-ssl --with-usb --without-snmp --without-cgi --without-cgipath --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu Network UPS Tools version 2.2.2 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-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... -L/usr/lib64 -lusb checking for libhal version via pkg-config (0.5.8 minimum required)... 0.5.11 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... -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... /usr/lib64/hal checking for libhal Device Information path... /usr/share/nut/hal/fdi/information/20thirdparty checking for libneon version via pkg-config (0.25.0 minimum required)... 0.28.2 found checking for libneon has ne_set_connect_timeout()... found checking for libneon cflags via pkg-config... -I/usr/include/neon checking for libneon ldflags via pkg-config... -lneon 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 whether to build CGI programs... no checking whether to build and install the development files... yes checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/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... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... /usr/bin/ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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... 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... yes checking state path... /var/lib/nut checking alt pid path... /var/lib/nut checking driver path... /lib/nut checking cgi path... ${exec_prefix}/cgi-bin checking html path... /usr/share/nut/html checking pidpath... /var/run checking network port number... 3493 checking user to run as... nut 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... ${libdir}/pkgconfig using ${libdir}/pkgconfig checking whether to install hotplug rules... using /etc/hotplug 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 config.status: executing libtool commands Configuration summary: enable SSL development code: yes enable IPv6 support: yes build CGI programs: no build and install the development files: yes build serial drivers: yes build SNMP drivers: no build USB drivers: yes enable HAL support: yes build neon based XML driver: yes Making all in include make[1]: Entering directory `/var/tmp/portage/sys-power/nut-2.2.2/work/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 `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/include' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/include' make[1]: Leaving directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/include' Making all in common make[1]: Entering directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/common' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsconf.o -MD -MP -MF .deps/upsconf.Tpo -c -o upsconf.o upsconf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT parseconf.o -MD -MP -MF .deps/parseconf.Tpo -c -o parseconf.o parseconf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT parseconf.lo -MD -MP -MF .deps/parseconf.Tpo -c -o parseconf.lo parseconf.c mv -f .deps/parseconf.Tpo .deps/parseconf.Po mv -f .deps/common.Tpo .deps/common.Po mv -f .deps/upsconf.Tpo .deps/upsconf.Po rm -f libcommon.a /usr/bin/ar cru libcommon.a common.o x86_64-pc-linux-gnu-ranlib libcommon.a mv -f .deps/state.Tpo .deps/state.Po libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -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 `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/common' Making all in clients make[1]: Entering directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/clients' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c -o upsclient.lo upsclient.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsc.o -MD -MP -MF .deps/upsc.Tpo -c -o upsc.o upsc.c (cd ../common/ && make libcommon.a) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upslog.o -MD -MP -MF .deps/upslog.Tpo -c -o upslog.o upslog.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsrw.o -MD -MP -MF .deps/upsrw.Tpo -c -o upsrw.o upsrw.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upscmd.o -MD -MP -MF .deps/upscmd.Tpo -c -o upscmd.o upscmd.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsmon.o -MD -MP -MF .deps/upsmon.Tpo -c -o upsmon.o upsmon.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upssched.o -MD -MP -MF .deps/upssched.Tpo -c -o upssched.o upssched.c make[2]: Entering directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/common' (cd ../include/ && make nut_version.h) libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -MT upsclient.lo -MD -MP -MF .deps/upsclient.Tpo -c upsclient.c -fPIC -DPIC -o .libs/upsclient.o make[3]: Entering directory `/var/tmp/portage/sys-power/nut-2.2.2/work/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 mv -f .deps/upslog.Tpo .deps/upslog.Po rm -f _nut_version.h make[3]: Leaving directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/include' make[2]: Leaving directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/common' mv -f .deps/upscmd.Tpo .deps/upscmd.Po mv -f .deps/upsc.Tpo .deps/upsc.Po mv -f .deps/upsrw.Tpo .deps/upsrw.Po mv -f .deps/upssched.Tpo .deps/upssched.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upssched upssched.o ../common/libcommon.a ../common/parseconf.o mv -f .deps/upsclient.Tpo .deps/upsclient.Plo /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -version-info 1:0:0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o libupsclient.la -rpath /usr/lib64 upsclient.lo ../common/parseconf.lo libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upssched upssched.o ../common/parseconf.o ../common/libcommon.a libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/upsclient.o ../common/.libs/parseconf.o -march=native -mtune=native -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-soname -Wl,libupsclient.so.1 -o .libs/libupsclient.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libupsclient.so.1" && ln -s "libupsclient.so.1.0.0" "libupsclient.so.1") libtool: link: (cd ".libs" && rm -f "libupsclient.so" && ln -s "libupsclient.so.1.0.0" "libupsclient.so") libtool: link: ( cd ".libs" && rm -f "libupsclient.la" && ln -s "../libupsclient.la" "libupsclient.la" ) /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upsc upsc.o ../common/libcommon.a libupsclient.la -lssl -lcrypto /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upslog upslog.o ../common/libcommon.a libupsclient.la -lssl -lcrypto /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upsrw upsrw.o ../common/libcommon.a libupsclient.la -lssl -lcrypto /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upscmd upscmd.o ../common/libcommon.a libupsclient.la -lssl -lcrypto libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/upsc upsc.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto mv -f .deps/upsmon.Tpo .deps/upsmon.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o upsmon upsmon.o ../common/libcommon.a libupsclient.la -lssl -lcrypto libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/upslog upslog.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto ./.libs/libupsclient.so: undefined reference to `TLSv1_client_method' ./.libs/libupsclient.so: undefined reference to `SSL_load_error_strings' ./.libs/libupsclient.so: undefined reference to `SSL_free' ./.libs/libupsclient.so: undefined reference to `SSL_set_connect_state' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_new' ./.libs/libupsclient.so: undefined reference to `SSL_read' ./.libs/libupsclient.so: undefined reference to `SSL_set_fd' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_load_verify_locations' ./.libs/libupsclient.so: undefined reference to `ERR_get_error' ./.libs/libupsclient.so: undefined reference to `ERR_error_string' ./.libs/libupsclient.so: undefined reference to `SSL_library_init' ./.libs/libupsclient.so: undefined reference to `SSL_new' ./.libs/libupsclient.so: undefined reference to `SSL_write' ./.libs/libupsclient.so: undefined reference to `SSL_set_verify' ./.libs/libupsclient.so: undefined reference to `SSL_shutdown' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make[1]: *** [upsc] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/upscmd upscmd.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto ./.libs/libupsclient.so: undefined reference to `TLSv1_client_method' ./.libs/libupsclient.so: undefined reference to `SSL_load_error_strings' ./.libs/libupsclient.so: undefined reference to `SSL_free' ./.libs/libupsclient.so: undefined reference to `SSL_set_connect_state' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_new' ./.libs/libupsclient.so: undefined reference to `SSL_read' ./.libs/libupsclient.so: undefined reference to `SSL_set_fd' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_load_verify_locations' ./.libs/libupsclient.so: undefined reference to `ERR_get_error' ./.libs/libupsclient.so: undefined reference to `ERR_error_string' ./.libs/libupsclient.so: undefined reference to `SSL_library_init' ./.libs/libupsclient.so: undefined reference to `SSL_new' ./.libs/libupsclient.so: undefined reference to `SSL_write' ./.libs/libupsclient.so: undefined reference to `SSL_set_verify' ./.libs/libupsclient.so: undefined reference to `SSL_shutdown' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make[1]: *** [upslog] Error 1 libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/upsrw upsrw.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto ./.libs/libupsclient.so: undefined reference to `TLSv1_client_method' ./.libs/libupsclient.so: undefined reference to `SSL_load_error_strings' ./.libs/libupsclient.so: undefined reference to `SSL_free' ./.libs/libupsclient.so: undefined reference to `SSL_set_connect_state' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_new' ./.libs/libupsclient.so: undefined reference to `SSL_read' ./.libs/libupsclient.so: undefined reference to `SSL_set_fd' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_load_verify_locations' ./.libs/libupsclient.so: undefined reference to `ERR_get_error' ./.libs/libupsclient.so: undefined reference to `ERR_error_string' ./.libs/libupsclient.so: undefined reference to `SSL_library_init' ./.libs/libupsclient.so: undefined reference to `SSL_new' ./.libs/libupsclient.so: undefined reference to `SSL_write' ./.libs/libupsclient.so: undefined reference to `SSL_set_verify' ./.libs/libupsclient.so: undefined reference to `SSL_shutdown' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make[1]: *** [upscmd] Error 1 ./.libs/libupsclient.so: undefined reference to `TLSv1_client_method' ./.libs/libupsclient.so: undefined reference to `SSL_load_error_strings' ./.libs/libupsclient.so: undefined reference to `SSL_free' ./.libs/libupsclient.so: undefined reference to `SSL_set_connect_state' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_new' ./.libs/libupsclient.so: undefined reference to `SSL_read' ./.libs/libupsclient.so: undefined reference to `SSL_set_fd' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_load_verify_locations' ./.libs/libupsclient.so: undefined reference to `ERR_get_error' ./.libs/libupsclient.so: undefined reference to `ERR_error_string' ./.libs/libupsclient.so: undefined reference to `SSL_library_init' ./.libs/libupsclient.so: undefined reference to `SSL_new' ./.libs/libupsclient.so: undefined reference to `SSL_write' ./.libs/libupsclient.so: undefined reference to `SSL_set_verify' ./.libs/libupsclient.so: undefined reference to `SSL_shutdown' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make[1]: *** [upsrw] Error 1 libtool: link: x86_64-pc-linux-gnu-gcc -I../include -O3 -pipe -march=native -mtune=native -ftree-vectorize -Wall -Wsign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/upsmon upsmon.o ../common/libcommon.a ./.libs/libupsclient.so -lssl -lcrypto ./.libs/libupsclient.so: undefined reference to `TLSv1_client_method' ./.libs/libupsclient.so: undefined reference to `SSL_load_error_strings' ./.libs/libupsclient.so: undefined reference to `SSL_free' ./.libs/libupsclient.so: undefined reference to `SSL_set_connect_state' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_new' ./.libs/libupsclient.so: undefined reference to `SSL_read' ./.libs/libupsclient.so: undefined reference to `SSL_set_fd' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_load_verify_locations' ./.libs/libupsclient.so: undefined reference to `ERR_get_error' ./.libs/libupsclient.so: undefined reference to `ERR_error_string' ./.libs/libupsclient.so: undefined reference to `SSL_library_init' ./.libs/libupsclient.so: undefined reference to `SSL_new' ./.libs/libupsclient.so: undefined reference to `SSL_write' ./.libs/libupsclient.so: undefined reference to `SSL_set_verify' ./.libs/libupsclient.so: undefined reference to `SSL_shutdown' ./.libs/libupsclient.so: undefined reference to `SSL_CTX_free' collect2: ld returned 1 exit status make[1]: *** [upsmon] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-power/nut-2.2.2/work/nut-2.2.2/clients' make: *** [all-recursive] Error 1 * * ERROR: sys-power/nut-2.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2646: Called die * The specific snippet of code: * emake || die "compile problem" * The die message: * compile problem * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-power/nut-2.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/nut-2.2.2/temp/environment'. *