Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

davfs2 installation problem on CentOS 4.2

Help
maarten_dg
2006-03-27
2013-04-16
  • maarten_dg
    maarten_dg
    2006-03-27

    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