It works on compiling quotacheck.c ..
But when I compile quotacheck_v2.c, new compiling error ' undefined
reference to '__fswab64' occured ..
I think there must be the probelems when compiling them on PPC.
Ok, since Jan will know it, I will wait ...
>Seems there is some subtle differences between the ia32 headers
>and the ppc ones - umode_t should come from <asm/types.h> which
>comes in via some other header, probably <sys/types.h> I would
>Jan, have you come across this powerpc build issue before?
>Hmmm... from a quick poke around in the kernel source, I see that
>on powerpc, the linux/include/asm-ppc/types.h explicitly does not
>export umode_t - it is hidden with a ``#ifdef __KERNEL__'' macro.
>Perhaps the right fix is just to change umode_t to mode_t? That
>will at least fix your immediate build problem. Since quotacheck
>is a no-op for XFS, I haven't actually delved into this chunk of
>code too deeply - Jan will know the correct solution here though.