fedora kernel rpmbuild error

Status
Not open for further replies.

Techietone

Junior Member level 3
Joined
Sep 8, 2005
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,477
Hi Guys!

I've completely disturbed directory structure in /usr/src directory and now i'm getting error when i try to rebuild kernel using "rpmbuild" on "kernel-2.6.11-1.1369_FC4.src.rpm".

The error i get is :
/usr/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such file or directory

I'm using 2.6.11-1.1369_FC4. I want to restore the original settings so that modules that require kernel compilatn does not cause problem.

Please help me out.
 

Sir
I have seen this error before, but I do not remember the source of it. just, it can be solved easily.

so you have now /usr/src/linux directory and your kernel is inside this, yes?
 

I tried creating the required directories and links.. it did not work. So, finally I reformated the system.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…