[Drbd-dev] Re: FW: [DRBD-cvs] svn commit by phil - r2404 - intrunk: drbd/linux user -* Another micro fix todrbd/linux/connector.h, to make

Graham, Simon Simon.Graham at stratus.com
Tue Sep 12 15:49:27 CEST 2006

> > This worked before you removed the -I$(KDIR) from CFLAGS -- I'm
> thinking
> > you need to keep this to support cross-compiling DRBD... it certainly
> works
> > for me when I add that line back into the makefile...
> Hmmm, __u32 gets defined in my /usr/include/asm-i386/types.h and the
> nlmsg things get defined in my /usr/include/linux/netlink.h .
> I have used debian and ubuntu systems so far.
> What distribution are you using ?
> What is the content of  /usr/include/linux/netlink.h
> and /usr/include/asm/types.h on your distri ?

I am building on a RHEL4 U2 system BUT I'm building FOR Xen 3.0.2 (which is a 2.6.18 kernel) with CONFIG_CONNECTOR defined -- the fundamental issue here is that the build should NOT use /usr/include/xxx AT ALL since I'm cross-compiling.


More information about the drbd-dev mailing list