|
虚拟机环境
Ubuntu
教程地址:https://aisoa.cn/post-2228.html
错误信息: | mincore
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2 -D_REENTRANT -DNDEBUG -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2 -D_REENTRANT -DNDEBUG -c -o sort.o sort.c
gcc mksquashfs.o read_fs.o sort.o -lz -lm -L/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_Alone -L/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_C -lpthread -lunlzma_r -llzma_r -lstdc++ -lz -o mksquashfs
/usr/bin/ld: mksquashfs.o: in function `create_inode':
mksquashfs.c.text+0x2522): undefined reference to `major'
/usr/bin/ld: mksquashfs.c.text+0x252f): undefined reference to `minor'
collect2: error: ld returned 1 exit status
make[3]: *** [<内置>:mksquashfs] 错误 1
make[3]: 离开目录“/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/squashfs3.2-r2/squashfs-tools”
make[2]: *** [Makefile:30:all] 错误 2
make[2]: 离开目录“/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2”
make[1]: *** [Makefile:25:install] 错误 2
make[1]: 离开目录“/opt/rt-n56u/trunk/tools”
make: *** [Makefile:164:tools] 错误 2
root@kali:/opt/rt-n56u/trunk#
我是小白,请路过的大佬留步!
|
|