public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* parse error in ext2_fs_sb.h
@ 2002-08-08 18:31 Rik van Ballegooijen
  2002-08-08 20:05 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Rik van Ballegooijen @ 2002-08-08 18:31 UTC (permalink / raw)
  To: linux-kernel

hello,

When i was compiling some stuff, i got this error:

Parse error before "u32"

in the file (2.5.30):

include/linux/ext2_fs_sb.h

I changed the u32 to __u32 and it worked. Is this a (proper) solution?

Rik



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: parse error in ext2_fs_sb.h
       [not found] <Pine.LNX.4.33.0208081441170.26994-100000@coffee.psychology.mcmaster.ca>
@ 2002-08-08 18:43 ` Rik van Ballegooijen
  0 siblings, 0 replies; 3+ messages in thread
From: Rik van Ballegooijen @ 2002-08-08 18:43 UTC (permalink / raw)
  To: Mark Hahn; +Cc: linux-kernel

Mark Hahn wrote:
>>When i was compiling some stuff, i got this error:
> 
> user-space or kernel-space stuff?
> 
>>Parse error before "u32"
>>
>>in the file (2.5.30):
>>
>>include/linux/ext2_fs_sb.h
> 
> 
> user-space should not use kernel headers.
> 
> 
>>I changed the u32 to __u32 and it worked. Is this a (proper) solution?

I was compiling quota-tools v3.06. The file quotacheck.c includes the 
named file on line 31.

Rik



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: parse error in ext2_fs_sb.h
  2002-08-08 18:31 Rik van Ballegooijen
@ 2002-08-08 20:05 ` Alan Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-08-08 20:05 UTC (permalink / raw)
  To: Rik van Ballegooijen; +Cc: linux-kernel

On Thu, 2002-08-08 at 19:31, Rik van Ballegooijen wrote:
> When i was compiling some stuff, i got this error:
> 
> Parse error before "u32"
> 
> in the file (2.5.30):
> 
> include/linux/ext2_fs_sb.h
> 
> I changed the u32 to __u32 and it worked. Is this a (proper) solution?

u32 is used for stuff that shouldnt be visible to user space, only __u32
is available from user space. Are you building kernel code or user code
?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-08 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0208081441170.26994-100000@coffee.psychology.mcmaster.ca>
2002-08-08 18:43 ` parse error in ext2_fs_sb.h Rik van Ballegooijen
2002-08-08 18:31 Rik van Ballegooijen
2002-08-08 20:05 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox