[OpenAFS] openafs on ppc64 (openpower 710)
shoker@xtra.co.nz
shoker@xtra.co.nz
Thu, 9 Feb 2006 15:05:03 +1300
Hi All
I am having hard time compiling afs modules on ppc64
details as follows
Debian testing
#uname -a
Linux medusa-debian 2.6.15-1-powerpc64 #2 SMP Thu Jan 19 04:25:54 UTC 2006 ppc64 GNU/Linux
and it ends up at
Building in directory: MODLOAD-2.6.15-1-powerpc64-MP
make[5]: Entering directory `/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP'
Makefile.common:51: warning: overriding commands for target `.c.o'
/usr/src/modules/openafs/src/config/Makefile.config:132: warning: ignoring old commands for target `.c.o'
Makefile.afs:162: target `openafs.ko' given more than once in the same rule.
Makefile.afs:167: warning: overriding commands for target `openafs.ko'
Makefile.afs:163: warning: ignoring old commands for target `openafs.ko'
Makefile.afs:199: warning: overriding commands for target `/usr/src/modules/openafs/debian/tmp/lib/openafs/openafs.ko'
Makefile.afs:196: warning: ignoring old commands for target `/usr/src/modules/openafs/debian/tmp/lib/openafs/openafs.ko'
make[5]: Circular openafs.ko <- openafs.ko dependency dropped.
make[5]: Circular openafs.ko <- openafs.ko dependency dropped.
env EXTRA_CFLAGS="" /usr/src/modules/openafs/src/libafs/make_kbuild_makefile.pl MODLOAD-2.6.15-1-powerpc64-MP openafs.ko /usr/src/modules/openafs/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C /usr/src/linux M=/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP modules
make[6]: Entering directory `/usr/src/linux-headers-2.6.15-1-powerpc64'
CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_atomlist.o
CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_lhash.o
CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.o
In file included from /usr/src/modules/openafs/src/afs/afs_osi.h:393,
from /usr/src/modules/openafs/src/rx/rx_clock.h:88,
from /usr/src/modules/openafs/src/rx/rx.h:35,
from /usr/src/modules/openafs/src/afs/afsincludes.h:26,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/afs/LINUX/osi_machdep.h:55:2: error: #error Not sure what to do about rlim (should be in the Linux task struct somewhere....)
In file included from /usr/src/modules/openafs/src/rx/rx.h:36,
from /usr/src/modules/openafs/src/afs/afsincludes.h:26,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/rx/rx_event.h:28: warning: function declaration isnāt a prototype
In file included from /usr/src/modules/openafs/src/rx/rx.h:1040,
from /usr/src/modules/openafs/src/afs/afsincludes.h:26,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/rx/rx_prototypes.h:245: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/rx/rx_prototypes.h:288: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/rx/rx_prototypes.h:290: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/rx/rx_prototypes.h:323: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/rx/rx_prototypes.h:550: warning: function declaration isnāt a prototype
In file included from /usr/src/modules/openafs/src/afs/afsincludes.h:42,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/afs/exporter.h:53: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/exporter.h:54: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/exporter.h:55: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/exporter.h:56: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/exporter.h:57: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/exporter.h:58: warning: function declaration isnāt a prototype
In file included from /usr/src/modules/openafs/src/afs/afsincludes.h:44,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/afs/afs.h:901:5: warning: "AFS_USEBUFFERS" is not defined
In file included from /usr/src/modules/openafs/src/afs/afsincludes.h:49,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/include/afs/dir.h:104: warning: function declaration isnāt a prototype
In file included from /usr/src/modules/openafs/src/afs/afsincludes.h:53,
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.c:36:
/usr/src/modules/openafs/src/afs/afs_prototypes.h:502: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:575: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:576: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:577: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:665: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:801: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:802: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:955: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1020: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1021: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1022: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1023: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1024: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1025: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1026: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1027: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1028: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1029: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1030: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1031: warning: function declaration isnāt a prototype
/usr/src/modules/openafs/src/afs/afs_prototypes.h:1032: warning: function declaration isnāt a prototype
make[7]: *** [/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP/afs_analyze.o] Error 1
make[6]: *** [_module_/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP] Error 2
make[6]: Leaving directory `/usr/src/linux-headers-2.6.15-1-powerpc64'
make[5]: *** [openafs.ko] Error 2
make[5]: Leaving directory `/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.15-1-powerpc64-MP'
make[4]: *** [linux_compdirs] Error 2
make[4]: Leaving directory `/usr/src/modules/openafs/src/libafs'
make[3]: *** [libafs] Error 2
make[3]: Leaving directory `/usr/src/modules/openafs'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/modules/openafs'
make[1]: *** [only_libafs] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
make: *** [build-modules-stamp] Error 2
I can provide more details if required
-Bobby