[Nut-upsuser] NUT 2.6.3 compile error @ slackware64-current
Arnaud Quette
aquette.dev at gmail.com
Fri Mar 23 15:24:47 UTC 2012
2012/3/23 Vladi Belperchinov-Shabanski <cade at datamax.bg>
>
> hello,
>
Hi,
I'm adding -upsuser list for info
> from the source documentation I figured you are dev coordinator.
> I'm sorry if I got it wrong and please forward to the correct person
> if possible, thanks!
>
I'm indeed leading NUT, but the preferred support way is through the
mailing list, so that other can answer or be aware of an issue and its
resolution...
> I have problem compiling NUT 2.6.3
>
> http://www.networkupstools.org/source/2.6/nut-2.6.3.tar.gz
>
> the problem is:
>
> ===========================================================================
> make[3]: Entering directory `/home/cade/bad/nut-2.6.3/tools/nut-scanner'
> /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../clients
> -I../../include -g -O2 -Wall -Wsign-compare -o nut-scanner
> nut_scanner-nut-scanner.o libnutscan.la -lpthread
> libtool: link: gcc -I../../clients -I../../include -g -O2 -Wall
> -Wsign-compare -o .libs/nut-scanner nut_scanner-nut-scanner.o
> ./.libs/libnutscan.so -lpthread -Wl,-rpath -Wl,/usr/local/ups/lib
> ./.libs/libnutscan.so: undefined reference to `upscli_tryconnect'
> collect2: ld returned 1 exit status
> make[3]: *** [nut-scanner] Error 1
> make[3]: Leaving directory `/home/cade/bad/nut-2.6.3/tools/nut-scanner'
> make[2]: *** [all] Error 2
> ===========================================================================
>
> OS is Slackware64 Linux, -current
>
ah, Slack! my first (and so oldish now) run into the Linux world.
gcc --version
> gcc (GCC) 4.5.3
>
> make --version
> GNU Make 3.82
> Built for x86_64-slackware-linux-gnu
>
> tell me if you need more info?
>
> Thank you!
>
you have an installed version of libupsclient that is conflicting during
compilation.
Either uninstall NUT prior to the build, or simply remove / rename
libupsclient*so in /usr/local/ups/lib
BTW, are you maintaining Slack packages?
cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120323/39c12d43/attachment.html>
More information about the Nut-upsuser
mailing list