sem has incomplete type error in building the filesystem image
I am using snapgear3.1.1 for porting 2.6.x on to my target board with i386 arch.i have build the kernel image and when building hte filesystem jffs2.img image i am encountouring the below error.
/snapgear/linux-2.6-x/include/asm/mmu.h:13 field sem jas incomplete type
/snapgear/linux-2.6-x/include/asm/mmu.h:15 confused by earlier errors, bailing out
make[2]: *** [mem.o] Error1
make[2]: Leaving directory 'home/snapgear/user/strace'
make[1]: [all] Error2
make[1]: Leaving directory 'home/snapgear/user'
make: ***{subdirs} Error1
What could be the problem ,i came to see that the sem has incomplete type in mmu.h file in asm directory.It was declared as struct semaphore.Does it was an oncomplete data type for the sem variable.Please help me to resolve this problem.
With best Regards,
Sudheervemana.
|