Andrew Beekhof wrote:
> On 7/10/07, Pankaj <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> We are trying to port Linux-HA on an old OS that does not support
>> shared /
>> dynamic libraries. We went through module.c code where the hash table is
>> created dynamically. We basically need to create the same statically. We
>> have already compiled the Linux-HA source on this OS but since it does
>> does
>> not support dynamic modules, it does not work.
>
>
>
> May I ask which OS?
>
>
> Although I may be wrong, I don't think this is possible (or at least a
> whole
> lot of work) as there are at least 2 critical pieces that were designed
> around the dynamic loading of modules... comms and the lrm. Its also used
> by stonith and I believe quorumd.
>
> It would be of great help if you could suggest a way how we could solve
> this problem.
My incoming email was broken when he sent this, I think... He sent me a
private email on the same subject, and I replied to it, but here it is
for the archives...
There is a fairly simple way to do this with libtool. Or at least as
simple as anything is with libtool ;-).
All the plugin loading can be bypassed by giving libtool the right
options. I don't remember what those options are, but they do exist.
Read the libtool documentation.
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems