[OpenAFS] redhat kernel 2.4.20-18.7 build problem
Tim C.
tim@umbc.edu
Wed, 25 Jun 2003 15:35:23 -0400 (EDT)
I'm having a problem building openafs 1.2.9 with the 2.4.20-18.7 redhat
rpm kernel. I initially tried this with the rpm src, and then with
straight source. This is redhat 7.3. Here is what I'm getting when I
try to compile it:
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common -pipe -march=pentium -D__KERNEL__ -DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1 -I. -I../ -I/usr/tmp/yt/other/openafs-1.2.9/src/config -c
../afs/osi_module.c
../afs/osi_module.c:31:27: linux/syscall.h: No such file or directory
../afs/osi_module.c: In function `afs_init':
../afs/osi_module.c:289: warning: assignment from incompatible pointer type
gmake[4]: *** [osi_module.o] Error 1
gmake[4]: Leaving directory `/usr/var/tmp/yt/other/openafs-1.2.9/src/libafs/MODLOAD-2.4.20-18.7-MP'
So it doesn't seem to find "linux/syscall.h". Building with
2.4.18-3(the default redhat 7.3 kernel) doesn't throw the same error,
and it seems to have that file. Not sure if anyone knows about this?
Tim
-----------------------------------------------------------------------
Tim Craig These are my opinions and not my employers. :)
OIT-Systems
tim@umbc.edu It's hard to be serious when you're
naked. - Garfield
-----------------------------------------------------------------------