On 2005-12-13T16:05:41, David Lee <[EMAIL PROTECTED]> wrote:
> 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.
Yes, this Makefile.am code is broken, it also breaks for parallelized
builds (occasionally, apparently it depends on timing). I don't know how
to fix it myself.
Does IBM Bejing have access to a SMP machine? Try building with "make
-j0" repeatedly...
Sincerely,
Lars Marowsky-Brée
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/