i was able to build an ia64 release with a recent checkout using the
attached patches.   there is another small gotcha you might run into.
recent versions of glibc are not pointing /usr/include/linux to 
/usr/src/linux/include/linux.  (please dont bother to start arguments
about what is the "right" way).  the ia64 kernel keeps some of the
config stuff in linux/autoconf.h (page size among other things) and
autoconf.h is basically a stub in the glibc version.  

[for the record, i didnt test the afs modules it built but will later]

Index: Makefile.in
===================================================================
RCS file: /cvs/openafs/Makefile.in,v
retrieving revision 1.38
diff -u -d -b -w -u -r1.38 Makefile.in
--- Makefile.in 2002/02/16 18:23:44     1.38
+++ Makefile.in 2002/04/15 15:37:41
@@ -275,7 +275,7 @@
                ${COMPILE_PART1} sia ${COMPILE_PART2} ;; \
        sun4x_55 ) \
                ${COMPILE_PART1} login ${COMPILE_PART2} ;; \
-       parisc_linux24) \
+       parisc_linux24|ia64_linux24) \
                echo Skipping pam/login for parisc_linux24 ;; \
        sun4x_* | sunx86_* | hp_ux11* | *linux* | *fbsd* ) \
                ${COMPILE_PART1} pam ${COMPILE_PART2} ;; \
Index: src/cf/osconf.m4
===================================================================
RCS file: /cvs/openafs/src/cf/osconf.m4,v
retrieving revision 1.12
diff -u -d -b -w -u -r1.12 osconf.m4
--- src/cf/osconf.m4    2002/03/08 05:59:44     1.12
+++ src/cf/osconf.m4    2002/04/15 15:37:42
@@ -184,6 +184,16 @@
                YACC="bison -y"
                ;;
 
+       ia64_linux24)
+               LEX="flex -l"
+               MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
+               MT_LIBS="-lpthread"
+               PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
+               SHLIB_LDFLAGS="-shared -Xlinker -x"
+               TXLIBS="/usr/lib/libncurses.so"
+               XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
+               ;;
+
        i386_linux22)
                LEX="flex -l"
                MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
Index: src/kauth/client.c
===================================================================
RCS file: /cvs/openafs/src/kauth/client.c,v
retrieving revision 1.9
diff -u -d -b -w -u -r1.9 client.c
--- src/kauth/client.c  2001/10/05 21:17:18     1.9
+++ src/kauth/client.c  2002/04/15 15:37:42
@@ -44,6 +44,10 @@
 #include <strings.h>
 #endif
 #endif
+#ifdef HAVE_UNISTD_H
+#define __USE_XOPEN
+#include <unistd.h>
+#endif
 #include <afs/cellconfig.h>
 #include <afs/auth.h>
 #include <afs/afsutil.h>
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to