[Lunar-commits] CVS: crater/x11/xorg-dri BUILD, NONE, 1.1 CONFIGURE, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 PRE_BUILD, NONE, 1.1

Auke Kok sofar at lunar-linux.org
Fri Apr 16 09:26:08 GMT 2004


Nick Hudson wrote:

>Adding my very bad hack of a module to crater for now.  Still needs some work like detection of what version kernel is running and some cleanups.  Right now this doesnt compile, so dont try to compile it unless you want to fix things :).  Right now I am getting the following weird ass error when trying to build it:
>  
>

blind guess but you're compiling kernel modules with something like 
-D__KERNEL__ and userspace stuff without that flag. Both include trees 
should distinguish and include or not include specific kernel-only stuff 
to protect/distinguish whether they need too include that stuff. My 
guess is that somewhere in the XOrg code there is a line that does 
something like:

#include "linux/kernel_only.h"

and it should have been:

#ifdef __KERNEL__
#include "linux/kernel_only.h"
#endif

just a hunch anyway ;^)

sofar



More information about the Lunar-dev mailing list