[DRBD-user] Drbd 8.3.6 module compilation problem

Lars Ellenberg lars.ellenberg at linbit.com
Wed Dec 9 14:45:34 CET 2009

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


On Wed, Dec 09, 2009 at 01:28:28PM +0100, Marian Schmotzer wrote:
> Hi everyone
> I found problem with compilation drbd kernel module version 8.3.6 on one
> of our systems. System is xen domU with kernel 2.6.18-r12 . 
> After deeper look into problem i found that module can be compiled
> without xen compatibility flag set in kernel source, or if xen
> compatible kernel is set it can be compiled without SMP flag set (if one
> procesor configuration is set). With combination of these flags it is
> not possible to compile it. I found that problem is in including APIC
> definitions. To explain if i put #define CONFIG_X86_LOCAL_APIC into drbd
> c files, stage1 of compilation is finished successfully. I cannot add it
> into header files because local header files are included after kernel
> ones(or is some included into all of c files before kernel ones ? )
> Here is my traceback.

You are aware that you need to compile DRBD against a
_properly_prepared_ kernel source tree?
or at least against _matching_ kernel headers?

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list