[OpenAFS] compile errors with 2.6 kernel
Dan Helmick
danielhelmick@yahoo.com
Tue, 3 Aug 2004 16:29:47 -0700 (PDT)
I've tried compiling two CVS snapshots (7/30/2004 and
8/3/2004) and they both get the same errors.
I am using an x86-SMP machine running Fedora Core 2
with a vanilla kernel.org kernel (2.6.7).
I use the following configure command:
./configure --with-afs-sysname=i386_linux26
--with-linux-kernel-headers=/usr/src/linux
--enable-transarc-paths
and it completes with one warning:
configure: WARNING: Cannot determine sys_call_table
status. assuming it isn't exported
but the make command fails and returns the error shown
below.
Any help is greatly appreciated.
Thanks,
Dan
CC [M]
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.o
In file included from
/home/dhelmick/afs/openafs-snap-2004-08-03/src/rx/rx_kcommon.h:136,
from
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:23:
/home/dhelmick/afs/openafs-snap-2004-08-03/src/afs/sysincludes.h:75:1:
warning: "_LINUX_CODA_FS_I" redefined
In file included from
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:23:
/home/dhelmick/afs/openafs-snap-2004-08-03/src/rx/rx_kcommon.h:22:1:
warning: this is the location of the previous
definition
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:
In function `rxk_NewSocketHost':
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:41:
error: too many arguments to function `sock_create'
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:
In function `osi_StopListener':
/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.c:203:
warning: unused variable `p'
make[6]: ***
[/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP/rx_knet.o]
Error 1
make[5]: ***
[_module_/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP]
Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.7'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs/MODLOAD-2.6.7-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/home/dhelmick/afs/openafs-snap-2004-08-03/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory
`/home/dhelmick/afs/openafs-snap-2004-08-03'
make[1]: *** [build] Error 2
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail