LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sem has incomplete type error in building the filesystem image (https://www.linuxquestions.org/questions/linux-newbie-8/sem-has-incomplete-type-error-in-building-the-filesystem-image-259077/)

sudhirvemana 11-25-2004 03:15 AM

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.

Tinkster 11-25-2004 01:45 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...hreadid=259078

I beleive that Linux-Software is the more appropriate place for it,
so am closing this one ...


All times are GMT -5. The time now is 12:14 PM.