Linux .o a .so .la .lo的区别

本文详细介绍了Linux环境下编译过程中产生的各种文件类型,包括.o、.a、.so、.la等,阐述了它们的作用和创建方式,并重点解析了libtool工具在库文件管理中的应用。

o: 编译的目标文件
a: 静态库,其实就是把若干o文件打了个包
so: 动态链接库(共享库)

lo: 使用libtool编译出的目标文件,其实就是在o文件中添加了一些信息
la: 使用libtool编译出的库文件,其实是个文本文件,记录同名动态库和静态库的相关信息

补充:libtool

1 libtool的工作原理 
libtool 是一个通用库支持脚本,将使用动态库的复杂性隐藏在统一、可移植的接口中;使用libtool的标准方法,可以在不同平台上创建并调用动态库。可以认为libtool是gcc的一个抽象,其包装了gcc(或者其他的编译器),用户无需知道细节,只要告诉libtool需要编译哪些库即可,libtool将处理库的依赖等细节。libtool只与后缀名为lo、la为的libtool文件打交道。 

libtool主要的一个作用是在编译大型软件的过程中解决了库的依赖问题;将繁重的库依赖关系的维护工作承担下来,从而释放了程序员的人力资源。libtool提供统一的接口,隐藏了不同平台间库的名称的差异等细节,生成一个抽象的后缀名为la高层库libxx.la(其实是个文本文件),并将该库对其它库的依赖关系,都写在该la的文件中。该文件中的dependency_libs记录该库依赖的所有库(其中有些是以.la文件的形式加入的);libdir则指出了库的安装位置;library_names记录了共享库的名字;old_library记录了静态库的名字。 

当编译过程到link阶段的时候,如果有下面的命令: 

$libtool --mode=link gcc -o myprog -rpath /usr/lib –L/usr/lib –la 

libtool会到/usr/lib路径下去寻找liba.la,然后从中读取实际的共享库的名字(library_names中记录了该名字,比如liba.so)和路径(lib_dir中记录了,比如libdir=’/usr/lib’),返回诸如/usr/lib/liba.so的参数给激发出的gcc命令行。 

如果liba.so依赖于库/usr/lib/libb.so,则在liba.la中将会有dependency_libs=’-L/usr/lib -lb’或者dependency_libs=’/usr/lib/libb.la’的行,如果是前者,其将直接把“-L/usr/lib –lb”当作参数传给gcc命令行;如果是后者,libtool将从/usr/lib/libb.la中读取实际的libb.so的库名称和路径,然后组合成参数“/usr/lib/libb.so”传递给gcc命令行。 

当要生成的文件是诸如libmylib.la的时候,比如: 

$libtool --mode=link gcc -o libmylib.la -rpath /usr/lib –L/usr/lib –la 

其依赖的库的搜索基本类似,只是在这个时候会根据相应的规则生成相应的共享库和静态库。 

注意:libtool在链接的时候只会涉及到后缀名为la的libtool文件;实际的库文件名称和库安装路径以及依赖关系是从该文件中读取的。 

2 为何使用 -Wl,--rpath-link -Wl,DIR? 
使用libtool解决编译问题看上去没什么问题:库的名称、路径、依赖都得到了很好的解决。但下结论不要那么着急,一个显而易见的问题就是:并不是所有的库都是用libtool编译的。 

比如上面那个例子, 

$libtool --mode=link gcc -o myprog -rpath /usr/lib –L/usr/lib –la 

如果liba.so不是使用libtool工具生成的,则libtool此时根本找不到liba.la文件(不存在该文件)。这种情况下,libtool只会把“–L/usr/lib –la”当作参数传递给gcc命令行。 

考虑以下情况:要从myprog.o文件编译生成myprog,其依赖于库liba.so(使用libtool生成),liba.so又依赖于libb.so(libb.so的生成不使用libtool),而且由于某种原因,a对b的依赖并没有写入到liba.la中,那么如果用以下命令编译: 

$libtool --mode=link gcc -o myprog -rpath /usr/lib –L/usr/lib –la 

激发出的gcc命令行类似于下面: 

              gcc –o myprog /usr/lib/liba.so 

由于liba.so依赖于libb.so(这种依赖可以用readelf读liba.so的ELF文件看到),而上面的命令行中,并没有出现libb.so,于是,可能会出现问题。 

      说“可能”,是因为如果在本地编译的情况下,gcc在命令行中找不到一个库(比如上面的liba.so)依赖的其它库(比如libb.so),链接器会按照某种策略到某些路径下面去寻找需要的共享库: 

