找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2099|回复: 2

tomato固件编译问题,请求帮助

[复制链接]
根据左大的资料,和他提供的一个国外网站的学习资料,配置并编译tomato固件,感觉蛮顺利的,

为什么编译完毕,但是找不到编译的文件。在imgage目录下并没有tomato-K26-1.28.--defMIPSR2-Minivirtual**.trx这个文件。

此为代码,前面感觉有什么文件找不到,不知道是不是这个原因引起的,也找不到解决方法,希望有朋友能赐教。。

libc.so.0: Attempted to remove 772/1242 symbols. 433.67K - 226.23K = 207.45K
libresolv.so.0: not found, skipping...
libcrypt.so.0: Attempted to remove 2/5 symbols. 11.02K - 10.20K = 0.81K
libm.so.0: Attempted to remove 127/138 symbols. 59.31K - 14.50K = 44.81K
libpthread.so.0: Attempted to remove 212/226 symbols. 78.28K - 62.50K = 15.78K
libutil.so.0: Attempted to remove 7/8 symbols. 4.70K - 2.06K = 2.64K
libcrypto.so.1.0.0: Attempted to remove 3091/3772 symbols. 1489.37K - 1352.13K = 137.23K
libssl.so.1.0.0: Attempted to remove 535/585 symbols. 337.88K - 320.66K = 17.21K
libzebra.so: not found, skipping...
libz.so.1: not found, skipping...
libjpeg.so: not found, skipping...
libogg.so.0: not found, skipping...
libvorbis.so.0: not found, skipping...
libid3tag.so.0: not found, skipping...
libexif.so.12: not found, skipping...
libFLAC.so.8: not found, skipping...
libavcodec.so.52: not found, skipping...
libavutil.so.50: not found, skipping...
libavformat.so.52: not found, skipping...
libsmb.so: not found, skipping...
libbigballofmud.so: not found, skipping...
liblzo2.so.2.0.0: Attempted to remove 116/120 symbols. 139.98K - 7.02K = 132.96K
libbcmcrypto.so: Attempted to remove 110/121 symbols. 109.96K - 28.85K = 81.11K
libcurl.so.4.3.0: not found, skipping...
libevent-2.0.so.5: not found, skipping...
libdaemon.so.0.5.0: not found, skipping...
libiconv.so.2.5.1: not found, skipping...
libnfnetlink.so.0.2.0: not found, skipping...
libsodium.so.13.0.2: not found, skipping...
libpng.so.3.51.0: not found, skipping...
libpng12.so.0.51.0: not found, skipping...
libxml2.so.2.9.1: not found, skipping...

mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/ipv4/ip_gre.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/bridge/netfilter/ebt*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/usr/sbin/mdadm" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/ifb.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/ntfs.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/smbfs.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/auth_rpcgss.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/rpcsec_gss_krb5.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/scsi/sr_mod.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/scanner.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/sierra.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/usbkbd.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/usbmouse.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/hid*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/ipw.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/audio.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/ov51*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/pwc*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/emi*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/cdc_subset.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/sound/*" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/bcm57*.*o" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/pptp.*o" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/pppol2tp.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_cp1251.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_sjis.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_gb2312.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_euc-kr.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_big5.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/msdos.*o" 的文件状态(stat): 没有那个文件或目录
[ ! -f /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/lib/* ] && rm -rf /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/lib || true
/bin/sh: 1: [: /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/2.6.22.19/kernel/lib/ts_bm.ko: unexpected operator
cp: 无法获取"/home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/ipv4/netfilter/ipt_layer7.*o" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"usbmodeswitch/usb_modeswitch.setup" 的文件状态(stat): 没有那个文件或目录
L7 filters squished.                              
cp layer7/squished/*.pat /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/rom/etc/l7-protocols
cp rc/virtual**/* /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/rom/etc/virtual**
chmod +x /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/rom/etc/virtual**/*
busybox/examples/depmod.pl -k /home/hcg/tomato/release/src-rt/linux/linux-2.6/vmlinux -b /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/
unresolved symbol mii_ethtool_gset in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol mii_ethtool_sset in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol mii_link_ok in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol mii_nway_restart in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_alloc_urb in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_clear_halt in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_control_msg in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_deregister in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_driver_claim_interface in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_driver_release_interface in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_free_urb in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_get_dev in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_ifnum_to_if in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_kill_urb in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_put_dev in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_register_driver in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_set_interface in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_submit_urb in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
unresolved symbol usb_unlink_urb in file /lib/modules/2.6.22.19/kernel/drivers/net/huawei_ether.ko
---
make[5]: 正在进入目录 `/home/hcg/tomato/release/src-rt/linux/linux-2.6/scripts/squashfs'
make -C /home/hcg/tomato/release/src-rt/lzma/CPP/7zip/Compress/LZMA_Lib
make[6]: 正在进入目录 `/home/hcg/tomato/release/src/lzma/CPP/7zip/Compress/LZMA_Lib'
g++ -c -O3 -Wall ZLib.cpp
gcc -c -O3 -Wall ../../../../C/Alloc.c
gcc -c -O3 -Wall ../../../../C/7zCrc.c
gcc -c -O3 -Wall ../../../../C/Compress/Lz/MatchFinder.c
g++ -c -O3 -Wall ../LZMA/LZMADecoder.cpp
g++ -c -O3 -Wall ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
../LZMA/LZMAEncoder.cpp:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
                                             ^
../LZMA/LZMAEncoder.cpp:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
                                             ^
../LZMA/LZMAEncoder.cpp:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
                                          ^
../LZMA/LZMAEncoder.cpp:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
                                                              ^
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
../LZMA/LZMAEncoder.cpp:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^
g++ -c -O3 -Wall ../LZ/LZOutWindow.cpp
g++ -c -O3 -Wall ../RangeCoder/RangeCoderBit.cpp
g++ -c -O3 -Wall ../../Common/InBuffer.cpp
g++ -c -O3 -Wall ../../Common/OutBuffer.cpp
g++ -c -O3 -Wall ../../Common/FileStreams.cpp
g++ -c -O3 -Wall ../../Common/StreamUtils.cpp
g++ -c -O3 -Wall ../../../Common/C_FileIO.cpp
g++ -c -O3 -Wall ../../../Common/CommandLineParser.cpp
g++ -c -O3 -Wall ../../../Common/CRC.cpp
g++ -c -O3 -Wall ../../../Common/NewHandler.cpp
g++ -c -O3 -Wall ../../../Common/MyString.cpp
g++ -c -O3 -Wall ../../../Common/StringConvert.cpp
g++ -c -O3 -Wall ../../../Common/StringToInt.cpp
g++ -c -O3 -Wall ../../../Common/MyVector.cpp
g++ -c -O3 -Wall ../../../Common/UTFConvert.cpp
ar r liblzma.a ZLib.o Alloc.o 7zCrc.o MatchFinder.o LZMADecoder.o LZMAEncoder.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o NewHandler.o MyString.o StringConvert.o StringToInt.o MyVector.o UTFConvert.o
ar: 正在创建 liblzma.a
make[6]:正在离开目录 `/home/hcg/tomato/release/src/lzma/CPP/7zip/Compress/LZMA_Lib'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file’:
mksquashfs.c:1201:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
     BAD_ERROR("Out of memory allocating write_file buffer, could not allocate %ld blocks (%d Kbytes)\n", allocated_blocks, allocated_blocks << (block_log - 10));
     ^
mksquashfs.c: In function ‘dir_scan2’:
mksquashfs.c:1629:6: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__off_t’ [-Wformat=]
      INFO("file %s, uncompressed size %lld bytes %s\n", filename, buf->st_size, duplicate_file ? "DUPLICATE" : "");
      ^
mksquashfs.c:1685:7: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__off_t’ [-Wformat=]
       INFO("file %s, uncompressed size %lld bytes LINK\n", filename, buf->st_size);
       ^
mksquashfs.c: In function ‘write_file’:
mksquashfs.c:1239:14: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
     ftruncate(fd, bytes);
              ^
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o sort.o sort.c
sort.c: In function ‘sort_files_and_write’:
sort.c:246:6: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__off_t’ [-Wformat=]
      INFO("file %s, uncompressed size %lld bytes %s\n",
      ^
sort.c:254:5: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘__off_t’ [-Wformat=]
     INFO("file %s, uncompressed size %lld bytes LINK\n",
     ^
g++ mksquashfs.o read_fs.o sort.o -L/home/hcg/tomato/release/src-rt/lzma/CPP/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma
make[5]:正在离开目录 `/home/hcg/tomato/release/src-rt/linux/linux-2.6/scripts/squashfs'
Creating little endian 3.0 filesystem on /home/hcg/tomato/release/src-rt/router/mipsel-uclibc/target.image, block size 65536.

Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 3190.50 Kbytes (3.12 Mbytes)
    30.76% of uncompressed filesystem size (10373.10 Kbytes)
Inode table size 4976 bytes (4.86 Kbytes)
    23.33% of uncompressed inode table size (21333 bytes)
Directory table size 6139 bytes (6.00 Kbytes)
    58.10% of uncompressed directory table size (10566 bytes)
No duplicate files removed
Number of inodes 672
Number of files 484
Number of fragments 52
Number of symbolic links  147
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 41
Number of uids 1
    root (0)
Number of gids 0
make[4]:正在离开目录 `/home/hcg/tomato/release/src/router'
make[4]: 正在进入目录 `/home/hcg/tomato/release/src/btools'
gcc -O3 -Wall -o fpkg fpkg.c
fpkg.c: In function ‘load_image’:
fpkg.c:161:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
  char *p;
        ^
make[4]:正在离开目录 `/home/hcg/tomato/release/src/btools'
# Create generic TRX image

Creating TRX: image/tomato-K26-1.28.--defMIPSR2-Minivirtual**.trx

TRX Image:
Total Size .... : 4136960 (4040.0 KB) (3.9 MB)
   Images ...... : 4136932 (0x003f1fe4)
   Padding ..... : 0
Avail. for jffs :
   4MB, 128K CFE : 0 EBs + 0
   4MB, 256K CFE : 0 EBs + 0
   8MB, 256K CFE : 59 EBs + 57344
            Note : Netgear routers have 6 EBs less available!
CRC-32 ........ : E221A566
128K Blocks ... : 32 (0x00000020)
  64K Blocks ... : 64 (0x00000040)
Offsets:
   0: 0x0000001C  lzma-loader/loader.gz
   1: 0x00000AD8  /home/hcg/tomato/release/src-rt/linux/linux-2.6/arch/mips/brcm-boards/bcm947xx/
   2: 0x000D4000  router/mipsel-uclibc/target.image


-----------------
1.28.0000 MIPSR2 K26 Minivirtual**  ready
-----------------
make[3]:正在离开目录 `/home/hcg/tomato/release/src-rt'
make[2]:正在离开目录 `/home/hcg/tomato/release/src-rt'
make[1]:正在离开目录 `/home/hcg/tomato/release/src-rt'
hcg@Mypc-ubuntu:~/tomato/release/src-rt$


我的恩山、我的无线 The best wifi forum is right here.
固件其实已经编译成功了,应该是你找错固件的目录了。

固件应该是在src-rt/image 目录里
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
挂件编译成功了木有用啊,刷到机器里面无限重新启动啊,就不算改任何东西情况下也一样的哦,我随意编译了一个tomato的刷进去就是正常的,现在正在找原因。。。
机器是ni360
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-3 03:24

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表