xfs
[Top] [All Lists]

Re: Serveral weid errors on sys_sparc32.c

To: Jan Kara <jack@xxxxxx>, Alvaro Figueroa <fede2@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Serveral weid errors on sys_sparc32.c
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 8 Mar 2002 10:56:27 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1015543584.5649.2.camel@lucy>; from fede2@fuerzag.ulatina.ac.cr on Thu, Mar 07, 2002 at 05:26:24PM -0600
References: <1015543584.5649.2.camel@lucy>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi Jan,

We got this build problem (on Sparc64) with new VFS quota reported
- we no longer seem to define these, I guess the platform-specific
quotactl compatibility code needs some work still?

Alvaro,

On Thu, Mar 07, 2002 at 05:26:24PM -0600, Alvaro Figueroa wrote:
> While compiling the CVS XFS kernel, I get
> 
> make[1]: Entering directory
> `/usr/src/linux-2.4-xfs/linux/arch/sparc64/kernel'
> sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include 
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc
> -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7
> -Wno-sign-compare -Wa,--undeclared-regs   -DKBUILD_BASENAME=sys_sparc32 
> -c -o sys_sparc32.o sys_sparc32.c
> sys_sparc32.c: In function `sys32_quotactl':
> sys_sparc32.c:908: storage size of `d' isn't known
> sys_sparc32.c:916: `Q_SETUSE' undeclared (first use in this function)
> sys_sparc32.c:916: (Each undeclared identifier is reported only once
> sys_sparc32.c:916: for each function it appears in.)
> sys_sparc32.c:917: `Q_SETQLIM' undeclared (first use in this function)
> sys_sparc32.c:908: warning: unused variable `d'
> make[1]: *** [sys_sparc32.o] Error 1
> make[1]: Leaving directory
> `/usr/src/linux-2.4-xfs/linux/arch/sparc64/kernel'
> make: *** [_dir_arch/sparc64/kernel] Error 2
> 
> 
> I know that this is a platform specific thing, but I've tried to compile
> stock 2.4.18 and 2.4.19-pre1 (which had a bit of code changed in this
> file) and it doesn't dives me this error.
> 
> The XFS CVS kernel, is what? A 2.4.18-rc4 with XFS adds ons right? Does

No, not quite.  We have Jan Kara's latest and greatest VFS quota 
patches in there too nowadays (among other things, like kdb..),
see:    ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/

> any one recognices any XFS code that could be responsible of this error?
> 


cheers.

-- 
Nathan


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