Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 11-25-2004, 03:15 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
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,
Old 11-25-2004, 01:45 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.

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

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tai64nlocal.c:55: error: dereferencing pointer to incomplete type ExCIA Linux - General 1 03-31-2009 09:49 AM
arrays of elements with [gcc4]array type has incomplete element type lmmix Linux - Software 0 02-26-2005 08:07 AM
C error "dereferencing pointer to incomplete type" lucs Slackware 6 02-21-2005 09:33 AM
sem has incomplete type error in building the filesystem image sudhirvemana Linux - Software 0 11-25-2004 03:17 AM
filesystem type error (windows does not load) mackol Linux - Newbie 5 05-25-2004 07:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration