Xorg Build Fails

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules
View previous topic :: View next topic  
Author Message
Satirical Story



Joined: 24 Aug 2005
Posts: 8

PostPosted: Thu Aug 25, 2005 2:59 am    Post subject: Xorg Build Fails Reply with quote

I can't build X.org, due to the following error:
Code:
/usr/include/linux/err_kernel_only.h:1:2: #error Kernel only header included in userspace.
make[5]: *** [clientattrib.o] Error 1
Why does this error occur?
Back to top
View user's profile Send private message Send e-mail
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Thu Aug 25, 2005 3:56 pm    Post subject: that happens Reply with quote

this often happens when you have (somehow) got headers from an uncompiled kernel in there. Try installing your kernel (lin linux-2.4-something) and afterwards install the kernel-headers-2.4 package, perhaps recompile glibc. This should fix it in most cases.

How it ended up in the first place there - I wouldn't know, it just happens sometimes.
Back to top
View user's profile Send private message Send e-mail
Satirical Story



Joined: 24 Aug 2005
Posts: 8

PostPosted: Sat Aug 27, 2005 4:34 am    Post subject: Reply with quote

I've built a 2.6 kernel and installed the headers after rebooting, and have done this many times over. I also went through the 2.6 kernel install guide for Lunar.
Back to top
View user's profile Send private message Send e-mail
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Sat Aug 27, 2005 10:53 am    Post subject: in that case Reply with quote

you should file a bugreport, please provide a list of which versions you have installed of linux-2.6, kernel-headers-2.6 etc.
Back to top
View user's profile Send private message Send e-mail
ElllisD



Joined: 25 Sep 2005
Posts: 13

PostPosted: Sun Nov 27, 2005 11:54 pm    Post subject: Reply with quote

another reason xorg wont build is from using a precompiled 26 kernel, and trying to lin xorg before compiling the kernel. i found out later that you have to have compiled a kernel at least once for xorg to build correctly.
search keyword: linux-liac-headers
Back to top
View user's profile Send private message
linisys



Joined: 14 Feb 2006
Posts: 1

PostPosted: Tue Feb 14, 2006 4:58 pm    Post subject: Reply with quote

This is confirmed. make was bailing out during a 'lin XOrg'. After I did a 'lin linux-2.6', and compiled from source, I returned to the XOrg build, and it finished clean. Maybe a kernel source install should be an option or dependency for the XOrg build until this error can be fixed. At first I though a quick installation of the kernel headers would fix the compile problem, but it did not.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group