1. 所有由'-rpath-link'选项指定的搜索路径. 

2. 所有由'-rpath'指定的搜索路径. '-rpath'跟'-rpath_link'的不同之处在于,由'-rpath'指定的路径被包含在可执行文件中,并在运行时使用, 而'-rpath-link'选项仅仅在连接时起作用. 

3. 在一个ELF系统中, 如果'-rpath'和'rpath-link'选项没有被使用, 会搜索环境变量'LD_RUN_PATH'的内容.它也只对本地连接器起作用. 

4. 在SunOS上, '-rpath'选项不使用, 只搜索所有由'-L'指定的目录. 

5. 对于一个本地连接器,环境变量'LD_LIBRARY_PATH'的内容被搜索. 

6. 对于一个本地ELF连接器,共享库中的`DT_RUNPATH'和`DT_RPATH'操作符会被需要它的共享库搜索. 如果'DT_RUNPATH'存在了, 那'DT_RPATH'就会被忽略. 

7. 缺省目录, 常规的,如'/lib'和'/usr/lib'. 

8. 对于ELF系统上的本地连接器, 如果文件'/etc/ld.so.conf'存在, 这个文件中有的目录会被搜索. 

从以上可以看出,在使用本地工具链进行本地编译情况下,只要库存在于某个位置,gcc总能通过如上策略找到需要的共享库。但在交叉编译下,上述八种策略,可以使用的仅仅有两个:-rpath-link,-rpath。这两个选项在上述八种策略当中优先级最高,当指定这两个选项时,如果链接需要的共享库找不到,链接器会优先到这两个选项指定的路径下去搜索需要的共享库。通过上面的描述可以看到:-rpath指定的路径将被写到可执行文件中;-rpath-link则不会;我们当然不希望交叉编译情况下使用的路径信息被写进最终的可执行文件,所以我们选择使用选项-rpath-link。 

      gcc的选项“-Wl,--rpath-link –Wl,DIR”会把-rpath-link选项及路径信息传递给链接器。回到上面那个例子,如果命令行中没有出现libb.so,但gcc指定了“-Wl,--rpath-link –Wl,DIR”,则链接器找不到libb.so的时候,会首先到后面-rpath-link指定的路径去寻找其依赖的库。此处我们使用的编译命令的示例是使用unicore平台的工具链。 

$ unicore32-linux-gcc –o myprog /usr/lib/liba.so \ 

-Wl,--rpath-link -Wl,/home/UNITY_float/install/usr/lib 

这样,编译器会首先到“/home/UNITY_float/install/usr/lib”下面去搜索libb.so 

      libtool如何把选项“-Wl,--rpath-link –Wl,DIR”传递给gcc?libtool中有一个变量“hardcode_libdir_flag_spec”,该变量本来是传递“-rpath”选项的,但我们可以修改它,添加我们需要的路径,传递给unicore32-linux-gcc。 

      “hardcode_libdir_flag_spec”原来的定义如下: 

hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" 

我们修改后的定义如下: 

hardcode_libdir_flag_spec="\${wl}—rpath-link \${wl}\$libdir \ 

-Wl,--rpath-link -Wl,/home/UNITY_float/install/usr/lib \ 

-Wl,--rpath-link -Wl,/home/UNITY_float/install/usr/X11R6/lib " 

这样,当libtool在“--mode=link”的模式下,就会把选项“-Wl,--rpath-link –Wl,DIR”传递给gcc编译器了。



在linux平台上编译时,常会遇到目标库的疑问,有静态库也有动态库,单个理解都不太难,但是对复杂的工程而言,一旦混合到一起去,对整个工程的理解和调用,将会造成很大困扰,本文就汇总这几种常见编译结果文件的区别。

一、格式说明

linux下编译,常会遇到后缀为:.o .so .a .la .ko等格式文件,尽管linux并不以扩展名作为识别文件格式的唯一依据,但规范约定还是有的,如下:

  • .o 是目标对象文件,相当于windows中的.obj文件
  • .a 为静态库,可以是一个或多个.o合在一起,用于静态连接
  • .la 为libtool生成的共享库,其实是个配置文档。可以用$file *.la查看*.la文件,或用vi来查看。
  • .so 为共享库,类似windows平台的dll文件

