|
install /opt/brcm/K26/hndtools-mipsel-uclibc-4.2.4/lib/libutil.so.0 /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/
---
libc.so.0: Attempted to remove 695/1242 symbols. 433.67K - 254.54K = 179.13K
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 193/226 symbols. 78.28K - 62.52K = 15.76K
libutil.so.0: Attempted to remove 7/8 symbols. 4.70K - 2.06K = 2.64K
libcrypto.so.1.0.0: Attempted to remove 2551/3205 symbols. 1234.79K - 1080.43K = 154.36K
libssl.so.1.0.0: Attempted to remove 482/540 symbols. 310.06K - 286.69K = 23.37K
libzebra.so: Attempted to remove 841/1017 symbols. 293.72K - 266.02K = 27.70K
libz.so.1: Attempted to remove 65/71 symbols. 78.90K - 52.48K = 26.42K
libjpeg.so: not found, skipping...
libsqlite3.so.0: 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: Attempted to remove 119/122 symbols. 135.74K - 4.96K = 130.78K
libbcmcrypto.so: Attempted to remove 117/128 symbols. 101.42K - 28.88K = 72.54K
libcurl.so.4.2.0: not found, skipping...
libevent-2.0.so.5: Attempted to remove 489/525 symbols. 251.36K - 125.82K = 125.54K
libdaemon.so.0.5.0: not found, skipping...
libnfnetlink.so.0.2.0: Attempted to remove 58/59 symbols. 22.04K - 17.60K = 4.44K
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/ipv4/ip_gre.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/usr/sbin/mdadm" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/ifb.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/ntfs.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/smbfs.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/auth_rpcgss.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/net/rpcsec_gss_krb5.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/scsi/sr_mod.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/scanner.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/usbkbd.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/usbmouse.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/hid*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/ipw.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/audio.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/ov51*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/pwc*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/usb/emi*.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/usb/cdc_subset.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/sound/*" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/bcm57*.*o" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/pptp.*o" 的文件状态(stat): 没有那个文件或目录
cp: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/drivers/net/pppol2tp.*o" 的文件状态(stat): 没有那个文件或目录
aes.ko cast5.ko crypto_null.ko des.ko md5.ko sha256.ko tea.ko twofish.ko
blowfish.ko cast6.ko deflate.ko md4.ko serpent.ko sha512.ko twofish_common.ko xcbc.ko
xfrm_user.ko
af_key.ko
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_cp1251.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_sjis.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_gb2312.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_euc-kr.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/nls_big5.*o" 的文件状态(stat): 没有那个文件或目录
mv: 无法获取"/home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/fs/msdos.*o" 的文件状态(stat): 没有那个文件或目录
[ ! -f /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/lib/* ] && rm -rf /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/kernel/lib || true
/bin/sh: 第 0 行: [: 参数太多
cp: 无法获取"/home/shibby_v3/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/shibby_v3/release/src-rt/router/mipsel-uclibc/target/rom/etc/l7-protocols
cp rc/virtual**/* /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/rom/etc/virtual**
chmod +x /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/rom/etc/virtual**/*
busybox/examples/depmod.pl -k /home/shibby_v3/release/src-rt/linux/linux-2.6/vmlinux -b /home/shibby_v3/release/src-rt/router/mipsel-uclibc/target/lib/modules/*/
---
make[5]: 正在进入目录 `/home/shibby_v3/release/src-rt/linux/linux-2.6/scripts/squashfs'
make -C /home/shibby_v3/release/src-rt/lzma/CPP/7zip/Compress/LZMA_Lib
make[6]: 正在进入目录 `/home/shibby_v3/release/src/lzma/CPP/7zip/Compress/LZMA_Lib'
make[6]: 没有什么可以做的为 `all'。
make[6]:正在离开目录 `/home/shibby_v3/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:1202: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:1630: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:1686: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:1240: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/shibby_v3/release/src-rt/lzma/CPP/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma
make[5]:正在离开目录 `/home/shibby_v3/release/src-rt/linux/linux-2.6/scripts/squashfs'
Creating little endian 3.0 filesystem on /home/shibby_v3/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 5822.27 Kbytes (5.69 Mbytes)
30.94% of uncompressed filesystem size (18818.73 Kbytes)
Inode table size 7839 bytes (7.66 Kbytes)
24.77% of uncompressed inode table size (31653 bytes)
Directory table size 8934 bytes (8.72 Kbytes)
56.02% of uncompressed directory table size (15947 bytes)
No duplicate files removed
Number of inodes 986
Number of files 745
Number of fragments 85
Number of symbolic links 169
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 72
Number of uids 1
root (0)
Number of gids 0
make[4]:正在离开目录 `/home/shibby_v3/release/src/router'
make[4]: 正在进入目录 `/home/shibby_v3/release/src/btools'
gcc -O3 -Wall -I /home/shibby_v3/release/src-rt/router/shared -o fpkg fpkg.c
fpkg.c: In function ‘load_image’:
fpkg.c:162:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
char *p;
^
In file included from /usr/include/string.h:640:0,
from fpkg.c:25:
In function ‘strcpy’,
inlined from ‘create_trx’ at fpkg.c:308:8:
/usr/include/x86_64-linux-gnu/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default]
return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
^
In function ‘strcpy’,
inlined from ‘create_trx’ at fpkg.c:310:8:
/usr/include/x86_64-linux-gnu/bits/string3.h:104:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer [enabled by default]
return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
^
make[4]:正在离开目录 `/home/shibby_v3/release/src/btools'
# Create generic TRX image
*** buffer overflow detected ***: btools/fpkg terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x2ba4b727e38f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x2ba4b7315c9c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x2ba4b7314b60]
btools/fpkg[0x40185f]
btools/fpkg[0x400cec]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2ba4b722cec5]
btools/fpkg[0x4010f9]
======= Memory map: ========
00400000-00403000 r-xp 00000000 08:06 6825318 /home/shibby_v3/release/src/btools/fpkg
00602000-00603000 r--p 00002000 08:06 6825318 /home/shibby_v3/release/src/btools/fpkg
00603000-00604000 rw-p 00003000 08:06 6825318 /home/shibby_v3/release/src/btools/fpkg
0147a000-0149b000 rw-p 00000000 00:00 0 [heap]
2ba4b6fe6000-2ba4b7009000 r-xp 00000000 08:04 151864 /lib/x86_64-linux-gnu/ld-2.19.so
2ba4b7009000-2ba4b700d000 rw-p 00000000 00:00 0
2ba4b702f000-2ba4b7032000 rw-p 00000000 00:00 0
2ba4b7208000-2ba4b7209000 r--p 00022000 08:04 151864 /lib/x86_64-linux-gnu/ld-2.19.so
2ba4b7209000-2ba4b720a000 rw-p 00023000 08:04 151864 /lib/x86_64-linux-gnu/ld-2.19.so
2ba4b720a000-2ba4b720b000 rw-p 00000000 00:00 0
2ba4b720b000-2ba4b73c6000 r-xp 00000000 08:04 151867 /lib/x86_64-linux-gnu/libc-2.19.so
2ba4b73c6000-2ba4b75c5000 ---p 001bb000 08:04 151867 /lib/x86_64-linux-gnu/libc-2.19.so
2ba4b75c5000-2ba4b75c9000 r--p 001ba000 08:04 151867 /lib/x86_64-linux-gnu/libc-2.19.so
2ba4b75c9000-2ba4b75cb000 rw-p 001be000 08:04 151867 /lib/x86_64-linux-gnu/libc-2.19.so
2ba4b75cb000-2ba4b9571000 rw-p 00000000 00:00 0
2ba4b9571000-2ba4b9587000 r-xp 00000000 08:04 151848 /lib/x86_64-linux-gnu/libgcc_s.so.1
2ba4b9587000-2ba4b9786000 ---p 00016000 08:04 151848 /lib/x86_64-linux-gnu/libgcc_s.so.1
2ba4b9786000-2ba4b9787000 rw-p 00015000 08:04 151848 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffc83ad0000-7ffc83af1000 rw-p 00000000 00:00 0 [stack]
7ffc83b87000-7ffc83b89000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
-----------------
1.28.1041 MIPSR2 K26 Max ready
-----------------
make[3]:正在离开目录 `/home/shibby_v3/release/src-rt'
make[2]:正在离开目录 `/home/shibby_v3/release/src-rt'
make[1]:正在离开目录 `/home/shibby_v3/release/src-rt'
sunocean@sunocean-ASUS:/home/shibby_v3/release/src-rt
执行了make r2f
最后没有在image文件夹找到编译生成的固件 |
|