[OpenAFS-devel] Won't build on i386_linux24 kernel 2.4.9

Atro Tossavainen Atro.Tossavainen@helsinki.fi
Wed, 12 Sep 2001 15:35:01 +0300 (EET DST)


I'm trying to build OpenAFS on Linux 2.4.9. It goes on OK for a while
then libafs hits difficulties.

I suppose this a generic problem with more recent 2.4 kernels? Is there
a workaround? A fix, even?


Building in directory: MODLOAD-2.4.9-SP
make[4]: Entering directory `/tmp/openafs-1.1.1a/src/libafs/MODLOAD-2.4.9-SP'
Makefile:161: warning: overriding commands for target `xdr_int64.o'
Makefile.common:234: warning: ignoring old commands for target `xdr_int64.o'
gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__  -DCPU=586 -DKERNEL -D_KERNEL -DMODULE   -I. -I../ -I/tmp/openafs-1.1.1a/src/config -c ../afs/afs_server.c;
../afs/afs_server.c:1007: macro `min' used with only 2 args
../afs/afs_server.c:1009: macro `min' used with only 2 args
../afs/afs_server.c:1012: macro `min' used with only 2 args
../afs/afs_server.c: In function `afsi_SetServerIPRank':
../afs/afs_server.c:1007: parse error before `__x'
../afs/afs_server.c:1007: `__x' undeclared (first use in this function)
../afs/afs_server.c:1007: (Each undeclared identifier is reported only
once
../afs/afs_server.c:1007: for each function it appears in.)
../afs/afs_server.c:1007: `__y' undeclared (first use in this function)
../afs/afs_server.c:1009: parse error before `__x'
../afs/afs_server.c:1012: parse error before `__x'
make[4]: *** [afs_server.o] Error 1
make[4]: Leaving directory
`/tmp/openafs-1.1.1a/src/libafs/MODLOAD-2.4.9-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/tmp/openafs-1.1.1a/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/tmp/openafs-1.1.1a'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/openafs-1.1.1a'
make: *** [all] Error 2

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . iki . fi / atro . tossavainen / >