Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On 04/15/2011 05:36 PM, Jean-Francois Malouin wrote: > Hi, > > I can't seem to compile drbd-3.8.10 on Debian/squeeze using > module-assistant. This is with Debian kernel > linux-image-2.6.32-5-xen-amd64 (2.6.32-31) > > make[3]: Entering directory > `/usr/src/linux-headers-2.6.32-5-xen-amd64' > CC [M] /usr/src/modules/drbd/drbd/drbd_buildtag.o > In file included from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/notifier.h:13, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/memory_hotplug.h:6, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/mmzone.h:668, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/gfp.h:4, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/kmod.h:22, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/module.h:13, > from /usr/src/linux-headers-2.6.32-5-common-xen/include/net/sock.h:48, > from /usr/src/modules/drbd/drbd/linux/connector.h:109, > from /usr/src/modules/drbd/drbd/linux/drbd.h:28, > from /usr/src/modules/drbd/drbd/drbd_buildtag.c:2: > /usr/src/modules/drbd/drbd/linux/mutex.h:6:27: error: asm/semaphore.h: No such file or directory > > Any pointers? Full build trace is attached. > thanks, > jf Hi, I believe you're supposed to be using the DRBD module from within the kernel source tree (Debian backported DRBD into their Squeeze kernel). I had bad luck building the out-of-tree module for a newish kernel recently, as well. HTH, Felix