Package: davfs2 Version: 0.2.4-1 Severity: normal Tags: patch When building 'davfs2' on amd64/unstable, I get the following error:
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I/davfs2-0.2.4 -I./lib -I./src -I/usr/src/linux/include -Wall -g -O2 -I/usr/include/neon -DNEON_ZLIB -DNEON_SSL -DSYSCONFDIR=\"/etc/davfs2\" -DSTATEDIR=\"/var/run/mount.davfs\" -c src/util.c -o src/util.o In file included from src/util.c:37: /usr/include/linux/coda.h:762: error: variable or field '__user' declared void /usr/include/linux/coda.h:762: error: syntax error before '*' token /usr/include/linux/coda.h:763: error: syntax error before '*' token /usr/include/linux/coda.h:766: error: syntax error before '}' token /usr/include/linux/coda.h:769: error: syntax error before '*' token /usr/include/linux/coda.h:772: error: syntax error before '}' token With the attached patch 'davfs2' can be compiled on amd64. Regards Andreas Jochens diff -urN ../tmp-orig/davfs2-0.2.4/src/util.c ./src/util.c --- ../tmp-orig/davfs2-0.2.4/src/util.c 2005-07-16 16:04:50.000000000 +0000 +++ ./src/util.c 2005-09-09 05:43:13.000000000 +0000 @@ -17,6 +17,12 @@ ** MA 02111-1307, USA */ +/* Linux coda head file */ +/* avoid inclusion of kernel time.h, since it conflicts with userland time.h */ +#define _LINUX_TIME_H +#include <linux/types.h> +#include <linux/coda.h> + #include "util.h" #include <stdlib.h> @@ -31,10 +37,6 @@ #include <string.h> #include <termios.h> -/* Linux coda head file */ -/* avoid inclusion of kernel time.h, since it conflicts with userland time.h */ -#define _LINUX_TIME_H -#include <linux/coda.h> /* Neon */ #include <ne_alloc.h> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]