數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2012-10-15 09:09:28

fugcon
新生
註冊日期: 2011-06-03
文章數: 12
目前積分 :   

tomato编译求助

tomato-shibby的源码编译带nfs功能的版本无法完成,请各位予以协助,谢谢!错误信息如下:
sections -fdata-sections  -L/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib -L/root/tomato/tomato-shibby/release/src-rt/router/e2fsprogs/lib -L/root/tomato/tomato-shibby/release/src-rt/router/libnfsidmap/staged/usr/lib -ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC -o idmapd atomicio.o cfg.o idmapd.o strlcat.o strlcpy.o -levent -lnfsidmap ../../support/nfs/libnfs.a
libtool: link: warning: library `/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib/libevent.la' was moved.
libtool: link: warning: library `/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib/libevent.la' was moved.
mipsel-uclibc-gcc -Wall -Wstrict-prototypes -pipe -Os -Wall -fno-delete-null-pointer-checks -funit-at-a-time -I/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/include -I/root/tomato/tomato-shibby/release/src-rt/router/e2fsprogs/lib -I/root/tomato/tomato-shibby/release/src-rt/router/libnfsidmap/staged/usr/include -ffunction-sections -fdata-sections -ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC -o idmapd atomicio.o cfg.o idmapd.o strlcat.o strlcpy.o  -L/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib -L/root/tomato/tomato-shibby/release/src-rt/router/e2fsprogs/lib -L/root/tomato/tomato-shibby/release/src-rt/router/libnfsidmap/staged/usr/lib /root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib/libevent.so /usr/lib/libnfsidmap.so -ldl ../../support/nfs/libnfs.a   -Wl,--rpath -Wl,/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib -Wl,--rpath -Wl,/root/tomato/tomato-shibby/release/src-rt/router/libevent/staged/usr/local/lib
/usr/lib/libnfsidmap.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[6]: *** [idmapd] 错误 1
make[6]:正在离开目录 `/root/tomato/tomato-shibby/release/src/router/nfs-utils/utils/idmapd'
make[5]: *** [all-recursive] 错误 1
make[5]:正在离开目录 `/root/tomato/tomato-shibby/release/src/router/nfs-utils/utils'
make[4]: *** [all-recursive] 错误 1
make[4]:正在离开目录 `/root/tomato/tomato-shibby/release/src/router/nfs-utils'
make[3]: *** [nfs-utils] 错误 2
make[3]:正在离开目录 `/root/tomato/tomato-shibby/release/src/router'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/root/tomato/tomato-shibby/release/src-rt'




離線

 

#2 2012-12-15 20:01:37

wackejohn
新生
註冊日期: 2012-12-08
文章數: 6
目前積分 :   

Re: tomato编译求助

我编译也碰到这个问题了,完全google不到帮助信息,好在抱着试试看的想法,去/usr/lib目录下,把libnfsidmap.so直接改名,结果成功编译通过了。。可是又碰到的新问题,我编译的r2 aio版本,编译完成后提示说固件太大,没法生成trx文件,求大大指点...



離線

 

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed