View previous topic :: View next topic |
Author |
Message |
Satirical Story
Joined: 24 Aug 2005 Posts: 8
|
Posted: Thu Aug 25, 2005 2:59 am Post subject: Xorg Build Fails |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Thu Aug 25, 2005 3:56 pm Post subject: that happens |
|
|
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 |
|
 |
Satirical Story
Joined: 24 Aug 2005 Posts: 8
|
Posted: Sat Aug 27, 2005 4:34 am Post subject: |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Sat Aug 27, 2005 10:53 am Post subject: in that case |
|
|
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 |
|
 |
ElllisD
Joined: 25 Sep 2005 Posts: 13
|
Posted: Sun Nov 27, 2005 11:54 pm Post subject: |
|
|
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 |
|
 |
linisys
Joined: 14 Feb 2006 Posts: 1
|
Posted: Tue Feb 14, 2006 4:58 pm Post subject: |
|
|
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 |
|
 |
|