You are not logged in.
after i use the testing repo and install the new kernel 2.26.28-1,i found some .h files missed at /usr/src/linux-2.6.28-ARCH/include/asm,only has one file named asm-offsets.h.that cause many mistakes when i code a module program.anyone knows what is wrong?thanks!
Offline
Are the files in /usr/src/linux-2.6.28-ARCH/include/asm-generic what you're looking for?
Offline
@turingcat Nice question because the content of the directory differs a lot between the 2.6.27 and the 2.6.28 kernel. It seems that the kernel devs rearrange it. Take your preferred search machine and search for: kernel "2.6.28" "asm-x86"
If your problem is the nvidia driver than it could be nice for you to take the last beta. They works well for me but i use kde3 so this don't must be valid for you.
Offline
thanks a lot~
i am coding some programs as a module,and there are lots of errors when i compile it ,error shows that lots of .h files can't find~
Offline
Are the files in /usr/src/linux-2.6.28-ARCH/include/asm-generic what you're looking for?
it should be asm-x86,i think.
Offline
it should be asm-x86,i think.
It seems that files be now under "arch/x86/include/asm" instead of "include/asm-x86". But don't ask me why.
There seems to be a workaround for this:
1. Copy include/asm-x86/asm-offsets.h to /arch/x86/include/asm. This was the only file in my asm-x86 folder and I didn't want to change the symlink and cut anything off from it.
2. Symlink include/asm to ../arch/x86/include/asm
Sources:
http://www.nvnews.net/vbulletin/showthread.php?t=121790
http://toei.stargazer.at/2008/11/06/nvi … -2628-rc3/ (german)
But because you write your own code perhaps it will be better to search the header at another place.
Offline
ok~got it ~thank you very much
Offline