xfs
[Top] [All Lists]

Compile error with latest CVS version

To: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Subject: Compile error with latest CVS version
From: "Suikat, Reiner" <Reiner.Suikat@xxxxxx>
Date: Thu, 31 May 2001 10:49:13 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
Hello,

first let me say thanks for the great work! It's neat to finally have xfs on
linux.

We are experiencing a crash with xfsdump every time we try to back up our
/home partition (SGI XFS RedHat7.1 version on Dual CPU system). Since there
were reports of a similar problem on the mailling list and a fix has been
checked into the repository, I just checked out the latest version.

Problem: it doesn't compile!
First I got errors compiling the aic7xxx module, using the old driver
instead compiles.

Then compiling the kernel I get the following:
gcc -D__KERNEL__ -I/root/linux-2.4-xfs/linux/include  -Wall
-Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686    -c -o ext_attr.o ext_attr.c
ext_attr.c:39:29: linux/attr_kern.h: Datei oder Verzeichnis nicht gefunden
ext_attr.c:56: parse error before `obj'
ext_attr.c:57: warning: function declaration isn't a prototype
ext_attr.c: In function `sys_attrctl':
ext_attr.c:64: `count' undeclared (first use in this function)
ext_attr.c:64: (Each undeclared identifier is reported only once
ext_attr.c:64: for each function it appears in.)
ext_attr.c:69: `type' undeclared (first use in this function)
ext_attr.c:70: `ATTR_TYPE_FD' undeclared (first use in this function)
ext_attr.c:71: `obj' undeclared (first use in this function)
ext_attr.c:76: break statement not within loop or switch
ext_attr.c:78: `ATTR_TYPE_PATH' undeclared (first use in this function)
ext_attr.c:84: break statement not within loop or switch
ext_attr.c:86: `ATTR_TYPE_LPATH' undeclared (first use in this function)
ext_attr.c:91: break statement not within loop or switch
ext_attr.c:93: `ATTR_TYPE_PID' undeclared (first use in this function)
ext_attr.c:97: default label not within a switch statement
ext_attr.c:123: `ops' undeclared (first use in this function)
make[2]: *** [ext_attr.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/root/linux-2.4-xfs/linux/fs«
make[1]: *** [first_rule] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/root/linux-2.4-xfs/linux/fs«
make: *** [_dir_fs] Fehler 2


any ideas?

regards

Reiner Suikat

--
German Aerospace Center (DLR)
Institute of Flight Guidance
Dr.-Ing. Reiner Suikat
Tel: (49) 531-295-2552
Fax: (49) 531-295-2550
E-Mail: Reiner.Suikat@xxxxxx

 

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