Quote:
Originally Posted by harish1402
Code:
chardriver1.c:4:10: fatal error: asm/uaccess.h: No such file or directory
#include <asm/uaccess.h>
^~~~~~~~~~~~~~~
chardriver1.c:67:11: error: ‘KERN_ALERT’ undeclared (first use in this function)
printk(KERN_ALERT "registering char device failed with %d\n", Major);
|
Please read the LQ Rules and the "Question Guidelines". You provide no details about your system, what you're doing to get that message, where you got the code, etc. We cannot guess.