arla & linux-2.2.11
Dr A V Le Blanc
LeBlanc at mcc.ac.uk
Wed Aug 18 15:52:32 CEST 1999
On Tue, Aug 17, 1999 at 07:05:11PM -0400, Dave Morrison wrote:
> I've built arla in concert with a bevy of past linux kernels, but the
>re seem to
> have been recent changes in the kernel sources that break my string of
> successes. I'm working with linux-2.2.11 and arla-0.26 and when I fo
>llow the
> simple prescription that's worked so well in the past, I get errors l
>ike this:
...
> gcc -c -DHAVE_CONFIG_H -DMODULE -D__KERNEL__ -DDEBUG -I.
> -I../../../arla-0.26/xfs/linux -g -Wall -g -I.
> -I../../../arla-0.26/xfs/linux/../include -I../../include
> -I../../../arla-0.26/xfs/linux/../../include -I/usr/athena/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer
> ../../../arla-0.26/xfs/linux/xfs_load.c
> In file included from /usr/include/linux/fs.h:263,
> from ../../../arla-0.26/xfs/linux/xfs/xfs_locl.h:57,
> from ../../../arla-0.26/xfs/linux/xfs_load.c:39:
> /usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t'
> /usr/include/linux/hpfs_fs_i.h:5: warning: no semicolon at end of struct or
> union
I'm puzzled by this one, since I haven't had any trouble with this
combination (linux 2.2.11 with arla 0.26):
make[2]: Entering directory `/root/Misc/arla-0.26/xfs/linux'
gcc -c -DHAVE_CONFIG_H -DMODULE -D__KERNEL__ -DDEBUG -I. -I. -O6 -I/u
sr/src/linux/include -Wall -I. -I./../include -I../../include -I./../..
/include -I/usr/contrib/packages/kthkrb/include -Wall -Wstrict-prototyp
es -O2 -fomit-frame-pointer xfs_load.c
Note the explicit '-I/usr/src/linux/include' which I pass to configure
via
env CFLAGS='-O6 -I/usr/src/linux/include' ./configure ...
(This is on a Debian slink system.)
-- Owen
LeBlanc at mcc.ac.uk
More information about the Arla-drinkers
mailing list