OpenWrt Forum Archive

Topic: Can't build Fuse

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am trying to compile OpenWRT with Fuse from the latest trunk, but I get the following errors:

Rebuilding /home/fredrikw/openwrt/trunk/bin/packages/fuse-utils_2.6.3-1_mipsel.ipk
Rebuilding /home/fredrikw/openwrt/trunk/bin/packages/libfuse_2.6.3-1_mipsel.ipk
Rebuilding /home/fredrikw/openwrt/trunk/bin/packages/kmod-fuse_2.4.34+2.6.3-brcm-1_mipsel.ipk
make[4]: Entering directory `/home/fredrikw/openwrt/trunk/package/fuse'
make -C /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3 ARCH="mips" CROSS_COMPILE="mipsel-linux-uclibc-" DESTDIR="/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install" all install
make[5]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
Making all in kernel
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/kernel'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/kernel'
Making all in include
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make  all-am
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[8]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[8]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
Making all in lib
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
Making all in util
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
Making install in kernel
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/kernel'
make[6]: Nothing to be done for `install'.
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/kernel'
Making install in include
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[8]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[8]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/fuse" || mkdir -p -- "/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse"
/usr/bin/install -c -m 644 'fuse.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse.h'
/usr/bin/install -c -m 644 'fuse_compat.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_compat.h'
/usr/bin/install -c -m 644 'fuse_common.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_common.h'
/usr/bin/install -c -m 644 'fuse_common_compat.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_common_compat.h'
/usr/bin/install -c -m 644 'fuse_lowlevel.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_lowlevel.h'
/usr/bin/install -c -m 644 'fuse_lowlevel_compat.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_lowlevel_compat.h'
/usr/bin/install -c -m 644 'fuse_opt.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse/fuse_opt.h'
test -z "/usr/include" || mkdir -p -- "/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include"
/usr/bin/install -c -m 644 'old/fuse.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse.h'
/usr/bin/install -c -m 644 'ulockmgr.h' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/ulockmgr.h'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/include'
Making install in lib
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
make[8]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[8]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
test -z "/usr/lib" || mkdir -p -- "/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c  'libfuse.la' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.la'
libtool: install: /usr/bin/install -c .libs/libfuse.so.2.6.3 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.so.2.6.3
libtool: install: (cd /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib && { ln -s -f libfuse.so.2.6.3 libfuse.so.2 || { rm -f libfuse.so.2 && ln -s libfuse.so.2.6.3 libfuse.so.2; }; })
libtool: install: (cd /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib && { ln -s -f libfuse.so.2.6.3 libfuse.so || { rm -f libfuse.so && ln -s libfuse.so.2.6.3 libfuse.so; }; })
libtool: install: /usr/bin/install -c .libs/libfuse.lai /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.la
libtool: install: /usr/bin/install -c .libs/libfuse.a /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.a
libtool: install: chmod 644 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.a
libtool: install: mipsel-linux-uclibc-ranlib /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c  'libulockmgr.la' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.la'
libtool: install: /usr/bin/install -c .libs/libulockmgr.so.1.0.1 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.so.1.0.1
libtool: install: (cd /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib && { ln -s -f libulockmgr.so.1.0.1 libulockmgr.so.1 || { rm -f libulockmgr.so.1 && ln -s libulockmgr.so.1.0.1 libulockmgr.so.1; }; })
libtool: install: (cd /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib && { ln -s -f libulockmgr.so.1.0.1 libulockmgr.so || { rm -f libulockmgr.so && ln -s libulockmgr.so.1.0.1 libulockmgr.so; }; })
libtool: install: /usr/bin/install -c .libs/libulockmgr.lai /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.la
libtool: install: /usr/bin/install -c .libs/libulockmgr.a /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.a
libtool: install: chmod 644 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.a
libtool: install: mipsel-linux-uclibc-ranlib /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libulockmgr.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[7]: Nothing to be done for `install-data-am'.
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/lib'
Making install in util
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
test -z "/usr/bin" || mkdir -p -- "/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin"
  /bin/bash ../libtool --mode=install /usr/bin/install -c 'fusermount' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/fusermount'
libtool: install: /usr/bin/install -c fusermount /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/fusermount
  /bin/bash ../libtool --mode=install /usr/bin/install -c 'ulockmgr_server' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/ulockmgr_server'
libtool: install: /usr/bin/install -c ulockmgr_server /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/ulockmgr_server
mkdir -p -- /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/sbin
/usr/bin/install -c ./mount.fuse /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/sbin/mount.fuse
mkdir -p -- /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/etc/init.d
/usr/bin/install -c ./init_script /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/etc/init.d/fuse
/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true
update-rc.d: /etc/init.d/fuse: file does not exist
make  install-exec-hook
make[8]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
chown root /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/fusermount
chmod u+s /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/fusermount
make[8]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
mkdir -p -- /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/etc/udev/rules.d
/usr/bin/install -c -m 644 ./udev.rules /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/etc/udev/rules.d/99-fuse.rules
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/util'
make[6]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Entering directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[7]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/pkgconfig" || mkdir -p -- "/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/pkgconfig"
/usr/bin/install -c -m 644 'fuse.pc' '/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/pkgconfig/fuse.pc'
make[7]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[6]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
make[5]: Leaving directory `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3'
touch /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/.built
install -d -m0755 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils/usr/bin
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/bin/fusermount /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils/usr/bin/
mkdir -p /home/fredrikw/openwrt/trunk/bin/packages
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils -name CVS | xargs rm -rf
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils -name .svn | xargs rm -rf
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils -name '.#*' | xargs rm -f
STRIP="/home/fredrikw/openwrt/trunk/staging_dir_mipsel/bin/sstrip" STRIP_KMOD="mipsel-linux-uclibc-strip --strip-unneeded --remove-section=.comment -w -K '__mod*'" /home/fredrikw/openwrt/trunk/scripts/rstrip.sh /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils
rstrip.sh: /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils/usr/bin/fusermount:executable
ipkg-build -c -o 0 -g 0 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils /home/fredrikw/openwrt/trunk/bin/packages
Packaged contents of /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/fuse-utils into /home/fredrikw/openwrt/trunk/bin/packages/fuse-utils_2.6.3-1_mipsel.ipk
mkdir -p /home/fredrikw/openwrt/trunk/staging_dir_mipsel/stampfiles
mkdir -p /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/include
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/include/fuse{,.h} /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/include/
mkdir -p /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.{a,so*} /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib/
mkdir -p /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib/pkgconfig
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/pkgconfig/fuse.pc /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib/pkgconfig/
/home/fredrikw/openwrt/trunk/staging_dir_mipsel/bin/sed -i -e 's,-I${includedir}/fuse,,g' /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib/pkgconfig/fuse.pc
/home/fredrikw/openwrt/trunk/staging_dir_mipsel/bin/sed -i -e 's,-L${libdir},,g' /home/fredrikw/openwrt/trunk/staging_dir_mipsel/usr/lib/pkgconfig/fuse.pc
touch /home/fredrikw/openwrt/trunk/staging_dir_mipsel/stampfiles/.fuse-installed
install -d -m0755 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse/usr/lib
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/usr/lib/libfuse.so.* /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse/usr/lib/
mkdir -p /home/fredrikw/openwrt/trunk/bin/packages
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse -name CVS | xargs rm -rf
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse -name .svn | xargs rm -rf
find /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse -name '.#*' | xargs rm -f
STRIP="/home/fredrikw/openwrt/trunk/staging_dir_mipsel/bin/sstrip" STRIP_KMOD="mipsel-linux-uclibc-strip --strip-unneeded --remove-section=.comment -w -K '__mod*'" /home/fredrikw/openwrt/trunk/scripts/rstrip.sh /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse
rstrip.sh: /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse/usr/lib/libfuse.so.2.6.3:shared object
ipkg-build -c -o 0 -g 0 /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse /home/fredrikw/openwrt/trunk/bin/packages
Packaged contents of /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/libfuse into /home/fredrikw/openwrt/trunk/bin/packages/libfuse_2.6.3-1_mipsel.ipk
mkdir -p /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/kmod-fuse/lib/modules/2.4.34
cp -fpR /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/lib/modules/2.4.34/kernel/fs/fuse/fuse.o /home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg/kmod-fuse/lib/modules/2.4.34/
cp: cannot stat `/home/fredrikw/openwrt/trunk/build_mipsel/linux-2.4-brcm/fuse-2.6.3/ipkg-install/lib/modules/2.4.34/kernel/fs/fuse/fuse.o': No such file or directory
make[4]: *** [/home/fredrikw/openwrt/trunk/bin/packages/kmod-fuse_2.4.34+2.6.3-brcm-1_mipsel.ipk] Error 1
make[4]: Leaving directory `/home/fredrikw/openwrt/trunk/package/fuse'
make[3]: *** [fuse-compile] Error 2
make[3]: Leaving directory `/home/fredrikw/openwrt/trunk/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/fredrikw/openwrt/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/fredrikw/openwrt/trunk'
make: *** [world] Error 2

I think fuse will not work with 2.4 kernels.

From /trunk/package/fuse/Makefile:

...
  DEPENDS:=@LINUX_2_6
...

(Last edited by forum2006 on 9 Feb 2007, 21:18)

Just found that too on the fuse website.

I'll try to find out what's wrong.

Can you test my patch?

wget --no-check-certificate -O fix-kmod-fuse.patch "https://dev.openwrt.org/attachment/ticket/1346/fix-kmod-fuse.patch?format=raw"
patch -p0 < fix-kmod-fuse.patch
make package/fuse-{clean,compile}

(Last edited by forum2006 on 10 Feb 2007, 00:01)

Yes. that did the trick. Thanks.

purjo__ wrote:

Yes. that did the trick. Thanks.

did you try to load fuse.o? I  had an error when launching it by insmod fuse.o

Yes I did and it worked before..
Yesterday I updated my svn-tree to the lastest trunk, and now I cant even chose to compile fuse in menuconfig.
I added
CONFIG_PACKAGE_fuse-utils=m
CONFIG_PACKAGE_libfuse=m
CONFIG_PACKAGE_kmod-fuse=m
to .config and compiled. All the fuse packages was compiled, but when I try to insmod fuse I get a lot of unresolved symbol errors.
insmod: unresolved symbol malloc
insmod: unresolved symbol pthread_cond_destroy
insmod: unresolved symbol sigemptyset
insmod: unresolved symbol fuse_reply_statfs
insmod: unresolved symbol fuse_session_next_chan
insmod: unresolved symbol fuse_lowlevel_new_common
insmod: unresolved symbol pthread_key_delete
insmod: unresolved symbol fuse_reply_readlink
insmod: unresolved symbol pthread_mutex_lock
insmod: unresolved symbol fuse_session_loop
insmod: unresolved symbol fuse_opt_match
insmod: unresolved symbol fuse_session_exit
insmod: unresolved symbol fflush
insmod: unresolved symbol perror
insmod: unresolved symbol strdup
insmod: unresolved symbol free
insmod: unresolved symbol pthread_self
insmod: unresolved symbol fuse_reply_err
insmod: unresolved symbol fuse_session_exited
insmod: unresolved symbol abort
insmod: unresolved symbol pthread_kill
insmod: unresolved symbol pthread_rwlock_init
insmod: unresolved symbol pthread_getspecific
insmod: unresolved symbol fputs
insmod: unresolved symbol pthread_setspecific
insmod: unresolved symbol fuse_req_userdata
insmod: unresolved symbol pthread_mutex_destroy
insmod: unresolved symbol pthread_rwlock_wrlock
insmod: unresolved symbol fuse_kern_chan_new
insmod: unresolved symbol clock_gettime
insmod: unresolved symbol pthread_rwlock_destroy
insmod: unresolved symbol fuse_chan_bufsize
insmod: unresolved symbol strcmp
insmod: unresolved symbol fuse_reply_xattr
insmod: unresolved symbol pthread_rwlock_rdlock
insmod: unresolved symbol fuse_req_interrupt_func
insmod: unresolved symbol stderr
insmod: unresolved symbol pthread_rwlock_unlock
insmod: unresolved symbol stdout
insmod: unresolved symbol sigaction
insmod: unresolved symbol pthread_cond_init
insmod: unresolved symbol fuse_req_interrupted
insmod: unresolved symbol fuse_reply_lock
insmod: unresolved symbol fprintf
insmod: unresolved symbol fuse_session_process
insmod: unresolved symbol fuse_session_destroy
insmod: unresolved symbol __assert
insmod: unresolved symbol __errno_location
insmod: unresolved symbol fuse_reply_attr
insmod: unresolved symbol fuse_opt_add_arg
insmod: unresolved symbol pthread_cond_broadcast
insmod: unresolved symbol fuse_reply_bmap
insmod: unresolved symbol pthread_mutex_unlock
insmod: unresolved symbol fuse_reply_write
insmod: unresolved symbol fuse_reply_buf
insmod: unresolved symbol fuse_reply_open
insmod: unresolved symbol fuse_opt_free_args
insmod: unresolved symbol fuse_reply_none
insmod: unresolved symbol fuse_reply_create
insmod: unresolved symbol strncpy
insmod: unresolved symbol calloc
insmod: unresolved symbol pthread_cond_timedwait
insmod: unresolved symbol pthread_mutex_init
insmod: unresolved symbol fuse_req_ctx
insmod: unresolved symbol fuse_reply_entry
insmod: unresolved symbol _gp_disp
insmod: unresolved symbol fuse_opt_parse
insmod: unresolved symbol realloc
insmod: unresolved symbol printf
insmod: unresolved symbol strerror
insmod: unresolved symbol fuse_sync_compat_args
insmod: unresolved symbol pthread_key_create
insmod: unresolved symbol fuse_session_add_chan
insmod: unresolved symbol fuse_chan_recv
insmod: unresolved symbol fuse_add_direntry
insmod: unresolved symbol gettimeofday
insmod: unresolved symbol fuse_lowlevel_is_lib_option

purjo__ wrote:

Yes I did and it worked before..
Yesterday I updated my svn-tree to the lastest trunk, and now I cant even chose to compile fuse in menuconfig.
I added
CONFIG_PACKAGE_fuse-utils=m
CONFIG_PACKAGE_libfuse=m
CONFIG_PACKAGE_kmod-fuse=m
to .config and compiled. All the fuse packages was compiled, but when I try to insmod fuse I get a lot of unresolved symbol errors.

that was my problem too:( it seems that fuse is for kernel 2.6 only:

https://dev.openwrt.org/changeset/6288

Fuse is for 2.4 or 2.6. It is included in White russian  with kernel 2.4. Four days ago, before I updated my svn-tree, I was able to configure and compile it.

The discussion might have continued from here.