[OpenAFS] Compile falure on ia64
Stephan Wonczak
a0033@rrz.uni-koeln.de
Wed, 8 Dec 2004 17:14:58 +0100 (MET)
Hi all!
Last week we got a new, shiny SGI Altix for our machine room. Naturally
I want to put an OpenAFS-Client on in. As there are no binary packages
available (... hint, hint :-) ), I tried to build from source.
I tried both 1.2.13 and 1.3.74. Both builds start fine ('configure'
reports no errors), but later it bails out. The spot is different between
the versions, though. On 1.2.13 I get:
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127
-falign-functions=32 -mb-step -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE
-I. -I../ -I/service/openafs/source-1.2.13/openafs-1.2.13/src/config -c
../afs/afs_analyze.c;
In file included from ../asm/uaccess.h:36,
from ../afs/sysincludes.h:65,
from ../afs/afs_analyze.c:19:
../asm/pgtable.h: In function `ptep_get_and_set':
../asm/pgtable.h:400: incompatible types in assignment
make[4]: *** [afs_analyze.o] Error 1
make[4]: Leaving directory
`/service/openafs/source-1.2.13/openafs-1.2.13/src/libafs/MODLOAD-2.4.21-sgi301r1-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/service/openafs/source-1.2.13/openafs-1.2.13/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/service/openafs/source-1.2.13/openafs-1.2.13'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/service/openafs/source-1.2.13/openafs-1.2.13'
make: *** [all] Error 2
while on 1.3.74
cc -I. -I.. -I../nfs -I/service/openafs/source-1.3.74/openafs-1.3.74/src
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/afs
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/config
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rx/LINUX
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rxkad
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rxkad/domestic
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/util
-I/service/openafs/source-1.3.74/openafs-1.3.74/src
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/afs
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/util
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rxkad
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/config
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/fsint
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/vlserver
-I/service/openafs/source-1.3.74/openafs-1.3.74/include
-I/service/openafs/source-1.3.74/openafs-1.3.74/include/afs -O2
-fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common
-pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32
-mb-step -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -I. -I../
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/config
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rx
-I/service/openafs/source-1.3.74/openafs-1.3.74/src/rxstat -c
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c:
In function `afs_init':
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c:327:
`sys_chdir' undeclared (first use in this function)
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c:327:
(Each undeclared identifier is reported only once
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c:327:
for each function it appears in.)
/service/openafs/source-1.3.74/openafs-1.3.74/src/afs/LINUX/osi_module.c:329:
`sys_write' undeclared (first use in this function)
make[4]: *** [osi_module.o] Error 1
make[4]: Leaving directory
`/service/openafs/source-1.3.74/openafs-1.3.74/src/libafs/MODLOAD-2.4.21-sgi301r1-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/service/openafs/source-1.3.74/openafs-1.3.74/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/service/openafs/source-1.3.74/openafs-1.3.74'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/service/openafs/source-1.3.74/openafs-1.3.74'
make: *** [all] Error 2
Any ideas on how to proceed?
Dipl. Chem. Dr. Stephan Wonczak
Zentrum fuer Angewandte Informatik (ZAIK)
Regionales Rechenzentrum der Universitaet zu Koeln (RRZK)
Universitaet zu Koeln, Robert-Koch-Strasse 10, 50931 Koeln
Tel: ++49/(0)221/478-5577, Fax: ++49/(0)221/478-5590