openafs build success anyone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried to build

http://www.openafs.org/dl/openafs/1.2.10/redhat-9.0/openafs-1.2.10-rh9.0.1.src.rpm

with the command

rpmbuild --rebuild openafs-1.2.10-rh9.0.1.src.rpm


It failed when it started compiling SMP related things:

Building in directory: MODLOAD-2.4.22-1.2115.nptl-i386-MP
make[4]: Entering directory
`/usr/src/redhat/BUILD/openafs-1.2.10/src/libafs/MODLOAD-2.4.22-1.2115.nptl-i386-MP'
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL
-D_KERNEL -DMODUL
E -DAFS_SMP  -DREDHAT_FIX  -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.10/src/config -c
../afs/afs_atomlist.c;
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL
-D_KERNEL -DMODUL
E -DAFS_SMP  -DREDHAT_FIX  -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.10/src/config -c ../afs/afs_lhash.c;
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL
-D_KERNEL -DMODUL
E -DAFS_SMP  -DREDHAT_FIX  -I. -I../
-I/usr/src/redhat/BUILD/openafs-1.2.10/src/config -c
../afs/afs_analyze.c;
In file included from ../linux/prefetch.h:13,
                 from ../linux/list.h:6,
                 from ../linux/wait.h:14,
                 from ../afs/sysincludes.h:51,
                 from ../afs/afs_analyze.c:19:
../asm/processor.h:84: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)


Has anyone succeeded building a openafs rpm?
( I haven't seen any source rpms prepared for fedora yet. Therefore
I tried to use the one for redhat 9 )

cheers,
Erik




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux