I fixed it, thanks to irc adding this to drbd_main.c -><div>#include <linux/drbd_config.h><br><br></div><div>I did the GIT output because of the manual telling me to, but thanks for the info.</div><div><br><div class="gmail_quote">
On Thu, Mar 11, 2010 at 3:49 PM, Lars Ellenberg <span dir="ltr"><<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Thu, Mar 11, 2010 at 03:15:34PM +0100, Peter den Hartog wrote:<br>
> Hello,<br>
><br>
> I'm trying to build DRBD on a Debian 5 system. But it fails, here you can<br>
> find the terminal output; <a href="http://pastebin.com/4t2GEyBq" target="_blank">http://pastebin.com/4t2GEyBq</a><br>
><br>
> Here you can find the how-to i used: <a href="http://www.drbd.org/docs/install/" target="_blank">http://www.drbd.org/docs/install/</a><br>
> I just did a GIT checkout. Everything goes fine untill i have to build the<br>
> kernel module, that gives the above output.<br>
><br>
> Any pointers how to fix this?<br>
<br>
Don't build against git, wait for git to be updated to contain the build<br>
fix (I have it already), use a kernel version that drbd git will<br>
currently build against, build against a tagged release from git, build<br>
against a release tarball, or use packages build for you.<br>
<br>
Quoting <a href="http://www.drbd.org/download/development-code/" target="_blank">http://www.drbd.org/download/development-code/</a><br>
<br>
You can browse the latest state of development<br>
in our Git Repository <a href="http://git.drbd.org" target="_blank">git.drbd.org</a>.<br>
Note that sometimes this code might not even compile,<br>
but we try to avoid that.<br>
<br>
Sometimes we do a fix against the latest greatest,<br>
but break some older kernels along the way.<br>
<br>
--<br>
: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting <a href="http://www.linbit.com" target="_blank">http://www.linbit.com</a><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
__<br>
please don't Cc me, but send to list -- I'm subscribed<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Groet // Kind regards,<br>Peter den Hartog<br><br>
</div>