补充: 还有一种扩展名为.ko 文件,不过它是Linux内核使用的动态链接文件后缀,属于模块文件,用来在Linux系统启动时加载内核模块。

二、创建实例

1、创建.o对象文件

$ gcc -c test.c

生成test.o,跳过链接对象,所以不是可执行文件。

2、创建.a静态库文件

$ ar -r libtest.a test1.o test2.o

3、创建动态库.so

$ gcc -Wall -fpic -shared test1.c test2.c -o libtest.so

上一句执行,将test1.c和test2.c编译生成动态库文件libtest.so

4、链接库文件

$ gcc -Wall -fpic -shared -Ltest test3.c -o libtest.so

编译test3.c后并与静态libtest.a链接(默认会到/usr/lib下找该文件)生成libtest.so动态库。

5、生成.la库

.la库一般通过makefile进行,当然也可以通过命令行进行,参考命令:

$libtool --mode=link gcc -o libmylib.la -rpath /usr/lib –L/usr/lib –la

libtool将会搜索libmylib.a文件,并传家libmylib.la。更多libtool帮助如下:

Tst@Tst-PC /cygdrive/d/
$ libtool --help
Usage: libtool [OPTION]... [MODE-ARG]...

Provide generalized library-building support services.

--config show all configuration variables
--debug enable verbose shell tracing
-n, --dry-run display commands without modifying any files
--features display basic configuration information and exit
--mode=MODE use operation mode MODE
--preserve-dup-deps don't remove duplicate dependency libraries
--quiet, --silent don't print informational messages
--no-quiet, --no-silent
print informational messages (default)
--tag=TAG use configuration variables from tag TAG
-v, --verbose print more informational messages than default
--no-verbose don't print the extra informational messages
--version print version information
-h, --help, --help-all print short, long, or detailed help message

MODE must be one of the following:

clean remove files from the build directory
compile compile a source file into a libtool object
execute automatically set library path, then run a program
finish complete the installation of libtool libraries
install install libraries or executables
link create a library or an executable
uninstall remove libraries from an installed directory

MODE-ARGS vary depending on the MODE. When passed as first option,
`--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
Try `libtool --help --mode=MODE' for a more detailed description of MODE.

When reporting a bug, please describe a test case to reproduce it and
include the following information:

host-triplet: i686-pc-cygwin
shell: /bin/sh
compiler: gcc
compiler flags: -g -O2 -pipe
linker: /usr/i686-pc-cygwin/bin/ld.exe (gnu? yes)
libtool: (GNU libtool) 2.4
automake: automake (GNU automake) 1.11.1
autoconf: autoconf (GNU Autoconf) 2.68

Report bugs to <bug-libtool@gnu.org>.
GNU libtool home page: <http://www.gnu.org/software/libtool/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.

参考资料:

http://wiki.ubuntu.org.cn/index.php?title=Compiling_C&variant=zh-hans

http://afreez.blog.51cto.com/59057/7338

http://blog.youkuaiyun.com/lhf_tiger/article/details/7065289

http://topic.youkuaiyun.com/u/20080124/13/c34ece2c-81a0-4818-bec4-d705aa4aecb1.html


