Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi Philipp, here the file with the diffs. So long Michael On Thursday 24 June 2004 10:33, Philipp Reisner wrote: > On Wednesday 23 June 2004 23:47, Michael Heim wrote: > > Hi all, > > > > i have tried to compile drbd 0.7-pre8 (from CVS today) under SLES 8.0 > > (SuSE Linux Enterprise Server) with SP3 (kernel 2.4.21), but i have > > become several errors. Here the modifications to compile without errors: > > > > 1) Add "drbd_dev *mdev = drbd_conf -1;" in drbd/drbd_compat_wrappers.h > > directly after the definition of the signature of > > "drbd_generic_make_request(int rw, struct buffer_head *bh)" (from > > Benoit.Ropartz at alcatel.fr) > > > > 2) Add "drbd_bitmap.o" to the line "drbd-objs := " in drbd/Makefile-2.4, > > because drbd_bitmap.o has to be linked to drbd.o (unresolved symbols) > > > > 3) Add "#include <linux/slab.h>" to drbd/drbd_int.h (definition of struct > > kmem_cache_s) > > > > 4) Add "#define ALIGN(x,s) (((x) + (s-1)) ~(s-1))" to drbd/drbd_bitmap.c > > (from Lars Ellenberg) > > > > After this "modprobe drbd" has worked!-) Now i can test the PRE8. > > Could you please post a diff -u ? > (diff -ur drbd-unmidified-dir drbd-modified-dir to be exact) > This would make it easier for me... > > Thanks. > > -philipp -------------- next part -------------- A non-text attachment was scrubbed... Name: drbd-mod.patch Type: text/x-diff Size: 2414 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040625/4da029dd/attachment.patch>