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,
/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
Log in to post a comment.