arla on 2.2.18

Reinhold Bader Reinhold.Bader at lrz-muenchen.de
Tue Apr 24 12:44:57 CEST 2001


 Dear arla-drinkers,

 I've had the following trouble building arla 0.35.3 on a SuSE 7.1 SMP System, which uses
 the 2.2.18 kernel:
 After install of krb, I start off with

 
 ./configure --enable-smp
 make

 at some point during the compilation I get the following error:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: Datei oder Verzeichnis nicht gefunden
In file included from xfs_load.c:34:
xfs/xfs_locl.h:46: linux/version.h: Datei oder Verzeichnis nicht gefunden
In file included from xfs/xfs_locl.h:47,
                 from xfs_load.c:34:
/usr/src/linux/include/linux/module.h:202: linux/version.h: Datei oder Verzeichnis nicht gefunden
make[2]: *** [xfs_load.o] Error 1
make[2]: Leaving directory `/home/a2832ba/packages/arla-0.35.3/xfs/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/a2832ba/packages/arla-0.35.3/xfs'
make: *** [all] Error 1

 Well. I've been using a pristine source tree. Doing a 

  cd /usr/src/linux
 make menuconfig

 and loading the config file of the running kernel helps.
 Going back to the arla source tree:

 make distclean
 /configure --enable-smp
 make

 The build then fails with

gcc -c  -DHAVE_CONFIG_H  -I/usr/src/linux/include -DMODULE -D__KERNEL__ -DSMP -D__SMP__   -DDEBUG -I. -I. -I. -I./../include -I../../include
-I./../../include -I/usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer xfs_inodeops.c
xfs_inodeops.c:373: warning: initialization from incompatible pointer type
xfs_inodeops.c: In function `xfs_readdir':
xfs_inodeops.c:1511: too few arguments to function
make[2]: *** [xfs_inodeops.o] Error 1
make[2]: Leaving directory `/home/a2832ba/packages/arla-0.35.3/xfs/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/a2832ba/packages/arla-0.35.3/xfs'
make: *** [all] Error 1

 This does not change if I do a complete kernel build.

 My questions:

 (1) Could you add the kernel configuration requirement in the INSTALL file?

 (2) Is there a fix for the above issue for building with the 2.2.18 kernel tree?
     (I am using the SuSE-specific kernel tree, however as far as I know SuSE
     normally only adds some device drivers missing from Linus' tree)


                                  Best regards



 


-- 
 Dr. Reinhold Bader

 Leibniz-Rechenzentrum, Abt. Benutzerbetreuung	| Tel. +4989 289 28825
 Barerstr. 21, 80333 Muenchen			| email Bader at lrz.de





More information about the Arla-drinkers mailing list