D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320L => Topic started by: sparomba on February 17, 2014, 08:08:20 AM

Title: compile davfs2 to mount a WebDAV share
Post by: sparomba on February 17, 2014, 08:08:20 AM
I'm trying to compile davfs2 (http://savannah.nongnu.org/projects/davfs2) on the dns-320l (fun_plug 0.7) so I can mount a box.net account directly on the nas.
The neon library is installed and the ./configure command works fine but the make command is cancelling with this error:
Code: [Select]
webdav.c: In function 'dav_init_webdav':
webdav.c:348:9: error: 'cookie_io_functions_t' undeclared (first use in this function)
webdav.c:348:9: note: each undeclared identifier is reported only once for each function it appears in
webdav.c:348:32: error: 'log_func' undeclared (first use in this function)
webdav.c:354:9: warning: implicit declaration of function 'fopencookie'
webdav.c: In function 'ssl_verify':
webdav.c:1970:13: warning: implicit declaration of function 'rpmatch'
make[2]: *** [webdav.o] Error 1
make[2]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7'
make: *** [all] Error 2
root@MEDIA:/mnt/HD/HD_b2/davfs2-1.4.7#
I couldn't figure out what i'm doing wrong or if there is any other library missing.

Has anyone successfully compiled davfs2 on the DNS-320L? Could you please give advice or post the binary?
Title: Re: compile davfs2 to mount a WebDAV share
Post by: pizzaking on February 19, 2014, 01:51:25 PM
I also tried to compile davfs but couldn't get it to work. Instead I compiled fuse (http://fuse.sourceforge.net/ (http://fuse.sourceforge.net/)), and afterwards wdfs (http://noedler.de/projekte/wdfs/ (http://noedler.de/projekte/wdfs/)). This works very well.