xfs
[Top] [All Lists]

Re: Quota - grace

To: Juer Lee <Juer.Lee@xxxxxxxxxx>
Subject: Re: Quota - grace
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 10 Aug 2001 21:30:35 +1000
Cc: Jan Kara <jack@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <EB0AF92C5F6B6B45A3EC7A2608347EC005EB98@CORK-DC1.raidtec.ie>; from Juer.Lee@raidtec.ie on Fri, Aug 10, 2001 at 12:08:53PM +0100
References: <EB0AF92C5F6B6B45A3EC7A2608347EC005EB98@CORK-DC1.raidtec.ie>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi,

On Fri, Aug 10, 2001 at 12:08:53PM +0100, Juer Lee wrote:
> 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 ...
> 

I can help on that one - we had a similar problem in the XFS
user space awhile ago.  At the top of quotacheck_v1.c, where
<asm/byteorder.h> is, try this...

#if defined(__powerpc__) /* ppc fix from: Robert Ramiega (jedi@xxxxxxxxxx) */
# define __BYTEORDER_HAS_U64__
#endif
#include <asm/byteorder.h>


[This is derived from cmd/xfsprogs/include/platform_defs.h.in]

cheers.

-- 
Nathan


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