From: maarten De G. <pla...@ho...> - 2006-03-27 08:23:17
|
Hi, I'm working with an Asterisk@home installation and it's based on CentOS 4.2. I get an error when I make the package [root@asterisk1 davfs2-0.2.7]# make gcc -DHAVE_CONFIG_H -I/home/admin/davfs2-0.2.7 -I./lib -I./src -I/usr/src/linux/include -g -O2 -I/usr/local/include/neon -DNEON_ZLIB -DSYSCONFDIR=\"/usr/local/etc/davfs2\" -DSTATEDIR=\"/var/run/mount.davfs\" -c src/davfsd.c -o src/davfsd.o In file included from /usr/src/linux/include/linux/coda.h:62, from src/davfsd.h:32, from src/davfsd.c:37: /usr/src/linux/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead! make: *** [src/davfsd.o] Error 1 If someone has a solution, let me know Thanks Maarten |
From: Werner B. <wer...@on...> - 2006-03-27 17:10:23
|
Hello Marten, you may comment out in /usr/src/linux/include/linux/coda.h, line 62 like this /*#include <linux/config.h>*/ and try 'make' again. After compiling you should remove the comment characters from line 62. Greetings Werner |