xfs
[Top] [All Lists]

2.6.3 build failure

To: linux-xfs@xxxxxxxxxxx
Subject: 2.6.3 build failure
From: John Palkovic <linux-xfs@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Feb 2004 08:34:52 -0600
Mail-followup-to: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
Config file is at http://shoshana.dnsalias.org/dot-config. This is a PIII
cpu. No need to CC me on replies, I am on the list.

Just pulled an update this AM, 20 Feb 2004 with cvs update -d. I use the
official cvs repository from :pserver:cvs@xxxxxxxxxxx:2401/cvs

Compilation of xfs_attr.c fails thusly:

make -f scripts/Makefile.build obj=fs/xfs
  gcc-2.95 -Wp,-MD,fs/xfs/.xfs_attr.o.d -nostdinc -iwithprefix include 
-D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -pipe 
-mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 
-fomit-frame-pointer  -Ifs/xfs -Ifs/xfs/linux-2.6 -funsigned-char   
-DKBUILD_BASENAME=xfs_attr -DKBUILD_MODNAME=xfs -c -o fs/xfs/xfs_attr.o 
fs/xfs/xfs_attr.c
In file included from fs/xfs/xfs_attr.c:56:
fs/xfs/xfs_inode.h:269: parse error before `mrlock_t'
fs/xfs/xfs_inode.h:269: warning: no semicolon at end of struct or union
fs/xfs/xfs_inode.h:270: warning: type defaults to `int' in declaration of 
`i_iolock'
fs/xfs/xfs_inode.h:270: warning: data definition has no type or storage class
fs/xfs/xfs_inode.h:309: parse error before `}'
fs/xfs/xfs_inode.h:309: warning: type defaults to `int' in declaration of 
`xfs_inode_t'
fs/xfs/xfs_inode.h:309: warning: data definition has no type or storage class
fs/xfs/xfs_inode.h:472: parse error before `*'
...

It fails with the same error using gcc-3.3 (should I be using 2.95 or 3.3?).
xfs_inode.h hasn't changed in months, so this is puzzling to me.

The rest of the make error output is at
http://shoshana.dnsalias.org/make.out

regards,

-John

-- 
"The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts."
-- Bertrand Russell


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