DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2014-02-17 18:53:14

sparomba
New member
Registered: 2014-02-17
Posts: 1

compile davfs2 to mount WebDAV share

I'm trying to compile 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 an error. 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?

Here is the output for ./configure --prefix="/ffp" --with-neon="/ffp" :

Code:

root@MEDIA:/mnt/HD/HD_b2/davfs2-1.4.7# ./configure --prefix="/ffp" --with-neon="/ffp"
checking for a BSD-compatible install... /opt/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking whether NLS is requested... yes
checking for msgfmt... /ffp/bin/msgfmt
checking for gmsgfmt... /ffp/bin/msgfmt
checking for xgettext... /ffp/bin/xgettext
checking for msgmerge... /ffp/bin/msgmerge
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for ld used by GCC... /ffp/bin/ld
checking if the linker (/ffp/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /ffp/lib/libiconv.so -L/ffp/lib -Wl,-rpath -Wl,/ffp/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /ffp/lib/libintl.so -L/ffp/lib /ffp/lib/libiconv.so /ffp/lib/libc.so -Wl,-rpath -Wl,/ffp/lib
checking for neon library in /ffp... found
checking linking against neon... yes
configure: using neon library 0.29.6
configure: SSL is supported by neon
configure: zlib is supported by neon
configure: IPv6 is supported by neon
configure: LFS is supported by neon
configure: SOCKSv5 is not supported by neon
configure: thread-safe SSL is not supported by neon
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /ffp/bin/grep
checking for egrep... /ffp/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for struct stat.st_blksize... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint32_t... yes
checking for uint64_t... yes
checking for working volatile... yes
checking size of void *... 4
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for library containing getmntent... none required
checking whether gcc needs -traditional... no
checking whether sys/types.h defines makedev... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for endpwent... yes
checking for ftruncate... yes
checking for getmntent... (cached) yes
checking for memset... yes
checking for mkdir... yes
checking for nl_langinfo... yes
checking for rpmatch... no
checking for select... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for utime... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating etc/Makefile
config.status: creating man/Makefile
config.status: creating man/de/Makefile
config.status: creating man/es/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration for building davfs2 1.4.7:

  Install Prefix:            /ffp
  Compiler:                  gcc
  Large File Support:        yes
  Neon Library:              library in /ffp (0.29.6)
                             SSL is supported by neon
  National Language Support: external libintl

root@MEDIA:/mnt/HD/HD_b2/davfs2-1.4.7#

and the output for  make with the error message at the end:

Code:

root@MEDIA:/mnt/HD/HD_b2/davfs2-1.4.7# make
make  all-recursive
make[1]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7'
Making all in po
make[2]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/po'
Making all in etc
make[2]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/etc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/etc'
Making all in man
make[2]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/man'
Making all in de
make[3]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/man/de'
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' davfs2.conf.5 | gzip -9 > davfs2.conf.5.gz
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' mount.davfs.8 | gzip -9 > mount.davfs.8.gz
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' umount.davfs.8 | gzip -9 > umount.davfs.8.gz
make[3]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/man/de'
Making all in es
make[3]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/man/es'
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' davfs2.conf.5 | gzip -9 > davfs2.conf.5.gz
make[3]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/man/es'
make[3]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/man'
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' davfs2.conf.5 | gzip -9 > davfs2.conf.5.gz
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' mount.davfs.8 | gzip -9 > mount.davfs.8.gz
sed -e 's|@PACKAGE[@]|davfs2|g' -e 's|@PACKAGE_STRING[@]|davfs2 1.4.7|g' -e 's|@PACKAGE_BUGREPORT[@]|http://savannah.nongnu.org/projects/davfs2|g' -e 's|@PROGRAM_NAME[@]|mount.davfs|g' -e 's|@SYS_CONF_DIR[@]|/ffp/etc/davfs2|g' -e 's|@SYS_RUN[@]|/var/run/mount.davfs|g' -e 's|@SYS_CACHE_DIR[@]|/var/cache/davfs2|g' -e 's|@SECRETSFILE[@]|secrets|g' -e 's|@CONFIGFILE[@]|davfs2.conf|g' -e 's|@CERTS_DIR[@]|certs|g' -e 's|@CLICERTS_DIR[@]|private|g' -e 's|@USER[@]|davfs2|g' -e 's|@GROUP[@]|davfs2|g' umount.davfs.8 | gzip -9 > umount.davfs.8.gz
make[3]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/man'
make[2]: Leaving directory `/mnt/HD/HD_b2/davfs2-1.4.7/man'
Making all in src
make[2]: Entering directory `/mnt/HD/HD_b2/davfs2-1.4.7/src'
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.c
mv -f .deps/cache.Tpo .deps/cache.Po
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT dav_coda.o -MD -MP -MF .deps/dav_coda.Tpo -c -o dav_coda.o dav_coda.c
mv -f .deps/dav_coda.Tpo .deps/dav_coda.Po
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT dav_fuse.o -MD -MP -MF .deps/dav_fuse.Tpo -c -o dav_fuse.o dav_fuse.c
mv -f .deps/dav_fuse.Tpo .deps/dav_fuse.Po
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT kernel_interface.o -MD -MP -MF .deps/kernel_interface.Tpo -c -o kernel_interface.o kernel_interface.c
mv -f .deps/kernel_interface.Tpo .deps/kernel_interface.Po
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT mount_davfs.o -MD -MP -MF .deps/mount_davfs.Tpo -c -o mount_davfs.o mount_davfs.c
mount_davfs.c: In function 'log_dbg_cmdline':
mount_davfs.c:1798:5: warning: implicit declaration of function 'argz_create'
mount_davfs.c:1799:9: warning: implicit declaration of function 'argz_stringify'
mv -f .deps/mount_davfs.Tpo .deps/mount_davfs.Po
gcc -DPROGRAM_NAME=\"mount.davfs\" -DDAV_SYS_CONF_DIR=\"/ffp/etc/davfs2\" -DDAV_SYS_RUN=\"/var/run/mount.davfs\" -DDAV_SYS_CACHE=\"/var/cache/davfs2\" -DDAV_SECRETS=\"secrets\" -DDAV_CONFIG=\"davfs2.conf\" -DDAV_CERTS_DIR=\"certs\" -DDAV_CLICERTS_DIR=\"private\" -DDAV_DATA_DIR=\"/ffp/share/davfs2\" -DLOCALEDIR=\"/ffp/share/locale\" -DDAV_USER=\"davfs2\" -DDAV_GROUP=\"davfs2\" -DHAVE_CONFIG_H -I. -I..   -I/ffp/include -Wall -g -O2 -I/ffp/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -MT webdav.o -MD -MP -MF .deps/webdav.Tpo -c -o webdav.o webdav.c
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#

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB