[OpenAFS] problems building OpenAFS-1.4.1 on RHEL 3.0 AMD64

Andy Malato andym@oak.njit.edu
Tue, 16 May 2006 14:20:48 -0400 (EDT)


All :


I seem to be having some difficulty in getting 1.4.1 to compile on AMD64
under RHEL 3.0.   I have tried rebuilding the source RPM
openafs-1.4.1-rhel3.3.src.rpm and building from a regular source
distribution, but both methods produce the same errors.


any input one can provide will be highly appreciated.


Thanks,


        ---Andy


errors from build process :



cc -I. -I.. -I../nfs -I/usr/src/redhat/BUILD/openafs-1.4.1/src
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/afs
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/config
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rx/LINUX
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rxkad
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rxkad/domestic
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/util
-I/usr/src/redhat/BUILD/openafs-1.4.1/src
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/afs
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/util
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rxkad
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/config
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/fsint
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/vlserver
-I/usr/src/redhat/BUILD/openafs-1.4.1/include
-I/usr/src/redhat/BUILD/openafs-1.4.1/include/afs    -O2
-fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common
-pipe -mcmodel=kernel -mno-red-zone -D__KERNEL__ -DKERNEL -D_KERNEL
-DMODULE -DREDHAT_FIX  -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/config
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rx
-I/usr/src/redhat/BUILD/openafs-1.4.1/src/rxstat  -o osi_probe.o -c
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:651: called
object is not a function
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:651:
initializer element is not constant
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:651: (near
initialization for `ia32_probe.alt_try_length')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:652:
warning: initialization makes integer from pointer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:652:
initializer element is not computable at load time
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:652: (near
initialization for `ia32_probe.n_zapped_syscalls')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:655:
warning: initialization makes pointer from integer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:656:
warning: initialization makes integer from pointer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:656:
initializer element is not computable at load time
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:656: (near
initialization for `ia32_probe.n_unique_syscalls')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:659:
warning: initialization makes pointer from integer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:659:
warning: initialization makes integer from pointer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:659:
initializer element is not computable at load time
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:659: (near
initialization for `ia32_probe.verifyNR')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:662:
warning: braces around scalar initializer
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:662:
warning: (near initialization for `ia32_probe.verify_fn')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:663:
warning: initialization makes pointer from integer without a cast
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:664:
warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:664:
warning: (near initialization for `ia32_probe.verify_fn')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:665:
warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:665:
warning: (near initialization for `ia32_probe.verify_fn')
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:666:
warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/openafs-1.4.1/src/afs/LINUX/osi_probe.c:666:
warning: (near initialization for `ia32_probe.verify_fn')
make[4]: *** [osi_probe.o] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/openafs-1.4.1/src/libafs/MODLOAD-2.4.21-32.EL-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/usr/src/redhat/BUILD/openafs-1.4.1/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.4.1'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.4.1'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.37403 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.37403 (%build)