[DRBD-user] drbd resource fencing - 2nd try with more information

Dominik Klein dk at in-telegence.net
Wed Dec 5 09:16:57 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


> Another thing I tried yesterday is to pull the source used for the 
> opensuse build service build and "diff" the dopd and drbd-peer-outdater 
> source files with the ones from drbd 8.0.7. They were in fact different. 
> So I tried to replace them but I could not get heartbeat to build with 
> that source files. I dont have the exact error message at hand but it 
> said something about wrong number of parameters in a heartbeat function 
> call.

That turns out wrong. Here's what I did and the very error messages:

wget http://hg.beekhof.net/lha/crm-dev/archive/obs-2.1.2-24.tar.bz2
tar cjf obs-2.1.2-24.tar.bz2
cd CRM-Devel-obs-2.1.2-24
cp /usr/src/drbd-8.0.7/tools/* contrib/drbd-peer-outdater/
./ConfigureMe configure
./ConfigureMe make

The first "error" I get is:
cc1: warnings being treated as errors
xml.c: In function 'write_xml_file':
xml.c:618: warning: unused variable 'in'
make[3]: *** [xml.lo] Error 1
make[3]: Leaving directory `/root/src/CRM-Devel-obs-2.1.2-24/lib/crm/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/src/CRM-Devel-obs-2.1.2-24/lib/crm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/CRM-Devel-obs-2.1.2-24/lib'
make: *** [all-recursive] Error 1

But that should not be a problem. So I edited configure.in and removed 
all "-Werror" from any CFLAGS. So warnings are no longer treated as errors.

Again: ./ConfigureMe make

Then, the error message is:

make[2]: Leaving directory `/root/src/CRM-Devel-obs-2.1.2-24/contrib/mlock'
Making all in drbd-outdate-peer
make[2]: Entering directory 
`/root/src/CRM-Devel-obs-2.1.2-24/contrib/drbd-outdate-peer'
make[2]: *** No rule to make target `cl_status.o', needed by 
`cl_status'.  Stop.
make[2]: Leaving directory 
`/root/src/CRM-Devel-obs-2.1.2-24/contrib/drbd-outdate-peer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/CRM-Devel-obs-2.1.2-24/contrib'
make: *** [all-recursive] Error 1

Regards
Dominik



More information about the drbd-user mailing list