helpPlex86 Virtual Machine - Support: sr #102342, Having trouble with kernel headers

 
 

sr #102342: Having trouble with kernel headers

Submitted by:  None
Submitted on:  Sun 10 Aug 2003 12:51:59 AM UTC  
 
Category: Compile ErrorPriority: 5 - Normal
Severity: 2 - MinorStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 10 Aug 2003 01:11:08 AM UTC, comment #1:

umm... sorry didn't have my kernel sources installed

Anonymous
Sun 10 Aug 2003 12:51:59 AM UTC, original submission:

Sorry to ask this but, I'm not sure where to go from here.

In file included from host-linux.c:34:
/usr/include/linux/version.h:2:2: #error
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should
not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files
directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now
uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working
kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files
are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently
running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via
other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs
should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as
well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build
kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the
kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure
that the symbolic link"
/usr/include/linux/version.h:19:2: #error "
/lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the
matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "
/lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When
compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler
option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "
-I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "
-I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please
adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error
"======================================================="
host-linux.c: In function `copy_from_user':

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup