[Nut-upsdev] openSUSE 11.0 - NUT

Arnaud Quette aquette.dev at gmail.com
Wed Apr 30 17:24:27 UTC 2008


before going on week end, just a small one line patch to test for the // build

2008/4/30 Arnaud Quette <aquette.dev at gmail.com>:
> ...
>  >  I found another problem - nut-2.2.2-pre3 is not parallel build ready and
>  >  parallel build fails in ~80% of cases. It seems that dependencies are
>  >  not complete.
>  >
>  >  Build on one processor works.
>  >  ...
>
>  I've seen another mail from a SuSE guy, and fwded by Arjen, about
>  libtool and possibly dependencies. I gotta check it.
>  if you have a patch underhand, just forward it. I can wait just a bit
>  more of the final 2.2.2, but not that much since it's already more
>  than late.

--- clients/Makefile.am	(révision 1455)
+++ clients/Makefile.am	(copie de travail)
@@ -1,7 +1,7 @@
 # Network UPS Tools: clients

 # by default, link programs in this directory with libcommon.a
-LDADD = ../common/libcommon.a -lupsclient $(NETLIBS)
+LDADD = ../common/libcommon.a libupsclient.la $(NETLIBS)
 if WITH_SSL
   LDADD += $(LIBSSL_LDFLAGS)
 endif

I've tested it with "make -j2", and 2 config set (--disable-shared for
full static, and --enable-static for linking clients on the shared lib
while still shipping the static lib) and everything seems fine.
Can you confirm on your side?

thanks,
Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/


More information about the Nut-upsdev mailing list