Patchwork [OpenWrt-Devel] some fix on sshfs

login
register
Submitter Xiangfu Liu
Date 2011-01-20 08:14:23
Message ID <4D37EEDF.1030107@gmail.com>
Download mbox | patch
Permalink /patch/605/
State Superseded
Delegated to: Florian Fainelli
Headers show

Comments

Xiangfu Liu - 2011-01-20 08:14:23
attach patch base on "Last Changed Rev: 25033",

this patch fixed below error:

/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: warning: libintl.so.8, needed by /home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so, not found (try using -rpath or -rpath-link)
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_gettext'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_bind_textdomain_codeset'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_dgettext'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_textdomain'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_bindtextdomain'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so: undefined reference to `libintl_dngettext'
collect2: ld returned 1 exit status
make[4]: *** [sshfs] Error 1

Patch

Index: net/sshfs/Makefile
===================================================================
--- net/sshfs/Makefile	(revision 25034)
+++ net/sshfs/Makefile	(working copy)
@@ -39,7 +39,7 @@ 
 		-I$(STAGING_DIR)/usr/lib/glib-2.0/include \
 		-I$(STAGING_DIR)/usr/include/fuse" \
 	SSHFS_LIBS=" \
-		-lglib-2.0 -liconv -lfuse -pthread -lgthread-2.0 \
+		-lglib-2.0 -liconv -lintl -lfuse -pthread -lgthread-2.0 \
 		-L$(STAGING_DIR)/usr/lib"
 
 define Build/Compile