xfs
[Top] [All Lists]

RE: Quota - grace

To: "Nathan Scott" <nathans@xxxxxxx>
Subject: RE: Quota - grace
From: "Juer Lee" <Juer.Lee@xxxxxxxxxx>
Date: Fri, 10 Aug 2001 12:08:53 +0100
Cc: "Jan Kara" <jack@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thread-index: AcEhKzB8xT/g7fUDThKWyNZZTErg7gAYMGiw
Thread-topic: Quota - grace
Thanks. 
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 ...

Juer

>
>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
>guess.
>
>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.
>
>cheers.
>
>-- 
>Nathan
>


<Prev in Thread] Current Thread [Next in Thread>