davideuler / autoddvpn

Automatically exported from code.google.com/p/autoddvpn
0 stars 0 forks source link

在解开DD-WRT软件是不能正常解压. #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
显示如下:初次接触乌班图,请多指教

/extract-ng.sh firmware.bin working_directory/Firmware Mod Kit (build-ng) 0.70 
beta, (c)2011 Craig Heffner, Jeremy Collake
http://www.bitsum.com

Firmware-Mod-Kit has not been built yet. Building...
(cd ./binwalk*/src && ./configure --disable-updates && make && cp binwalk 
../../)
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 arpa/inet.h usability... yes
checking arpa/inet.h presence... no
configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: arpa/inet.h: proceeding with the compiler's result
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... no
configure: WARNING: fcntl.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: fcntl.h: proceeding with the compiler's result
checking for fcntl.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... no
configure: WARNING: stdlib.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: stdlib.h: proceeding with the compiler's result
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... no
configure: WARNING: string.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: string.h: proceeding with the compiler's result
checking for string.h... yes
checking unistd.h usability... yes
checking unistd.h presence... no
configure: WARNING: unistd.h: accepted by the compiler, rejected by the 
preprocessor!
configure: WARNING: unistd.h: proceeding with the compiler's result
checking for unistd.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for memset... no
configure: error: "Missing necessary function"
make: *** [binwalk] Error 1
Build failed! Quitting...

Original issue reported on code.google.com by cqpen...@gmail.com on 13 Sep 2011 at 11:36

GoogleCodeExporter commented 9 years ago
我解压的时候中间也是有很多warning,似乎没关系
但是最后failed的话估计就是有问题了

Original comment by wyf88.1...@gmail.com on 14 Sep 2011 at 2:06

GoogleCodeExporter commented 9 years ago
最後是沒有錯誤了.可是又報提取不出來文件.我的路由器是:Bu
ffalo WHR-G300N 
v2,用的最新的固件是http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/B
rainSlayer-V24-preSP2/2011/06-14-11-r17201/buffalo_whr_g300nv2/buffalo-to-dd-wrt
_webflash-MULTI.bin,可有解決方案.我準備自定義固件.該路由器FLAS
H只有4M,不支持JFFS.

Original comment by cqpen...@gmail.com on 14 Sep 2011 at 2:13

GoogleCodeExporter commented 9 years ago
请问楼主这个错误最后怎么解决的?我在Ubuntu下也遇到了同��
�的问题,后来在CentOS下做的。
自定义固件是可以的,可以参考http://code.google.com/p/autoddvpn/iss
ues/detail?id=92 
的做法,但是对于WHR-G300N的固件,直接把那三个文件放进去��
�压缩,容量会超过原来的,所以必须删掉一些东西。我的做�
��是删掉了一些语言文件,空间就够了,你可以试试。

Original comment by ssfigh...@gmail.com on 27 Oct 2011 at 1:42