[OpenAFS-devel] Problems compiling 1.2.9-rc2 on RH 8.1 Beta5

Frank Bagehorn fba@zurich.ibm.com
Fri, 21 Feb 2003 18:11:37 +0100


I tried to compile 1.2.9-rc2 on the latest RH 8.1 Beta (Beta 5, comes with 
a 2.4.20-2.48 kernel).
Configure works well, but later on I get the following:

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/src/redhat/BUILD/openafs-1.2.9-rc2/src/config -c 
../afs/afs_analyze.c;
In file included from ../afs/afs_osi.h:388,
                 from ../afs/afsincludes.h:29,
                 from ../afs/afs_analyze.c:35:
../afs/osi_machdep.h: In function `_recalc_sigpending_tsk':
../afs/osi_machdep.h:65: structure has no member named `sig'
In file included from ../rx/rx.h:33,
                 from ../afs/afsincludes.h:30,
                 from ../afs/afs_analyze.c:35:
../rx/rx_kmutex.h: In function `CV_WAIT':
../rx/rx_kmutex.h:128: structure has no member named `sig'
../rx/rx_kmutex.h:132: structure has no member named `sig'
../rx/rx_kmutex.h:137: structure has no member named `sig'
../rx/rx_kmutex.h:140: structure has no member named `sig'
In file included from ../rx/rx.h:33,
                 from ../afs/afsincludes.h:30,
                 from ../afs/afs_analyze.c:35:
../rx/rx_kmutex.h: In function `CV_TIMEDWAIT':
../rx/rx_kmutex.h:165: structure has no member named `sig'
../rx/rx_kmutex.h:169: structure has no member named `sig'
../rx/rx_kmutex.h:174: structure has no member named `sig'
../rx/rx_kmutex.h:177: structure has no member named `sig'
make[4]: *** [afs_analyze.o] Error 1

Anyone any idea how to fix that ?

Regards
Frank

----------------------------------------------------------------------
Dr. Frank Bagehorn
IBM Zurich Research Lab.
Saeumerstr. 4
CH-8803 Rueschlikon 
Switzerland
----------------------------------------------------------------------
SMTP: fba@zurich.ibm.com
Notes: Frank Bagehorn/Zurich/IBM@IBMCH
phone: ++41 (01) 724 83 23  fax: ++41 (01) 724 89 59