1008: Collecting package info: package/feeds/packages/libgpg-error 行 3001: checking how gcc reports undeclared, standard C functions... error 行 3265: checking whether pthread_sigmask returns error numbers... yes 行 7203: Applying ./patches/040-Fix-error-handling-with-git-style-patches.patch using plaintext: 行 9520: checking whether pthread_sigmask returns error numbers... yes 行 31773: CC error.c 行 32559: configure.ac:3: error: Autoconf version 2.71 or higher is required 行 32562: aclocal.real: error: echo failed with exit status: 63 行 33489: checking for C compiler option to allow warnings... -Wno-error 行 33490: checking for C++ compiler option to allow warnings... -Wno-error 行 33782: checking whether pthread_sigmask returns error numbers... yes 行 35552: on -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: ign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: -unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: s -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: ect/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35593: mv -f .deps/libgnulib_a-xstrtol-error.Tpo .deps/libgnulib_a-xstrtol-error.Po 行 35593: mv -f .deps/libgnulib_a-xstrtol-error.Tpo .deps/libgnulib_a-xstrtol-error.Po 行 35614: gnulib_a-version-etc.o libgnulib_a-version-etc-fsf.o libgnulib_a-wctype-h.o libgnulib_a-xmalloc.o libgnulib_a-xalloc-die.o libgnulib_a-xgetcwd.o libgnulib_a-xsize.o libgnulib_a-xstrtod.o libgnulib_a-xstrtol.o libgnulib_a-xstrtoul.o libgnulib_a-xstrtol-error.o libgnulib_a-xstrtoumax.o libgnulib_a-yesno.o asnprintf.o mktime.o printf-args.o printf-parse.o strerror_r.o vasnprintf.o 行 36027: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36030: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36033: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36036: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36039: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36042: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36045: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36048: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36051: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36054: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36057: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36060: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36063: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36066: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36069: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36072: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36075: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36078: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36081: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36084: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36087: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36090: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36095: gcc -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36096: gcc -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 39183: 399 | throw Exception("SetCoderProperties() error"); 行 39187: 416 | throw Exception("Write error while encoding"); 行 39194: 440 | throw Exception("Read error"); 行 39197: 442 | throw Exception("Read error"); 行 39200: 444 | throw Exception("SetDecoderProperties() error"); 行 39203: 451 | throw Exception("Read error"); 行 39206: 453 | throw Exception("Read error"); 行 39209: 459 | throw Exception("Decoder error"); 行 41201: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/706-net-phy-at803x-fix-probe-error-if-copper-page-is-sel.patch using plaintext: 行 41340: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/733-v5.15-0001-net-bgmac-bcma-handle-deferred-probe-error-due-to-ma.patch using plaintext: 行 41365: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-05-net-dsa-qca8k-handle-error-with-qca8k_read-operation.patch using plaintext: 行 41368: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-06-net-dsa-qca8k-handle-error-with-qca8k_write-operatio.patch using plaintext: 行 41371: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-07-net-dsa-qca8k-handle-error-with-qca8k_rmw-operation.patch using plaintext: 行 41374: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-08-net-dsa-qca8k-handle-error-from-qca8k_busy_wait.patch using plaintext: 行 41433: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/736-v5.14-net-dsa-qca8k-fix-missing-unlock-on-error-in-qca8k-vlan.patch using plaintext: 行 43079: HDRINST usr/include/linux/can/error.h 行 44816: [0/15] Building C object CMakeFiles/nl-tiny.dir/error.c.o 行 44827: [1/15] Building C object CMakeFiles/nl-tiny.dir/error.c.o 行 53012: [0/14] Building C object CMakeFiles/jansson.dir/src/error.c.o 行 53023: [1/14] Building C object CMakeFiles/jansson.dir/src/error.c.o 行 53038: inlined from 'jsonp_error_set_source' at /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:17:6: 行 53039: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:25:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 行 53040: 25 | strncpy(error->source, source, length + 1); 行 53042: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c: In function 'jsonp_error_set_source': 行 53043: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:23:14: note: length computed here 行 54868: [13/317] Building C object library/CMakeFiles/mbedcrypto_static.dir/error.c.o 行 54929: [44/317] Building C object library/CMakeFiles/mbedcrypto_static.dir/error.c.o 行 55058: [108/317] Building C object library/CMakeFiles/mbedcrypto.dir/error.c.o 行 55113: [136/317] Building C object library/CMakeFiles/mbedcrypto.dir/error.c.o 行 55483: -- Installing: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/mbedtls-2.28.5/ipkg-install/usr/include/mbedtls/error.h 行 58608: 98: Invalid property in CSS3.0: --error-color-high-rgb 行 58609: 99: Invalid property in CSS3.0: --error-color-high 行 58610: 100: Invalid property in CSS3.0: --error-color-medium 行 58611: 101: Invalid property in CSS3.0: --error-color-low 行 58612: 102: Invalid property in CSS3.0: --on-error-color 行 58636: 135: Invalid property in CSS3.0: --error-color-high-rgb 行 58637: 136: Invalid property in CSS3.0: --error-color-medium 行 58638: 137: Invalid property in CSS3.0: --error-color-low 行 58819: 98: Invalid property in CSS3.0: --error-color-high-rgb 行 58820: 99: Invalid property in CSS3.0: --error-color-high 行 58821: 100: Invalid property in CSS3.0: --error-color-medium 行 58822: 101: Invalid property in CSS3.0: --error-color-low 行 58823: 102: Invalid property in CSS3.0: --on-error-color 行 58847: 135: Invalid property in CSS3.0: --error-color-high-rgb 行 58848: 136: Invalid property in CSS3.0: --error-color-medium 行 58849: 137: Invalid property in CSS3.0: --error-color-low 行 59581: Applying ./patches/510-e_devcrypto-ignore-error-when-closing-session.patch using plaintext: 行 66479: /open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: g_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: ub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: r=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66507: lease/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: taging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66510: source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: tl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: t -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66538: open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: arget-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66554: lease/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: taging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: r/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66565: open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: arget-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: /include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66578: mv -f .deps/libctf_la-ctf-error.Tpo .deps/libctf_la-ctf-error.Plo 行 66578: mv -f .deps/libctf_la-ctf-error.Tpo .deps/libctf_la-ctf-error.Plo 行 66585: mv -f .deps/libctf_nobfd_la-ctf-error.Tpo .deps/libctf_nobfd_la-ctf-error.Plo 行 66585: mv -f .deps/libctf_nobfd_la-ctf-error.Tpo .deps/libctf_nobfd_la-ctf-error.Plo 行 66739: release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/lib -znow -zrelro -o libctf.la -rpath /usr/lib libctf_la-ctf-archive.lo libctf_la-ctf-dump.lo libctf_la-ctf-create.lo libctf_la-ctf-decl.lo libctf_la-ctf-error.lo libctf_la-ctf-hash.lo libctf_la-ctf-labels.lo libctf_la-ctf-dedup.lo libctf_la-ctf-link.lo libctf_la-ctf-lookup.lo libctf_la-ctf-open.lo libctf_la-ctf-serialize.lo libctf_la-ctf-sha1.lo libctf_la-ctf-string.lo libctf_la-ctf-subr.lo libctf_la-ctf-types.lo lib ... 行 66741: enwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/lib -znow -zrelro -o libctf-nobfd.la -rpath /usr/lib libctf_nobfd_la-ctf-archive.lo libctf_nobfd_la-ctf-dump.lo libctf_nobfd_la-ctf-create.lo libctf_nobfd_la-ctf-decl.lo libctf_nobfd_la-ctf-error.lo libctf_nobfd_la-ctf-hash.lo libctf_nobfd_la-ctf-labels.lo libctf_nobfd_la-ctf-dedup.lo libctf_nobfd_la-ctf-link.lo libctf_nobfd_la-ctf-lookup.lo libctf_nobfd_la-ctf-open.lo libctf_nobfd_la-ctf-serialize.lo libctf_nobfd_la-ctf-sha1.lo libctf_nobfd_la-ctf-stri ... 行 66742: OpenWrt-libtool-patched-2.2: link: arm-mix510-linux-gcc -shared -fPIC -DPIC .libs/libctf_nobfd_la-ctf-archive.o .libs/libctf_nobfd_la-ctf-dump.o .libs/libctf_nobfd_la-ctf-create.o .libs/libctf_nobfd_la-ctf-decl.o .libs/libctf_nobfd_la-ctf-error.o .libs/libctf_nobfd_la-ctf-hash.o .libs/libctf_nobfd_la-ctf-labels.o .libs/libctf_nobfd_la-ctf-dedup.o .libs/libctf_nobfd_la-ctf-link.o .libs/libctf_nobfd_la-ctf-lookup.o .libs/libctf_nobfd_la-ctf-open.o .libs/libctf_nobfd_la-ctf-serialize.o .libs/libctf_nobfd ... 行 66743: OpenWrt-libtool-patched-2.2: link: arm-mix510-linux-gcc -shared -fPIC -DPIC .libs/libctf_la-ctf-archive.o .libs/libctf_la-ctf-dump.o .libs/libctf_la-ctf-create.o .libs/libctf_la-ctf-decl.o .libs/libctf_la-ctf-error.o .libs/libctf_la-ctf-hash.o .libs/libctf_la-ctf-labels.o .libs/libctf_la-ctf-dedup.o .libs/libctf_la-ctf-link.o .libs/libctf_la-ctf-lookup.o .libs/libctf_la-ctf-open.o .libs/libctf_la-ctf-serialize.o .libs/libctf_la-ctf-sha1.o .libs/libctf_la-ctf-string.o .lib ... 行 66746: ax3000_lite_release/tools/cross_toolchain/arm-mix510-linux/arm-mix510-linux/bin/../libexec/gcc/arm-linux-musleabi/10.3.0/liblto_plugin.so rc .libs/libctf.a libctf_la-ctf-archive.o libctf_la-ctf-dump.o libctf_la-ctf-create.o libctf_la-ctf-decl.o libctf_la-ctf-error.o libctf_la-ctf-hash.o libctf_la-ctf-labels.o libctf_la-ctf-dedup.o libctf_la-ctf-link.o libctf_la-ctf-lookup.o libctf_la-ctf-open.o libctf_la-ctf-serialize.o libctf_la-ctf-sha1.o libctf_la-ctf-string.o libctf_la-ctf-subr.o libctf_la-ctf-types.o libctf_la-ctf-u ... 行 66751: chain/arm-mix510-linux/arm-mix510-linux/bin/../libexec/gcc/arm-linux-musleabi/10.3.0/liblto_plugin.so rc .libs/libctf-nobfd.a libctf_nobfd_la-ctf-archive.o libctf_nobfd_la-ctf-dump.o libctf_nobfd_la-ctf-create.o libctf_nobfd_la-ctf-decl.o libctf_nobfd_la-ctf-error.o libctf_nobfd_la-ctf-hash.o libctf_nobfd_la-ctf-labels.o libctf_nobfd_la-ctf-dedup.o libctf_nobfd_la-ctf-link.o libctf_nobfd_la-ctf-lookup.o libctf_nobfd_la-ctf-open.o libctf_nobfd_la-ctf-serialize.o libctf_nobfd_la-ctf-sha1.o libctf_nobfd_la-ctf-string.o libc ... 行 67889: checking error.h usability... no 行 67890: checking error.h presence... no 行 67891: checking for error.h... no 行 68023: sl/usr/lib/libiconv-stub/include -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: nclude -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: hile1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: rk/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68027: mv -f .deps/error.Tpo .deps/error.Po 行 68027: mv -f .deps/error.Tpo .deps/error.Po 行 68036: arm-mix510-linux-gcc-ar cr libeu.a xasprintf.o xstrdup.o xstrndup.o xmalloc.o next_prime.o crc32.o crc32_file.o color.o error.o printversion.o 行 72406: libnetlink.c:154:2: warning: #warning "libmnl required for error support" [-Wcpp] 行 72407: 154 | #warning "libmnl required for error support" 行 72868: libnetlink.c:154:2: warning: #warning "libmnl required for error support" [-Wcpp] 行 72869: 154 | #warning "libmnl required for error support" 行 79556: ft -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./error.c -o error.lo 行 79556: -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./error.c -o error.lo 行 79584: ormat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./drill/error.c -o drill/error.lo 行 79584: mat-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./drill/error.c -o drill/error.lo 行 79589: aging_dir/target-arm-mix510-linux_musl/usr/lib -lssl -lcrypto -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la buffer.lo dane.lo dname.lo dnssec.lo dnssec_sign.lo dnssec_verify.lo dnssec_zone.lo duration.lo error.lo higher.lo host2str.lo host2wire.lo keys.lo net.lo packet.lo parse.lo radix.lo rbtree.lo rdata.lo resolver.lo rr.lo rr_functions.lo sha1.lo sha2.lo str2host.lo tsig.lo update.lo util.lo wire2host.lo zone.lo compat/b64_pton.lo compat/b64_ntop.lo -rpath /usr/li ... 行 79591: 510-linux_musl/usr/lib -znow -zrelro -L/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib drill/chasetrace.lo drill/dnssec.lo drill/drill.lo drill/drill_util.lo drill/error.lo drill/root.lo drill/securetrace.lo drill/work.lo compat/b64_pton.lo compat/b64_ntop.lo libldns.la -lssl -lcrypto -o drill/drill 行 79596: for i in buffer.h dane.h dname.h dnssec.h dnssec_sign.h dnssec_verify.h dnssec_zone.h duration.h error.h higher.h host2str.h host2wire.h keys.h ldns.h packet.h parse.h radix.h rbtree.h rdata.h resolver.h rr_functions.h rr.h sha1.h sha2.h str2host.h tsig.h update.h wire2host.h zone.h; do \ 行 85945: Applying ./patches/0002-PATCH-Fix-error-introduced-in-51471cafa5a4fa44d6fe49.patch using plaintext: 行 91120: Use ioctl names rather than hex values in error messages (IOCTL_HEX2STR_ERROR) [Y/n/?] y 行 93643: collect2: error: ld returned 1 exit status 以上错误都报了那些错?
09-26
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值