[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serveral weid errors on sys_sparc32.c



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
any one recognices any XFS code that could be responsible of this error?

Any ideas?

-- 
Alvaro Figueroa