Am Mittwoch, 20. Dezember 2006 11:37 schrieb Andrew Beekhof:
> On 12/20/06, Lars Ellenberg <[EMAIL PROTECTED]> wrote:
> > / 2006-12-20 10:52:10 +0800
> >
> > \ Zhen Huang:
> > > And this causes failure in building the rpms from hg.linux-ha.org/dev.
> >
> > I'd love to fix the .spec ...
> > may I?
>
> yes please, while its there it should at least be buildable
>
> any word yet on why it cant build outside of the tree?

We would prefer, if it was in the tree. Anyway, I've tried to compile dopd.c 
on Debian Sarge with heartbeat-2-dev 2.0.7-0bpo1 package, on Fedora 
Core 5 with heartbeat-devel-2.0.7-3.fc5 and I've got on both systems so far:

In file included from dopd.c:46:
/usr/include/heartbeat/crm.h:29:25: error: portability.h: No such file or 
directory
/usr/include/heartbeat/crm.h:36:20: error: config.h: No such file or directory
/usr/include/heartbeat/crm.h:65:29: error: crm/common/util.h: No such file or 
directory
In file included from dopd.c:47:
/usr/include/heartbeat/ipc.h:25:28: error: crm/common/xml.h: No such file or 
directory
/usr/include/heartbeat/ipc.h:26:28: error: crm/common/msg.h: No such file or 
directory
dopd.c: In function ‘send_message_to_the_peer’:
...

dopd.c includes for example crm.h and ipm.h, but they include some other 
headers that are not there. They are only in the heartbeat source. Could you 
tell me, which headers I should include instead the ones I am using, or where 
I can find this out?

Thanks,

Rasto Levrinc

-- 

: Rasto Levrinc                                   Tel +43-1-8178292-58 :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria           http://www.linbit.com :
_______________________________________________________
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