Are you sure you're building the Android kernel source codes? I downloaded the kernel from 'git://android.git.kernel.org/kernel/ common.git' and there is no /drivers/staging/ directory... I guess you are building the original Linux kernel...
On 12月15日, 下午9时35分, Santosh Kadam <sanma...@gmail.com> wrote: > Hi there - > > I have downloaded the androind kernel from the following repository > > repo init -u git://android.git.kernel.org/platform/manifest.git > > .......... > I executed make menuconfig and created a standard configuratin file. > > Now, I am trying to build this kernel -- by the folling command. > > #make ARCH=x86 CROSS-COMPILE= > > I am getting following compilation errors ....... > > CC [M] drivers/staging/go7007/s2250-board.o > drivers/staging/go7007/s2250-board.c:24:26: error: s2250-loader.h: No > such file or directory > drivers/staging/go7007/s2250-board.c: In function âread_reg_fpâ: > drivers/staging/go7007/s2250-board.c:264: warning: passing argument 1 > of âdown_interruptibleâ from incompatible pointer type > include/linux/semaphore.h:43: note: expected âstruct semaphore *â but > argument is of type âstruct mutex *â > drivers/staging/go7007/s2250-board.c:273: warning: passing argument 1 > of âupâ from incompatible pointer type > include/linux/semaphore.h:47: note: expected âstruct semaphore *â but > argument is of type âstruct mutex *â > drivers/staging/go7007/s2250-board.c: In function âs2250_initâ: > drivers/staging/go7007/s2250-board.c:670: error: implicit declaration > of function âs2250loader_initâ > drivers/staging/go7007/s2250-board.c:676: error: implicit declaration > of function âs2250loader_cleanupâ > make[3]: *** [drivers/staging/go7007/s2250-board.o] Error 1 > make[2]: *** [drivers/staging/go7007] Error 2 > make[1]: *** [drivers/staging] Error 2 > make: *** [drivers] Error 2 > > Please provide any suggestions in this regards. > > Also - is it possible to compile this kernel and boot onto a x86 box ? > > thanks and regards, > Santosh -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel