[OpenAFS] Build problem on SuSE 9.2 with openafs-1.4.0-rc1
Jeremy Bowen
jeremyb@iserve.net.nz
Mon, 5 Sep 2005 10:07:58 +1200
Hi
I'm having trouble building OpenAFS v1.4.0-rc1 on my SuSE 9.2 system. I've run
configure with the following options:
./configure --enable-transarc-paths --with-afs-sysname=i386_linux26
This completes OK and I then run make. Much of this compiles OK but I get to a
point where it appears that the system include path isn't handled correctly
or is omitted altogether. Here is the error message and preceding lines from
the make output.
=====================================================================
Building in directory: MODLOAD-2.6.8-24.18-default-SP
make[4]: Entering directory
`/home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP'
Makefile.common:51: warning: overriding commands for target `.c.o'
/home/jeremyb/Work/openafs-1.4.0-rc1/src/config/Makefile.config:132: warning:
ignoring old commands for target `.c.o'
env
EXTRA_CFLAGS="" /home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/make_kbuild_makefile.pl
MODLOAD-2.6.8-24.18-default-SP
libafs.ko /home/jeremyb/Work/openafs-1.4.0-rc1/src/config/Makefile.config
Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C /lib/modules/2.6.8-24.18-default/build
M=/home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP
modules
make[5]: Entering directory `/usr/src/linux-2.6.8-24.18-obj/i386/default'
make -C ../../../linux-2.6.8-24.18 O=../linux-2.6.8-24.18-obj/i386/default
modules
CC
[M] /home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP/afs_atomlist.o
In file included
from /home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/afs_sysnames.h:25,
from /home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/param.h:58,
from /home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP/afs_atomlist.c:11:
/home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/stds.h:14:23: sys/types.h: No
such file or directory
In file included
from /home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP/afs_atomlist.c:17:
/home/jeremyb/Work/openafs-1.4.0-rc1/src/util/afs_atomlist.h:54: error: parse
error before "atom_size"
=====================================================================
This continues for several screens of output before make finally gives up and
aborts.
It looks to me that the error occurs because the "size_t" type is undefined.
It appears that there is a missing "-I /usr/include" somewhere but I'm unsure
where to look. Any help would be greatly appreciated. Thanks in advance.
Jeremy