Incidentally I did that yesterday evening.
Apparently the configure does not determine the Macros in
src/config/afsconfig.h correctly. Thus, the compilation fails when it
comes to the #ifdefs.
Try attached patch to src/config/afsconfig.h (You probably have to do it
manually).
Here some details about my system :
OS: SuEE 9.3(x86-64)
kernel: 2.6.11.4-21.10-default (means : SP)
OpenAFSClient : 1.4.1-rc5
configure with :
./configure --with-krb5-conf=/usr/lib/mit/bin/krb5-config
--with-afs-sysname=amd64_linux26
It worked for me, at least.
Christof
Hoptman, Matthew wrote:
Has anyone been able to successfully compile AFS for Suse9.3 with kernel 2.6?
I'm trying to do this with my new amd64 system. I've been using openafs-1.4.0
Thanks
Matthew J. Hoptman, PhD
Nathan Kline Institute
140 Old Orangeburg Rd., Bldg 35
Orangeburg, NY 10962
(845) 398-6569 (w)
(845) 398-6566 (f)
IMPORTANT NOTICE: This e-mail is meant only for the use of the intended
recipient. It may contain confidential information which is legally privileged
or otherwise protected by law. If you received this e-mail in error or from
someone who was not authorized to send it to you, you are strictly prohibited
from reviewing, using, disseminating, distributing or copying the e-mail.
PLEASE NOTIFY US IMMEDIATELY OF THE
ERROR BY RETURN E-MAIL AND DELETE THIS MESSAGE FROM YOUR SYSTEM. Thank you for
your cooperation
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info
--- afsconfig.h.orig 2006-01-26 08:47:52.000000000 +0100
+++ afsconfig.h 2006-01-26 08:42:36.000000000 +0100
@@ -283,7 +283,7 @@
/* #undef AOP_WRITEPAGE_TAKES_WRITEBACK_CONTROL */
/* define if your refrigerator takes PF_FREEZE */
-/* #undef LINUX_REFRIGERATOR_TAKES_PF_FREEZE */
+#define LINUX_REFRIGERATOR_TAKES_PF_FREEZE 1
/* define if you have in_systm.h header file */
/* #undef HAVE_IN_SYSTM_H */
@@ -352,7 +352,7 @@
/* #undef STRUCT_INODE_HAS_INOTIFY_SEM */
/* define if your recalc_sigpending takes void */
-/* #undef RECALC_SIGPENDING_TAKES_VOID */
+#define RECALC_SIGPENDING_TAKES_VOID
/* define if your linux kernel uses SELinux features */
#define LINUX_KERNEL_IS_SELINUX 1
@@ -388,10 +388,10 @@
/* #undef STRUCT_TASK_STRUCT_HAS_RLIM */
/* define if your struct task_struct has signal->rlim */
-/* #undef STRUCT_TASK_STRUCT_HAS_SIGNAL_RLIM */
+#define STRUCT_TASK_STRUCT_HAS_SIGNAL_RLIM
/* define if your struct task_struct has exit_state */
-/* #undef STRUCT_TASK_STRUCT_HAS_EXIT_STATE */
+#define STRUCT_TASK_STRUCT_HAS_EXIT_STATE 1
/* define if you have a struct buf */
/* #undef HAVE_STRUCT_BUF */
@@ -477,7 +477,7 @@
/* #undef FAST_RESTART */
#define FULL_LISTVOL_SWITCH 1
/* #undef COMPLETION_H_EXISTS */
-/* #undef DEFINED_FOR_EACH_PROCESS */
+#define DEFINED_FOR_EACH_PROCESS 1
/* #undef DEFINED_PREV_TASK */
/* #undef EXPORTED_KALLSYMS_ADDRESS */
/* #undef EXPORTED_KALLSYMS_SYMBOL */
@@ -495,9 +495,9 @@
/* #undef STRUCT_INODE_HAS_I_ALLOC_SEM */
/* #undef STRUCT_INODE_HAS_I_TRUNCATE_SEM */
/* #undef STRUCT_TASK_STRUCT_HAS_PARENT */
-/* #undef STRUCT_TASK_STRUCT_HAS_REAL_PARENT */
+#define STRUCT_TASK_STRUCT_HAS_REAL_PARENT
/* #undef STRUCT_TASK_STRUCT_HAS_SIG */
-/* #undef STRUCT_TASK_STRUCT_HAS_SIGHAND */
+#define STRUCT_TASK_STRUCT_HAS_SIGHAND 1
/* #undef STRUCT_TASK_STRUCT_HAS_SIGMASK_LOCK */
/* #undef ssize_t */
#define SIZEOF_TIME_T 8