arla & linux-2.2.11
Dave Morrison
dave at bnl.gov
Wed Aug 18 01:08:05 CEST 1999
Hi all,
I've built arla in concert with a bevy of past linux kernels, but there 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 follow the
simple prescription that's worked so well in the past, I get errors like 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
Which comes about because `ino_t' doesn't seem to get defined. After poking
around, I figured I might be able to solve things by doing this:
% setenv CFLAGS -D_LOOSE_KERNEL_NAMES
% ../arla-0.26/configure
which got me past some of the errors but smack into new ones
/usr/include/linux/types.h:16: conflicting types for `uid_t'
/usr/include/sys/types.h:50: previous declaration of `uid_t'
/usr/include/linux/types.h:17: conflicting types for `gid_t'
/usr/include/sys/types.h:43: previous declaration of `gid_t'
Is anyone else seeing this same thing? I'll be happy to dig into it further,
but first I'd like to make sure I'm not repatching the wheel.
Cheers,
Dave
--
David Morrison Brookhaven National Laboratory phone: 516-344-5840
Physics Department, Bldg 510 C fax: 516-344-3253
Upton, NY 11973-5000 email: dave at bnl.gov
More information about the Arla-drinkers
mailing list