seg fault on file close, arla-0.12 and linux 2.1.122
Assar Westerlund
assar at sics.se
Thu Oct 1 22:56:22 CEST 1998
Dave Morrison <dave at bnl.gov> writes:
> close(3 <unfinished ...>
> +++ killed by SIGSEGV +++
That's most likely caused by the autoconf test for flush failing.
Apply the appended patch, do `autoreconf -f', and do a new build.
/assar
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/arla/configure.in,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -w -u -w -r1.165 -r1.166
--- configure.in 1998/09/29 23:15:26 1.165
+++ configure.in 1998/09/30 18:32:19 1.166
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script
dnl This requires autoconf 2.12
-AC_REVISION($Revision: 1.165 $)dnl
+AC_REVISION($Revision: 1.166 $)dnl
AC_PREREQ(2.12)
AC_INIT(arlad/arla.c)
AC_CONFIG_HEADER(include/config.h)
@@ -734,10 +734,10 @@
AC_HAVE_KERNEL_STRUCT_FIELD([
#include <linux/fs.h>
-typedef int (*foo)(struct file *);
+typedef int (*flush_type)(struct file *);
],
file_operations,
-foo,
+flush_type,
flush)
AC_STRUCT_SOCKADDR_HAS_SA_LEN
More information about the Arla-drinkers
mailing list