[OpenAFS] openafs 1.2.10 on fedora core 1.0

grant williamson traxtopel@fastmail.fm
Wed, 12 Nov 2003 10:30:00 +0100


Hello,
	has anyone managed to compile openafs on fedora core 1.0.

I am attempting to recompile openafs-1.2.10-rh9.0.1.src.rpm on
a full installation of fedora core 1.0

it fails with the following ...

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 -DMODULE -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 -DMODULE -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 -DMODULE -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)
In file included from ../asm/smp.h:14,
                 from ../linux/smp.h:16,
                 from ../linux/sched.h:25,
                 from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../asm/fixmap.h:74: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)
../asm/fixmap.h:74: error: enumerator value for `FIX_KMAP_END' not
integer constant
In file included from ../asm/smp.h:16,
                 from ../linux/smp.h:16,
                 from ../linux/sched.h:25,
                 from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../asm/mpspec.h:205: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)In file included from ../asm/smp.h:20,
                 from ../linux/smp.h:16,
                 from ../linux/sched.h:25,
                 from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../asm/apic.h:88: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)
../asm/apic.h:99: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)
In file included from ../linux/smp.h:16,
                 from ../linux/sched.h:25,
                 from ../asm/uaccess.h:8,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../asm/smp.h:66: error: `CONFIG_NR_CPUS' undeclared here (not in a
function)
../asm/smp.h:66: confused by earlier errors, bailing out
make[4]: *** [afs_analyze.o] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/openafs-1.2.10/src/libafs/MODLOAD-2.4.22-1.2115.nptl-i386-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/usr/src/redhat/BUILD/openafs-1.2.10/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.2.10'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.2.10'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.37178 (%build)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.37178 (%build)
You have new mail in /var/spool/mail/root
[root@localhost SPECS]#



-- 
grant williamson <traxtopel@fastmail.fm>