Even though my configurations won't yet be using "cim", nevertheless it is
important that "cim/Makefile.am" is correct for the "automake" stage (even
though "make" may never descend into there).

I last used CVS/HEAD a couple of weeks ago.  All was well.  But after the
latest checkout, bootstrap gives me:

~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~
   autoheader
   libtoolize --ltdl --force --copy
   automake --add-missing --include-deps --copy
   cim/Makefile.am: object `ha_resource.$(OBJEXT)' created both with libtool 
and without
   cim/Makefile.am: object `cmpi_utils.$(OBJEXT)' created both with libtool and 
without

   ../bootstrap exiting due to error (sorry!).
~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~


I think this is because of some confusion about "_SOURCES" usage.  The
following seems to fix this particular, "automake"-time, problem:

~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~
--- cim/Makefile.am.orig        Tue Dec 13 14:11:43 2005
+++ cim/Makefile.am     Tue Dec 13 14:22:37 2005
@@ -134,5 +134,5 @@

 #--------------------------------------------------------------
 noinst_PROGRAMS            =   simpledemo
-simpledemo_SOURCES  =  ha_resource.c cmpi_utils.c simple_demo.c
+simpledemo_SOURCES  =  simple_demo.c
 simpledemo_LDADD    =  $(COMMONLIBS) liblinuxha_info.la
~~~~~~~~~~~~~~~~~~~ snip ~~~~~~~~~~~~~~~

But I make no claim that this is the best (or even a correct) fix.
For instance, its "_LDADD" line might now need an additional entry or two.

Could someone who has and knows "cim" please try to fix the problem
with a patch something like the one above?  Thanks.


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           Durham University     :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to