cmd: comerr
@case ${SYS_NAME} in \
- sgi_6* | sun*_5[789] | hp_ux11* | ia64_hpux* | sparc64_linux* | alpha_linux* ) \
+ sgi_6* | sun*_5[789] | sun*_510 | hp_ux11* | ia64_hpux* | sparc64_linux* | alpha_linux* ) \
${COMPILE_PART1} cmd ${COMPILE_PART2}64 ;; \
*) \
${COMPILE_PART1} cmd ${COMPILE_PART2} ;; \
kdump64:
-set -x; \
case ${SYS_NAME} in \
- sun4x_5[789] | hp_ux11* |sunx86_5[789] ) \
+ sun4x_5[789] | sun4x_510 | hp_ux11* | sunx86_5[789] | sunx86_510 ) \
$(MAKE) kdump64.o ; \
${CC} ${XCFLAGS64} -o kdump64 kdump64.o ${TOP_LIBDIR}/libcmd64.a ${XLIBELFA} ${XLIBKVM} ${XLIBS} ;; \
esac
kdump64.o : kdump.c ${INCLS} AFS_component_version_number.c
-set -x; \
case ${SYS_NAME} in \
- sun4x_5[789] | hp_ux11* |sunx86_5[789] ) \
+ sun4x_5[789] | sun4x_510 | hp_ux11* | sunx86_5[789] | sunx86_510 ) \
${CC} ${KERN_DBG} ${KERN_OPTMZ} -I${TOP_SRCDIR} -I${TOP_INCDIR}/afs \
-I${TOP_OBJDIR}/src/config -I${TOP_OBJDIR}/src -I${TOP_INCDIR} ${XCFLAGS64} \
-o kdump64.o -c ${srcdir}/kdump.c ;; \
for f in kdump.IP??; \
do ${INSTALL} -s $$f ${DEST}/etc/$$f || exit $$? ; \
done ;; \
- sun*_5[789] ) \
+ sun*_5[789] | sun*_510 ) \
${INSTALLex} -f ${srcdir}/kdump.sh.solaris7 ${DEST}/etc/kdump; \
- ${INSTALL} -s -f $? $@;; \
+ ${INSTALL} -s -f ${srcdir}/kdump ${DEST}/etc/kdump32;; \
*alpha_linux* ) \
${INSTALLex} -f ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \
${INSTALL} -s kdump-alpha_linux-${LINUX_VERSION} $@ ;; \
for f in kdump.IP??; \
do ${INSTALL} -s $$f ${DESTDIR}${sbindir}/$$f || exit $$? ; \
done ;; \
- sun*_5[789] ) \
+ sun*_5[789] | sun*_510 ) \
${INSTALLex} -f kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump32; \
${INSTALL} -s -f $? $@;; \
*linux* ) \
#endif
#endif
-#include <sys/file.h>
-
#ifdef AFS_SGI62_ENV
#include <sys/fcntl.h>
#ifndef L_SET
#include <sys/socket.h>
#endif
+#ifndef AFS_LINUX26_ENV
+#include <sys/file.h>
+#endif
+
/*
* On SGIs, when _KERNEL is defined, <netinet/in.h> declares inet_addr()
* in a way that conflicts with the declaration in <arpa/inet.h>.
#undef LONG_MAX
#undef ULONG_MAX
#define _LINUX_TIME_H
+#ifndef AFS_LINUX26_ENV
#define _LINUX_FCNTL_H
+#endif
#ifdef AFS_IA64_LINUX24_ENV
#define flock64 flock
#endif /* AFS_IA64_LINUX24_ENV */
if (pnt)
printf
("Buffer #%d:\tfid=%lu page=%d, accTime=%d,\n\tHash=%x, data=%x, lockers=%x, dirty=%d, hashI=%d\n",
- i, bp->fid[0], bp->page, bp->accesstime, bp->hashNext,
+ i, bp->fid, bp->page, bp->accesstime, bp->hashNext,
bp->data, bp->lockers, bp->dirty, bp->hashIndex);
#endif
j++;
}
}
#ifdef AFS_LINUX22_ENV
- printf("\tflushcnt=%d, mapcnt=%d\n", vep->flushcnt, vep->mapcnt);
+ printf("\tmapcnt=%d\n", vep->mapcnt);
#endif
}