[Linux-ha-dev] cim/Makefile.am problem
James Pan
jmltc at cn.ibm.com
Tue Dec 13 23:10:18 MST 2005
fixed temporarily in CVS by simply removing the simple_demo section.
there will be a lot of changes in the coming CIM codes since using the
management
library. so i will try to fix this makefile issue in the new codes.
thank you for your feedbacks, actually i really need more feedbacks:)
And we have hyper thread machines, I will try building on them and to
find out
the problem.
Lars Marowsky-Bree wrote:
>On 2005-12-13T16:05:41, David Lee <t.d.lee at durham.ac.uk> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20051214/4cd79204/attachment.htm
More information about the Linux-HA-Dev
mailing list