为什么调试的时候需要编译选项中添加 -g,readelf命令.

本文介绍ELF文件格式及其在程序构建和执行中的作用。通过readelf命令解析不同类型的ELF文件,包括可执行文件、目标文件、静态库文件和动态库文件的文件头、程序头及节信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

0.简单来说,加上 -g就可以进行调试了 ,“-g”标志是对程序进行调试性编译时常用的选项。我们需要给每一个需要调试的源文件都加上这个选项。它将使用特殊版本的C语言标准库完成编译和链接操作,给库函数加上程序调试方面的支持。编译器会把这些标志自动传给链接器。

2.readlf命令

readelf命令用来显示一个或者多个elf格式的目标文件的信息,可以通过它的选项来控制显示哪些信息。这里的elf-file(s)就表示那些被检查的文件。可以支持32位,64位的elf格式文件,也支持包含elf文件的文档(这里一般指的是使用ar命令将一些elf文件打包之后生成的例如lib*.a之类的“静态库”文件)。 

这个程序和objdump提供的功能类似,但是它显示的信息更为具体,并且它不依赖BFD库(BFD库是一个GNU项目,它的目标就是希望通过一种统一的接口来处理不同的目标文件),所以即使BFD库有什么bug存在的话也不会影响到readelf程序。 

运行readelf的时候,除了-v和-H之外,其它的选项必须有一个被指定。 

ELF文件类型

种类型的ELF文件:

  1. 可重定位文件:用户和其他目标文件一起创建可执行文件或者共享目标文件,例如lib*.a文件。 
  2. 可执行文件:用于生成进程映像,载入内存执行,例如编译好的可执行文件a.out。 
  3. 共享目标文件:用于和其他共享目标文件或者可重定位文件一起生成elf目标文件或者和执行文件一起创建进程映像,例如lib*.so文件。 

ELF文件作用:

ELF文件参与程序的连接(建立一个程序)和程序的执行(运行一个程序),所以可以从不同的角度来看待elf格式的文件: 

  1. 如果用于编译和链接(可重定位文件),则编译器和链接器将把elf文件看作是节头表描述的节的集合,程序头表可选。 
  2. 如果用于加载执行(可执行文件),则加载器则将把elf文件看作是程序头表描述的段的集合,一个段可能包含多个节,节头表可选。 
  3. 如果是共享文件,则两者都含有。 

ELF文件总体组成: 

elf文件头描述elf文件的总体信息。包括:系统相关,类型相关,加载相关,链接相关。 

  • 系统相关表示:elf文件标识的魔术数,以及硬件和平台等相关信息,增加了elf文件的移植性,使交叉编译成为可能。 
  • 类型相关就是前面说的那个类型。 
  • 加载相关:包括程序头表相关信息。 
  • 链接相关:节头表相关信息。 

选项

-a 
--all 显示全部信息,等价于 -h -l -S -s -r -d -V -A -I. 

-h 
--file-header 显示elf文件开始的文件头信息. 

-l 
--program-headers  
--segments 显示程序头(段头)信息(如果有的话)。 

-S 
--section-headers  
--sections 显示节头信息(如果有的话)。 

-g 
--section-groups 显示节组信息(如果有的话)。 

-t 
--section-details 显示节的详细信息(-S的)。 

-s 
--syms        
--symbols 显示符号表段中的项(如果有的话)。 

-e 
--headers 显示全部头信息,等价于: -h -l -S 

-n 
--notes 显示note段(内核注释)的信息。 

-r 
--relocs 显示可重定位段的信息。 

-u 
--unwind 显示unwind段信息。当前只支持IA64 ELF的unwind段信息。 

-d 
--dynamic 显示动态段的信息。 

-V 
--version-info 显示版本段的信息。 

-A 
--arch-specific 显示CPU构架信息。 

-D 
--use-dynamic 使用动态段中的符号表显示符号,而不是使用符号段。 

-x <number or name> 
--hex-dump=<number or name> 以16进制方式显示指定段内内容。number指定段表中段的索引,或字符串指定文件中的段名。 

-w[liaprmfFsoR] or 
--debug-dump[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges] 显示调试段中指定的内容。 

-I 
--histogram 显示符号的时候,显示bucket list长度的柱状图。 

-v 
--version 显示readelf的版本信息。 

-H 
--help 显示readelf所支持的命令行选项。 

-W 
--wide 宽行输出。 

@file 可以将选项集中到一个文件中,然后使用这个@file选项载入。 

实例

先给出如下例子:

1.对于可执行文件形式的elf格式文件:

1)查看可执行程序的源代码如下: 

[root@localhost test]$ cat main.cpp 
#include <iostream> 
using std::cout; 
using std::endl; 
void my_print(); 

int main(int argc, char *argv[]) 
{ 
        my_print(); 
        cout<<"hello!"<<endl; 
        return 0; 
} 

void  my_print() 
{ 
        cout<<"print!"<<endl; 
} 

2)编译如下: 

[root@localhost test]$ g++ main.cpp -o main 
[root@localhost test]$ g++ -g main.cpp -o main.debug 

3)编译之后,查看生成的文件: 

[root@localhost test]$ ls -l 
总计 64 
-rwxr-xr-x 1 quietheart quietheart  6700 07-07 18:04 main 
-rw-r--r-- 1 quietheart quietheart   201 07-07 18:02 main.cpp 
-rwxr-xr-x 1 quietheart quietheart 38932 07-07 18:04 main.debug 

这里,main.debug是带有调试信息的可执行文件,main是一般的可执行文件。 

2.对于库文件形式的elf格式文件:

1)查看库的源代码如下: 

//myfile.h 
#ifndef __MYFILE_H 
#define __MYFILE_H 
void printInfo(); 
#endif 

//myfile.cpp 
#include "myfile.h" 
#include <iostream> 
using std::cout; 
using std::endl; 
void printInfo() 
{ 
    cout<<"hello"<<endl; 
} 

2)编译如下: 

[root@localhost test]$ g++ -c myfile.cpp 
[root@localhost test]$ g++ -shared -fPCI -o libmy.so myfile.o 
[root@localhost test]$ ar -r libmy.a myfile.o 
ar: creating libmy.a 

3)编译之后,查看生成的文件: 

[root@localhost test]$ ls -l 

总计 44 

-rw-r--r-- 1 quietheart quietheart 2154 07-08 16:14 libmy.a 
-rwxr-xr-x 1 quietheart quietheart 5707 07-08 16:08 libmy.so 
-rwxr-xr-x 1 quietheart quietheart  117 07-08 16:06 myfile.cpp 
-rwxr-xr-x 1 quietheart quietheart   63 07-08 16:08 myfile.h 
-rw-r--r-- 1 quietheart quietheart 2004 07-08 16:08 myfile.o 
libmy.a  libmy.so  myfile.cpp  myfile.h  myfile.o 

这里,分别生成目标文件myfile.o,共享库文件libmy.so,和静态库文件libmy.a。 

基于以上可执行文件和库,这里给出一些常用的命令。 

读取可执行文件形式的elf文件头信息:

[root@localhost test]$ readelf -h main 
ELF Header: 
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32 
  Data:                              2's complement, little endian 
  Version:                           1 (current) 
  OS/ABI:                            UNIX - System V 
  ABI Version:                       0 
  type:                              exec (Executable file) 
  Machine:                           Intel 80386 
  Version:                           0x1 
  Entry point address:               0x8048580 
  Start of program headers:          52 (bytes into file) 
  Start of section headers:          3232 (bytes into file) 
  Flags:                             0x0 
  Size of this header:               52 (bytes) 
  Size of program headers:           32 (bytes) 
  Number of program headers:         8 
  Size of section headers:           40 (bytes) 
  Number of section headers:         29 
  Section header string table index: 26 

这里,可见可执行文件的elf文件,其类型为EXEC(可执行文件)。另外,含调试信息的"main.debug"和不含调试信息的"main"除了一些大小信息之外,其内容是一样的。并且由此可见文件的体系结构为Intel 80386。 

读取目标文件形式的elf文件头信息:

[root@localhost test]$ readelf -h myfile.o 
ELF Header: 
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32 
  Data:                              2's complement, little endian 
  Version:                           1 (current) 
  OS/ABI:                            UNIX - System V 
  ABI Version:                       0 
  Type:                              REL (Relocatable file) 
  Machine:                           Intel 80386 
  Version:                           0x1 
  Entry point address:               0x0 
  Start of program headers:          0 (bytes into file) 
  Start of section headers:          516 (bytes into file) 
  Flags:                             0x0 
  Size of this header:               52 (bytes) 
  Size of program headers:           0 (bytes) 
  Number of program headers:         0 
  Size of section headers:           40 (bytes) 
  Number of section headers:         15 
  Section header string table index: 12 

这里,可见目标文件的elf文件,其类型为REL(可重定位文件)。 

读取静态库文件形式的elf文件头信息:

[root@localhost test]$ readelf -h libmy.a 
File: libmy.a(myfile.o) 
ELF Header: 
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32 
  Data:                              2's complement, little endian 
  Version:                           1 (current) 
  OS/ABI:                            UNIX - System V 
  ABI Version:                       0 
  Type:                              REL (Relocatable file) 
  Machine:                           Intel 80386 
  Version:                           0x1 
  Entry point address:               0x0 
  Start of program headers:          0 (bytes into file) 
  Start of section headers:          516 (bytes into file) 
  Flags:                             0x0 
  Size of this header:               52 (bytes) 
  Size of program headers:           0 (bytes) 
  Number of program headers:         0 
  Size of section headers:           40 (bytes) 
  Number of section headers:         15 
  Section header string table index: 12 

这里,可见静态库文件的elf文件,其类型为REL(可重定位文件)。 

读取动态库文件形式的elf文件头信息:

[root@localhost test]$ readelf -h libmy.so 
ELF Header: 
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32 
  Data:                              2's complement, little endian 
  Version:                           1 (current) 
  OS/ABI:                            UNIX - System V 
  ABI Version:                       0 
  Type:                              DYN (Shared object file) 
  Machine:                           Intel 80386 
  Version:                           0x1 
  Entry point address:               0x550 
  Start of program headers:          52 (bytes into file) 
  Start of section headers:          2768 (bytes into file) 
  Flags:                             0x0 
  Size of this header:               52 (bytes) 
  Size of program headers:           32 (bytes) 
  Number of program headers:         5 
  Size of section headers:           40 (bytes) 
  Number of section headers:         27 
  Section header string table index: 24 

这里,可见动态库文件的elf文件,其类型为DYN(共享目标文件)。 

查看可执行的elf文件程序头表信息:

[root@localhost test]$ readelf -l main 
Elf file type is EXEC (Executable file) 
Entry point 0x8048580 
There are 8 program headers, starting at offset 52 

Program Headers: 
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align 
  PHDR           0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4 
  INTERP         0x000134 0x08048134 0x08048134 0x00013 0x00013 R   0x1 
      [Requesting program interpreter: /lib/ld-linux.so.2] 
  LOAD           0x000000 0x08048000 0x08048000 0x00970 0x00970 R E 0x1000 
  LOAD           0x000970 0x08049970 0x08049970 0x00130 0x001c8 RW  0x1000 
  DYNAMIC        0x000988 0x08049988 0x08049988 0x000e0 0x000e0 RW  0x4 
  NOTE           0x000148 0x08048148 0x08048148 0x00020 0x00020 R   0x4 
  GNU_EH_FRAME   0x000820 0x08048820 0x08048820 0x00044 0x00044 R   0x4 
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4 

Section to Segment mapping: 
  Segment Sections... 
   00     
   01     .interp 
   02     .interp .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 
   03     .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 
   04     .dynamic 
   05     .note.ABI-tag 
   06     .eh_frame_hdr 
   07     

这里,含调试信息的"main.debug"和不含调试信息的"main"其内容是一样的。 

查看目标文件的elf文件程序头表信息: 

[root@localhost test]$ readelf -l myfile.o 
There are no program headers in this file. 

这里可知,可重定位的目标文件,它没程序头表。 

查看静态库文件的elf文件程序头表信息:

[root@localhost test]$ readelf -l libmy.a 
File: libmy.a(myfile.o) 
There are no program headers in this file. 

这里可知,可重定位的静态库文件,它没程序头表。 

查看动态库文件的elf文件程序头表信息:

[root@localhost test]$ readelf -l libmy.so 
Elf file type is DYN (Shared object file) 
Entry point 0x550 
There are 5 program headers, starting at offset 52 

Program Headers: 
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align 
  LOAD           0x000000 0x00000000 0x00000000 0x007f4 0x007f4 R E 0x1000 
  LOAD           0x0007f4 0x000017f4 0x000017f4 0x0011c 0x00128 RW  0x1000 
  DYNAMIC        0x000810 0x00001810 0x00001810 0x000e0 0x000e0 RW  0x4 
  GNU_EH_FRAME   0x000738 0x00000738 0x00000738 0x0002c 0x0002c R   0x4 
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4 

Section to Segment mapping: 
  Segment Sections... 
   00     .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .bss 
   02     .dynamic 
   03     .eh_frame_hdr 
   04     

这里可知,做为共享目标文件的动态库,它程序头表。 

查看一个可执行的elf文件的节信息:

[root@localhost test]$ readelf -S main 
There are 29 section headers, starting at offset 0xca0: 
Section Headers: 
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al 
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0 
  [ 1] .interp           PROGBITS        08048134 000134 000013 00   A  0   0  1 
  [ 2] .note.ABI-tag     NOTE            08048148 000148 000020 00   A  0   0  4 
  [ 3] .gnu.hash         GNU_HASH        08048168 000168 000030 04   A  4   0  4 
  [ 4] .dynsym           DYNSYM          08048198 000198 0000d0 10   A  5   1  4 
  [ 5] .dynstr           STRTAB          08048268 000268 000183 00   A  0   0  1 
  [ 6] .gnu.version      VERSYM          080483ec 0003ec 00001a 02   A  4   0  2 
  [ 7] .gnu.version_r    VERNEED         08048408 000408 000060 00   A  5   2  4 
  [ 8] .rel.dyn          REL             08048468 000468 000010 08   A  4   0  4 
  [ 9] .rel.plt          REL             08048478 000478 000048 08   A  4  11  4 
  [10] .init             PROGBITS        080484c0 0004c0 000017 00  AX  0   0  4 
  [11] .plt              PROGBITS        080484d8 0004d8 0000a0 04  AX  0   0  4 
  [12] .text             PROGBITS        08048580 000580 000268 00  AX  0   0 16 
  [13] .fini             PROGBITS        080487e8 0007e8 00001c 00  AX  0   0  4 
  [14] .rodata           PROGBITS        08048804 000804 00001a 00   A  0   0  4 
  [15] .eh_frame_hdr     PROGBITS        08048820 000820 000044 00   A  0   0  4 
  [16] .eh_frame         PROGBITS        08048864 000864 00010c 00   A  0   0  4 
  [17] .ctors            PROGBITS        08049970 000970 00000c 00  WA  0   0  4 
  [18] .dtors            PROGBITS        0804997c 00097c 000008 00  WA  0   0  4 
  [19] .jcr              PROGBITS        08049984 000984 000004 00  WA  0   0  4 
  [20] .dynamic          DYNAMIC         08049988 000988 0000e0 08  WA  5   0  4 
  [21] .got              PROGBITS        08049a68 000a68 000004 04  WA  0   0  4 
  [22] .got.plt          PROGBITS        08049a6c 000a6c 000030 04  WA  0   0  4 
  [23] .data             PROGBITS        08049a9c 000a9c 000004 00  WA  0   0  4 
  [24] .bss              NOBITS          08049aa0 000aa0 000098 00  WA  0   0  8 
  [25] .comment          PROGBITS        00000000 000aa0 000114 00      0   0  1 
  [26] .shstrtab         STRTAB          00000000 000bb4 0000e9 00      0   0  1 
  [27] .symtab           SYMTAB          00000000 001128 000510 10     28  53  4 
  [28] .strtab           STRTAB          00000000 001638 0003f4 00      0   0  1 
Key to Flags: 
  W (write), A (alloc), X (execute), M (merge), S (strings) 
  I (info), L (link order), G (group), x (unknown) 
  O (extra OS processing required) o (OS specific), p (processor specific) 

这里,main是可执行文件,不含调试信息。 

查看一个包含调试信息的可执行的elf文件的节信息:

[root@localhost test]$ readelf -S main.debug 
There are 37 section headers, starting at offset 0x88c8: 

Section Headers: 
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al 
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0 
  [ 1] .interp           PROGBITS        08048134 000134 000013 00   A  0   0  1 
  [ 2] .note.ABI-tag     NOTE            08048148 000148 000020 00   A  0   0  4 
  [ 3] .gnu.hash         GNU_HASH        08048168 000168 000030 04   A  4   0  4 
  [ 4] .dynsym           DYNSYM          08048198 000198 0000d0 10   A  5   1  4 
  [ 5] .dynstr           STRTAB          08048268 000268 000183 00   A  0   0  1 
  [ 6] .gnu.version      VERSYM          080483ec 0003ec 00001a 02   A  4   0  2 
  [ 7] .gnu.version_r    VERNEED         08048408 000408 000060 00   A  5   2  4 
  [ 8] .rel.dyn          REL             08048468 000468 000010 08   A  4   0  4 
  [ 9] .rel.plt          REL             08048478 000478 000048 08   A  4  11  4 
  [10] .init             PROGBITS        080484c0 0004c0 000017 00  AX  0   0  4 
  [11] .plt              PROGBITS        080484d8 0004d8 0000a0 04  AX  0   0  4 
  [12] .text             PROGBITS        08048580 000580 000268 00  AX  0   0 16 
  [13] .fini             PROGBITS        080487e8 0007e8 00001c 00  AX  0   0  4 
  [14] .rodata           PROGBITS        08048804 000804 00001a 00   A  0   0  4 
  [15] .eh_frame_hdr     PROGBITS        08048820 000820 000044 00   A  0   0  4 
  [16] .eh_frame         PROGBITS        08048864 000864 00010c 00   A  0   0  4 
  [17] .ctors            PROGBITS        08049970 000970 00000c 00  WA  0   0  4 
  [18] .dtors            PROGBITS        0804997c 00097c 000008 00  WA  0   0  4 
  [19] .jcr              PROGBITS        08049984 000984 000004 00  WA  0   0  4 
  [20] .dynamic          DYNAMIC         08049988 000988 0000e0 08  WA  5   0  4 
  [21] .got              PROGBITS        08049a68 000a68 000004 04  WA  0   0  4 
  [22] .got.plt          PROGBITS        08049a6c 000a6c 000030 04  WA  0   0  4 
  [23] .data             PROGBITS        08049a9c 000a9c 000004 00  WA  0   0  4 
  [24] .bss              NOBITS          08049aa0 000aa0 000098 00  WA  0   0  8 
  [25] .comment          PROGBITS        00000000 000aa0 000114 00      0   0  1 
  [26] .debug_aranges    PROGBITS        00000000 000bb4 000020 00      0   0  1 
  [27] .debug_pubnames   PROGBITS        00000000 000bd4 000028 00      0   0  1 
  [28] .debug_info       PROGBITS        00000000 000bfc 0067aa 00      0   0  1 
  [29] .debug_abbrev     PROGBITS        00000000 0073a6 000726 00      0   0  1 
  [30] .debug_line       PROGBITS        00000000 007acc 0003e1 00      0   0  1 
  [31] .debug_frame      PROGBITS        00000000 007eb0 00009c 00      0   0  4 
  [32] .debug_str        PROGBITS        00000000 007f4c 000735 00      0   0  1 
  [33] .debug_loc        PROGBITS        00000000 008681 0000f3 00      0   0  1 
  [34] .shstrtab         STRTAB          00000000 008774 000151 00      0   0  1 
  [35] .symtab           SYMTAB          00000000 008e90 000590 10     36  61  4 
  [36] .strtab           STRTAB          00000000 009420 0003f4 00      0   0  1 
Key to Flags: 
  W (write), A (alloc), X (execute), M (merge), S (strings) 
  I (info), L (link order), G (group), x (unknown) 
  O (extra OS processing required) o (OS specific), p (processor specific) 

可见,相对非调试版本的可执行文件,多了".debug*"段的信息。 

查看一个目标文件的elf文件的节信息:

[root@localhost test]$ readelf -S myfile.o 
There are 15 section headers, starting at offset 0x204: 

Section Headers: 
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al 
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0 
  [ 1] .text             PROGBITS        00000000 000034 00009e 00  AX  0   0  4 
  [ 2] .rel.text         REL             00000000 000744 000060 08     13   1  4 
  [ 3] .data             PROGBITS        00000000 0000d4 000000 00  WA  0   0  4 
  [ 4] .bss              NOBITS          00000000 0000d4 000001 00  WA  0   0  4 
  [ 5] .ctors            PROGBITS        00000000 0000d4 000004 00  WA  0   0  4 
  [ 6] .rel.ctors        REL             00000000 0007a4 000008 08     13   5  4 
  [ 7] .rodata           PROGBITS        00000000 0000d8 000006 00   A  0   0  1 
  [ 8] .eh_frame         PROGBITS        00000000 0000e0 00008c 00   A  0   0  4 
  [ 9] .rel.eh_frame     REL             00000000 0007ac 000028 08     13   8  4 
  [10] .comment          PROGBITS        00000000 00016c 00002e 00      0   0  1 
  [11] .note.GNU-stack   PROGBITS        00000000 00019a 000000 00      0   0  1 
  [12] .shstrtab         STRTAB          00000000 00019a 00006a 00      0   0  1 
  [13] .symtab           SYMTAB          00000000 00045c 000180 10     14  14  4 
  [14] .strtab           STRTAB          00000000 0005dc 000166 00      0   0  1 
Key to Flags: 
  W (write), A (alloc), X (execute), M (merge), S (strings) 
  I (info), L (link order), G (group), x (unknown) 
  O (extra OS processing required) o (OS specific), p (processor specific) 

查看一个静态库文件的elf文件的节信息:

[root@localhost test]$ readelf -S libmy.a 
File: libmy.a(myfile.o) 
There are 15 section headers, starting at offset 0x204: 

Section Headers: 
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al 
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0 
  [ 1] .text             PROGBITS        00000000 000034 00009e 00  AX  0   0  4 
  [ 2] .rel.text         REL             00000000 000744 000060 08     13   1  4 
  [ 3] .data             PROGBITS        00000000 0000d4 000000 00  WA  0   0  4 
  [ 4] .bss              NOBITS          00000000 0000d4 000001 00  WA  0   0  4 
  [ 5] .ctors            PROGBITS        00000000 0000d4 000004 00  WA  0   0  4 
  [ 6] .rel.ctors        REL             00000000 0007a4 000008 08     13   5  4 
  [ 7] .rodata           PROGBITS        00000000 0000d8 000006 00   A  0   0  1 
  [ 8] .eh_frame         PROGBITS        00000000 0000e0 00008c 00   A  0   0  4 
  [ 9] .rel.eh_frame     REL             00000000 0007ac 000028 08     13   8  4 
  [10] .comment          PROGBITS        00000000 00016c 00002e 00      0   0  1 
  [11] .note.GNU-stack   PROGBITS        00000000 00019a 000000 00      0   0  1 
  [12] .shstrtab         STRTAB          00000000 00019a 00006a 00      0   0  1 
  [13] .symtab           SYMTAB          00000000 00045c 000180 10     14  14  4 
  [14] .strtab           STRTAB          00000000 0005dc 000166 00      0   0  1 
Key to Flags: 
  W (write), A (alloc), X (execute), M (merge), S (strings) 
  I (info), L (link order), G (group), x (unknown) 
  O (extra OS processing required) o (OS specific), p (processor specific) 

查看一个动态库文件的elf文件的节信息:

[root@localhost test]$ readelf -S libmy.so 
There are 27 section headers, starting at offset 0xad0: 

Section Headers: 
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al 
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0 
  [ 1] .gnu.hash         GNU_HASH        000000d4 0000d4 00003c 04   A  2   0  4 
  [ 2] .dynsym           DYNSYM          00000110 000110 000120 10   A  3   1  4 
  [ 3] .dynstr           STRTAB          00000230 000230 000199 00   A  0   0  1 
  [ 4] .gnu.version      VERSYM          000003ca 0003ca 000024 02   A  2   0  2 
  [ 5] .gnu.version_r    VERNEED         000003f0 0003f0 000050 00   A  3   2  4 
  [ 6] .rel.dyn          REL             00000440 000440 0000b0 08   A  2   0  4 
  [ 7] .rel.plt          REL             000004f0 0004f0 000010 08   A  2   9  4 
  [ 8] .init             PROGBITS        00000500 000500 000017 00  AX  0   0  4 
  [ 9] .plt              PROGBITS        00000518 000518 000030 04  AX  0   0  4 
  [10] .text             PROGBITS        00000550 000550 0001c4 00  AX  0   0 16 
  [11] .fini             PROGBITS        00000714 000714 00001c 00  AX  0   0  4 
  [12] .rodata           PROGBITS        00000730 000730 000006 00   A  0   0  1 
  [13] .eh_frame_hdr     PROGBITS        00000738 000738 00002c 00   A  0   0  4 
  [14] .eh_frame         PROGBITS        00000764 000764 000090 00   A  0   0  4 
  [15] .ctors            PROGBITS        000017f4 0007f4 00000c 00  WA  0   0  4 
  [16] .dtors            PROGBITS        00001800 000800 000008 00  WA  0   0  4 
  [17] .jcr              PROGBITS        00001808 000808 000004 00  WA  0   0  4 
  [18] .data.rel.ro      PROGBITS        0000180c 00080c 000004 00  WA  0   0  4 
  [19] .dynamic          DYNAMIC         00001810 000810 0000e0 08  WA  3   0  4 
  [20] .got              PROGBITS        000018f0 0008f0 00000c 04  WA  0   0  4 
  [21] .got.plt          PROGBITS        000018fc 0008fc 000014 04  WA  0   0  4 
  [22] .bss              NOBITS          00001910 000910 00000c 00  WA  0   0  4 
  [23] .comment          PROGBITS        00000000 000910 0000e6 00      0   0  1 
  [24] .shstrtab         STRTAB          00000000 0009f6 0000da 00      0   0  1 
  [25] .symtab           SYMTAB          00000000 000f08 000410 10     26  48  4 
  [26] .strtab           STRTAB          00000000 001318 000333 00      0   0  1 
Key to Flags: 
  W (write), A (alloc), X (execute), M (merge), S (strings) 
  I (info), L (link order), G (group), x (unknown) 
  O (extra OS processing required) o (OS specific), p (processor specific) 


sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ readelf -h libavcodec.a | grep Machine sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ file -b libavcodec.a current ar archive sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$ arm-linux-gnueabihf-nm libavformat.a | grep avpriv_h264_has_num_reorder_frames arm-linux-gnueabihf-nm: 3dostr.o: file format not recognized arm-linux-gnueabihf-nm: 4xm.o: file format not recognized arm-linux-gnueabihf-nm: a64.o: file format not recognized arm-linux-gnueabihf-nm: aacdec.o: file format not recognized arm-linux-gnueabihf-nm: aadec.o: file format not recognized arm-linux-gnueabihf-nm: aaxdec.o: file format not recognized arm-linux-gnueabihf-nm: ac3dec.o: file format not recognized arm-linux-gnueabihf-nm: ac4dec.o: file format not recognized arm-linux-gnueabihf-nm: ac4enc.o: file format not recognized arm-linux-gnueabihf-nm: acedec.o: file format not recognized arm-linux-gnueabihf-nm: acm.o: file format not recognized arm-linux-gnueabihf-nm: act.o: file format not recognized arm-linux-gnueabihf-nm: adp.o: file format not recognized arm-linux-gnueabihf-nm: ads.o: file format not recognized arm-linux-gnueabihf-nm: adtsenc.o: file format not recognized arm-linux-gnueabihf-nm: adxdec.o: file format not recognized arm-linux-gnueabihf-nm: aea.o: file format not recognized arm-linux-gnueabihf-nm: afc.o: file format not recognized arm-linux-gnueabihf-nm: aiff.o: file format not recognized arm-linux-gnueabihf-nm: aiffdec.o: file format not recognized arm-linux-gnueabihf-nm: aiffenc.o: file format not recognized arm-linux-gnueabihf-nm: aixdec.o: file format not recognized arm-linux-gnueabihf-nm: allformats.o: file format not recognized arm-linux-gnueabihf-nm: alp.o: file format not recognized arm-linux-gnueabihf-nm: amr.o: file format not recognized arm-linux-gnueabihf-nm: amvenc.o: file format not recognized arm-linux-gnueabihf-nm: anm.o: file format not recognized arm-linux-gnueabihf-nm: apac.o: file format not recognized arm-linux-gnueabihf-nm: apc.o: file format not recognized arm-linux-gnueabihf-nm: ape.o: file format not recognized arm-linux-gnueabihf-nm: apetag.o: file format not recognized arm-linux-gnueabihf-nm: apm.o: file format not recognized arm-linux-gnueabihf-nm: apngdec.o: file format not recognized arm-linux-gnueabihf-nm: apngenc.o: file format not recognized arm-linux-gnueabihf-nm: aptxdec.o: file format not recognized arm-linux-gnueabihf-nm: aqtitledec.o: file format not recognized arm-linux-gnueabihf-nm: argo_asf.o: file format not recognized arm-linux-gnueabihf-nm: argo_brp.o: file format not recognized arm-linux-gnueabihf-nm: argo_cvg.o: file format not recognized arm-linux-gnueabihf-nm: asf.o: file format not recognized arm-linux-gnueabihf-nm: asf_tags.o: file format not recognized arm-linux-gnueabihf-nm: asfcrypt.o: file format not recognized arm-linux-gnueabihf-nm: asfdec_f.o: file format not recognized arm-linux-gnueabihf-nm: asfdec_o.o: file format not recognized arm-linux-gnueabihf-nm: asfenc.o: file format not recognized arm-linux-gnueabihf-nm: assdec.o: file format not recognized arm-linux-gnueabihf-nm: assenc.o: file format not recognized arm-linux-gnueabihf-nm: ast.o: file format not recognized arm-linux-gnueabihf-nm: astdec.o: file format not recognized arm-linux-gnueabihf-nm: astenc.o: file format not recognized arm-linux-gnueabihf-nm: async.o: file format not recognized arm-linux-gnueabihf-nm: au.o: file format not recognized arm-linux-gnueabihf-nm: av1.o: file format not recognized arm-linux-gnueabihf-nm: av1dec.o: file format not recognized arm-linux-gnueabihf-nm: avc.o: file format not recognized arm-linux-gnueabihf-nm: avformat.o: file format not recognized arm-linux-gnueabihf-nm: avidec.o: file format not recognized arm-linux-gnueabihf-nm: avienc.o: file format not recognized arm-linux-gnueabihf-nm: avio.o: file format not recognized arm-linux-gnueabihf-nm: aviobuf.o: file format not recognized arm-linux-gnueabihf-nm: avlanguage.o: file format not recognized arm-linux-gnueabihf-nm: avr.o: file format not recognized arm-linux-gnueabihf-nm: avs.o: file format not recognized arm-linux-gnueabihf-nm: avs2dec.o: file format not recognized arm-linux-gnueabihf-nm: avs3dec.o: file format not recognized arm-linux-gnueabihf-nm: bethsoftvid.o: file format not recognized arm-linux-gnueabihf-nm: bfi.o: file format not recognized arm-linux-gnueabihf-nm: bink.o: file format not recognized arm-linux-gnueabihf-nm: binka.o: file format not recognized arm-linux-gnueabihf-nm: bintext.o: file format not recognized arm-linux-gnueabihf-nm: bit.o: file format not recognized arm-linux-gnueabihf-nm: bmv.o: file format not recognized arm-linux-gnueabihf-nm: boadec.o: file format not recognized arm-linux-gnueabihf-nm: bonk.o: file format not recognized arm-linux-gnueabihf-nm: brstm.o: file format not recognized arm-linux-gnueabihf-nm: c93.o: file format not recognized arm-linux-gnueabihf-nm: cache.o: file format not recognized arm-linux-gnueabihf-nm: caf.o: file format not recognized arm-linux-gnueabihf-nm: cafdec.o: file format not recognized arm-linux-gnueabihf-nm: cafenc.o: file format not recognized arm-linux-gnueabihf-nm: cavsvideodec.o: file format not recognized arm-linux-gnueabihf-nm: cdg.o: file format not recognized arm-linux-gnueabihf-nm: cdxl.o: file format not recognized arm-linux-gnueabihf-nm: cinedec.o: file format not recognized arm-linux-gnueabihf-nm: codec2.o: file format not recognized arm-linux-gnueabihf-nm: concat.o: file format not recognized arm-linux-gnueabihf-nm: concatdec.o: file format not recognized arm-linux-gnueabihf-nm: crcenc.o: file format not recognized arm-linux-gnueabihf-nm: crypto.o: file format not recognized arm-linux-gnueabihf-nm: dash.o: file format not recognized arm-linux-gnueabihf-nm: dashenc.o: file format not recognized arm-linux-gnueabihf-nm: data_uri.o: file format not recognized arm-linux-gnueabihf-nm: dauddec.o: file format not recognized arm-linux-gnueabihf-nm: daudenc.o: file format not recognized arm-linux-gnueabihf-nm: dcstr.o: file format not recognized arm-linux-gnueabihf-nm: demux.o: file format not recognized arm-linux-gnueabihf-nm: demux_utils.o: file format not recognized arm-linux-gnueabihf-nm: derf.o: file format not recognized arm-linux-gnueabihf-nm: dfa.o: file format not recognized arm-linux-gnueabihf-nm: dfpwmdec.o: file format not recognized arm-linux-gnueabihf-nm: dhav.o: file format not recognized arm-linux-gnueabihf-nm: diracdec.o: file format not recognized arm-linux-gnueabihf-nm: dnxhddec.o: file format not recognized arm-linux-gnueabihf-nm: dovi_isom.o: file format not recognized arm-linux-gnueabihf-nm: dsfdec.o: file format not recognized arm-linux-gnueabihf-nm: dsicin.o: file format not recognized arm-linux-gnueabihf-nm: dss.o: file format not recognized arm-linux-gnueabihf-nm: dtsdec.o: file format not recognized arm-linux-gnueabihf-nm: dtshddec.o: file format not recognized arm-linux-gnueabihf-nm: dump.o: file format not recognized arm-linux-gnueabihf-nm: dv.o: file format not recognized arm-linux-gnueabihf-nm: dvbsub.o: file format not recognized arm-linux-gnueabihf-nm: dvbtxt.o: file format not recognized arm-linux-gnueabihf-nm: dvenc.o: file format not recognized arm-linux-gnueabihf-nm: dxa.o: file format not recognized arm-linux-gnueabihf-nm: eacdata.o: file format not recognized arm-linux-gnueabihf-nm: electronicarts.o: file format not recognized arm-linux-gnueabihf-nm: epafdec.o: file format not recognized arm-linux-gnueabihf-nm: evc.o: file format not recognized arm-linux-gnueabihf-nm: evcdec.o: file format not recognized arm-linux-gnueabihf-nm: ffmetadec.o: file format not recognized arm-linux-gnueabihf-nm: ffmetaenc.o: file format not recognized arm-linux-gnueabihf-nm: fifo.o: file format not recognized arm-linux-gnueabihf-nm: fifo_test.o: file format not recognized arm-linux-gnueabihf-nm: file.o: file format not recognized arm-linux-gnueabihf-nm: filmstripdec.o: file format not recognized arm-linux-gnueabihf-nm: filmstripenc.o: file format not recognized arm-linux-gnueabihf-nm: fitsdec.o: file format not recognized arm-linux-gnueabihf-nm: fitsenc.o: file format not recognized arm-linux-gnueabihf-nm: flac_picture.o: file format not recognized arm-linux-gnueabihf-nm: flacdec.o: file format not recognized arm-linux-gnueabihf-nm: flacenc.o: file format not recognized arm-linux-gnueabihf-nm: flacenc_header.o: file format not recognized arm-linux-gnueabihf-nm: flic.o: file format not recognized arm-linux-gnueabihf-nm: flvdec.o: file format not recognized arm-linux-gnueabihf-nm: flvenc.o: file format not recognized arm-linux-gnueabihf-nm: format.o: file format not recognized arm-linux-gnueabihf-nm: framecrcenc.o: file format not recognized arm-linux-gnueabihf-nm: framehash.o: file format not recognized arm-linux-gnueabihf-nm: frmdec.o: file format not recognized arm-linux-gnueabihf-nm: fsb.o: file format not recognized arm-linux-gnueabihf-nm: ftp.o: file format not recognized arm-linux-gnueabihf-nm: fwse.o: file format not recognized arm-linux-gnueabihf-nm: g722.o: file format not recognized arm-linux-gnueabihf-nm: g723_1.o: file format not recognized arm-linux-gnueabihf-nm: g726.o: file format not recognized arm-linux-gnueabihf-nm: g729dec.o: file format not recognized arm-linux-gnueabihf-nm: gdv.o: file format not recognized arm-linux-gnueabihf-nm: genh.o: file format not recognized arm-linux-gnueabihf-nm: gif.o: file format not recognized arm-linux-gnueabihf-nm: gifdec.o: file format not recognized arm-linux-gnueabihf-nm: gopher.o: file format not recognized arm-linux-gnueabihf-nm: gsmdec.o: file format not recognized arm-linux-gnueabihf-nm: gxf.o: file format not recognized arm-linux-gnueabihf-nm: gxfenc.o: file format not recognized arm-linux-gnueabihf-nm: h261dec.o: file format not recognized arm-linux-gnueabihf-nm: h263dec.o: file format not recognized arm-linux-gnueabihf-nm: h264dec.o: file format not recognized arm-linux-gnueabihf-nm: hashenc.o: file format not recognized arm-linux-gnueabihf-nm: hca.o: file format not recognized arm-linux-gnueabihf-nm: hcom.o: file format not recognized arm-linux-gnueabihf-nm: hdsenc.o: file format not recognized arm-linux-gnueabihf-nm: hevc.o: file format not recognized arm-linux-gnueabihf-nm: hevcdec.o: file format not recognized arm-linux-gnueabihf-nm: hls.o: file format not recognized arm-linux-gnueabihf-nm: hls_sample_encryption.o: file format not recognized arm-linux-gnueabihf-nm: hlsenc.o: file format not recognized arm-linux-gnueabihf-nm: hlsplaylist.o: file format not recognized arm-linux-gnueabihf-nm: hlsproto.o: file format not recognized arm-linux-gnueabihf-nm: hnm.o: file format not recognized arm-linux-gnueabihf-nm: http.o: file format not recognized arm-linux-gnueabihf-nm: httpauth.o: file format not recognized arm-linux-gnueabihf-nm: icecast.o: file format not recognized arm-linux-gnueabihf-nm: icodec.o: file format not recognized arm-linux-gnueabihf-nm: icoenc.o: file format not recognized arm-linux-gnueabihf-nm: id3v1.o: file format not recognized arm-linux-gnueabihf-nm: id3v2.o: file format not recognized arm-linux-gnueabihf-nm: id3v2enc.o: file format not recognized arm-linux-gnueabihf-nm: idcin.o: file format not recognized arm-linux-gnueabihf-nm: idroqdec.o: file format not recognized arm-linux-gnueabihf-nm: idroqenc.o: file format not recognized arm-linux-gnueabihf-nm: iff.o: file format not recognized arm-linux-gnueabihf-nm: ifv.o: file format not recognized arm-linux-gnueabihf-nm: ilbc.o: file format not recognized arm-linux-gnueabihf-nm: img2.o: file format not recognized arm-linux-gnueabihf-nm: img2_alias_pix.o: file format not recognized arm-linux-gnueabihf-nm: img2_brender_pix.o: file format not recognized arm-linux-gnueabihf-nm: img2dec.o: file format not recognized arm-linux-gnueabihf-nm: img2enc.o: file format not recognized arm-linux-gnueabihf-nm: imx.o: file format not recognized arm-linux-gnueabihf-nm: ingenientdec.o: file format not recognized arm-linux-gnueabihf-nm: ip.o: file format not recognized arm-linux-gnueabihf-nm: ipmovie.o: file format not recognized arm-linux-gnueabihf-nm: ipudec.o: file format not recognized arm-linux-gnueabihf-nm: ircam.o: file format not recognized arm-linux-gnueabihf-nm: ircamdec.o: file format not recognized arm-linux-gnueabihf-nm: ircamenc.o: file format not recognized arm-linux-gnueabihf-nm: isom.o: file format not recognized arm-linux-gnueabihf-nm: isom_tags.o: file format not recognized arm-linux-gnueabihf-nm: iss.o: file format not recognized arm-linux-gnueabihf-nm: iv8.o: file format not recognized arm-linux-gnueabihf-nm: ivfdec.o: file format not recognized arm-linux-gnueabihf-nm: ivfenc.o: file format not recognized arm-linux-gnueabihf-nm: jacosubdec.o: file format not recognized arm-linux-gnueabihf-nm: jacosubenc.o: file format not recognized arm-linux-gnueabihf-nm: jpegxl_anim_dec.o: file format not recognized arm-linux-gnueabihf-nm: jvdec.o: file format not recognized arm-linux-gnueabihf-nm: kvag.o: file format not recognized arm-linux-gnueabihf-nm: lafdec.o: file format not recognized arm-linux-gnueabihf-nm: latmenc.o: file format not recognized arm-linux-gnueabihf-nm: lmlm4.o: file format not recognized arm-linux-gnueabihf-nm: loasdec.o: file format not recognized arm-linux-gnueabihf-nm: lrc.o: file format not recognized arm-linux-gnueabihf-nm: lrcdec.o: file format not recognized arm-linux-gnueabihf-nm: lrcenc.o: file format not recognized arm-linux-gnueabihf-nm: luodatdec.o: file format not recognized arm-linux-gnueabihf-nm: lvfdec.o: file format not recognized arm-linux-gnueabihf-nm: lxfdec.o: file format not recognized arm-linux-gnueabihf-nm: m4vdec.o: file format not recognized arm-linux-gnueabihf-nm: matroska.o: file format not recognized arm-linux-gnueabihf-nm: matroskadec.o: file format not recognized arm-linux-gnueabihf-nm: matroskaenc.o: file format not recognized arm-linux-gnueabihf-nm: mca.o: file format not recognized arm-linux-gnueabihf-nm: mccdec.o: file format not recognized arm-linux-gnueabihf-nm: md5proto.o: file format not recognized arm-linux-gnueabihf-nm: metadata.o: file format not recognized arm-linux-gnueabihf-nm: mgsts.o: file format not recognized arm-linux-gnueabihf-nm: microdvddec.o: file format not recognized arm-linux-gnueabihf-nm: microdvdenc.o: file format not recognized arm-linux-gnueabihf-nm: mj2kdec.o: file format not recognized arm-linux-gnueabihf-nm: mkvtimestamp_v2.o: file format not recognized arm-linux-gnueabihf-nm: mlpdec.o: file format not recognized arm-linux-gnueabihf-nm: mlvdec.o: file format not recognized arm-linux-gnueabihf-nm: mm.o: file format not recognized arm-linux-gnueabihf-nm: mmf.o: file format not recognized arm-linux-gnueabihf-nm: mms.o: file format not recognized arm-linux-gnueabihf-nm: mmsh.o: file format not recognized arm-linux-gnueabihf-nm: mmst.o: file format not recognized arm-linux-gnueabihf-nm: mods.o: file format not recognized arm-linux-gnueabihf-nm: moflex.o: file format not recognized arm-linux-gnueabihf-nm: mov.o: file format not recognized arm-linux-gnueabihf-nm: mov_chan.o: file format not recognized arm-linux-gnueabihf-nm: mov_esds.o: file format not recognized arm-linux-gnueabihf-nm: movenc.o: file format not recognized arm-linux-gnueabihf-nm: movenc_ttml.o: file format not recognized arm-linux-gnueabihf-nm: movenccenc.o: file format not recognized arm-linux-gnueabihf-nm: movenchint.o: file format not recognized arm-linux-gnueabihf-nm: mp3dec.o: file format not recognized arm-linux-gnueabihf-nm: mp3enc.o: file format not recognized arm-linux-gnueabihf-nm: mpc.o: file format not recognized arm-linux-gnueabihf-nm: mpc8.o: file format not recognized arm-linux-gnueabihf-nm: mpeg.o: file format not recognized arm-linux-gnueabihf-nm: mpegenc.o: file format not recognized arm-linux-gnueabihf-nm: mpegts.o: file format not recognized arm-linux-gnueabihf-nm: mpegtsenc.o: file format not recognized arm-linux-gnueabihf-nm: mpegvideodec.o: file format not recognized arm-linux-gnueabihf-nm: mpjpeg.o: file format not recognized arm-linux-gnueabihf-nm: mpjpegdec.o: file format not recognized arm-linux-gnueabihf-nm: mpl2dec.o: file format not recognized arm-linux-gnueabihf-nm: mpsubdec.o: file format not recognized arm-linux-gnueabihf-nm: msf.o: file format not recognized arm-linux-gnueabihf-nm: msnwc_tcp.o: file format not recognized arm-linux-gnueabihf-nm: mspdec.o: file format not recognized arm-linux-gnueabihf-nm: mtaf.o: file format not recognized arm-linux-gnueabihf-nm: mtv.o: file format not recognized arm-linux-gnueabihf-nm: musx.o: file format not recognized arm-linux-gnueabihf-nm: mux.o: file format not recognized arm-linux-gnueabihf-nm: mux_utils.o: file format not recognized arm-linux-gnueabihf-nm: mvdec.o: file format not recognized arm-linux-gnueabihf-nm: mvi.o: file format not recognized arm-linux-gnueabihf-nm: mxf.o: file format not recognized arm-linux-gnueabihf-nm: mxfdec.o: file format not recognized arm-linux-gnueabihf-nm: mxfenc.o: file format not recognized arm-linux-gnueabihf-nm: mxg.o: file format not recognized arm-linux-gnueabihf-nm: ncdec.o: file format not recognized arm-linux-gnueabihf-nm: network.o: file format not recognized arm-linux-gnueabihf-nm: nistspheredec.o: file format not recognized arm-linux-gnueabihf-nm: nspdec.o: file format not recognized arm-linux-gnueabihf-nm: nsvdec.o: file format not recognized arm-linux-gnueabihf-nm: nullenc.o: file format not recognized arm-linux-gnueabihf-nm: nut.o: file format not recognized arm-linux-gnueabihf-nm: nutdec.o: file format not recognized arm-linux-gnueabihf-nm: nutenc.o: file format not recognized arm-linux-gnueabihf-nm: nuv.o: file format not recognized arm-linux-gnueabihf-nm: oggdec.o: file format not recognized arm-linux-gnueabihf-nm: oggenc.o: file format not recognized arm-linux-gnueabihf-nm: oggparsecelt.o: file format not recognized arm-linux-gnueabihf-nm: oggparsedirac.o: file format not recognized arm-linux-gnueabihf-nm: oggparseflac.o: file format not recognized arm-linux-gnueabihf-nm: oggparseogm.o: file format not recognized arm-linux-gnueabihf-nm: oggparseopus.o: file format not recognized arm-linux-gnueabihf-nm: oggparseskeleton.o: file format not recognized arm-linux-gnueabihf-nm: oggparsespeex.o: file format not recognized arm-linux-gnueabihf-nm: oggparsetheora.o: file format not recognized arm-linux-gnueabihf-nm: oggparsevorbis.o: file format not recognized arm-linux-gnueabihf-nm: oggparsevp8.o: file format not recognized arm-linux-gnueabihf-nm: oma.o: file format not recognized arm-linux-gnueabihf-nm: omadec.o: file format not recognized arm-linux-gnueabihf-nm: omaenc.o: file format not recognized arm-linux-gnueabihf-nm: options.o: file format not recognized arm-linux-gnueabihf-nm: os_support.o: file format not recognized arm-linux-gnueabihf-nm: osq.o: file format not recognized arm-linux-gnueabihf-nm: paf.o: file format not recognized arm-linux-gnueabihf-nm: pcm.o: file format not recognized arm-linux-gnueabihf-nm: pcmdec.o: file format not recognized arm-linux-gnueabihf-nm: pcmenc.o: file format not recognized arm-linux-gnueabihf-nm: pdvdec.o: file format not recognized arm-linux-gnueabihf-nm: pjsdec.o: file format not recognized arm-linux-gnueabihf-nm: pmpdec.o: file format not recognized arm-linux-gnueabihf-nm: pp_bnk.o: file format not recognized arm-linux-gnueabihf-nm: prompeg.o: file format not recognized arm-linux-gnueabihf-nm: protocols.o: file format not recognized arm-linux-gnueabihf-nm: psxstr.o: file format not recognized arm-linux-gnueabihf-nm: pva.o: file format not recognized arm-linux-gnueabihf-nm: pvfdec.o: file format not recognized arm-linux-gnueabihf-nm: qcp.o: file format not recognized arm-linux-gnueabihf-nm: qtpalette.o: file format not recognized arm-linux-gnueabihf-nm: r3d.o: file format not recognized arm-linux-gnueabihf-nm: rawdec.o: file format not recognized arm-linux-gnueabihf-nm: rawenc.o: file format not recognized arm-linux-gnueabihf-nm: rawutils.o: file format not recognized arm-linux-gnueabihf-nm: rawvideodec.o: file format not recognized arm-linux-gnueabihf-nm: rdt.o: file format not recognized arm-linux-gnueabihf-nm: realtextdec.o: file format not recognized arm-linux-gnueabihf-nm: redspark.o: file format not recognized arm-linux-gnueabihf-nm: replaygain.o: file format not recognized arm-linux-gnueabihf-nm: riff.o: file format not recognized arm-linux-gnueabihf-nm: riffdec.o: file format not recognized arm-linux-gnueabihf-nm: riffenc.o: file format not recognized arm-linux-gnueabihf-nm: rka.o: file format not recognized arm-linux-gnueabihf-nm: rl2.o: file format not recognized arm-linux-gnueabihf-nm: rm.o: file format not recognized arm-linux-gnueabihf-nm: rmdec.o: file format not recognized arm-linux-gnueabihf-nm: rmenc.o: file format not recognized arm-linux-gnueabihf-nm: rmsipr.o: file format not recognized arm-linux-gnueabihf-nm: rpl.o: file format not recognized arm-linux-gnueabihf-nm: rsd.o: file format not recognized arm-linux-gnueabihf-nm: rso.o: file format not recognized arm-linux-gnueabihf-nm: rsodec.o: file format not recognized arm-linux-gnueabihf-nm: rsoenc.o: file format not recognized arm-linux-gnueabihf-nm: rtmpdigest.o: file format not recognized arm-linux-gnueabihf-nm: rtmphttp.o: file format not recognized arm-linux-gnueabihf-nm: rtmppkt.o: file format not recognized arm-linux-gnueabihf-nm: rtmpproto.o: file format not recognized arm-linux-gnueabihf-nm: rtp.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_ac3.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_amr.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_asf.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_dv.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_g726.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_h261.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_h263.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_h263_rfc2190.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_h264.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_hevc.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_ilbc.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_jpeg.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_latm.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_mpa_robust.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_mpeg12.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_mpeg4.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_mpegts.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_qcelp.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_qdm2.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_qt.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_rfc4175.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_svq3.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_vc2hq.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_vp8.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_vp9.o: file format not recognized arm-linux-gnueabihf-nm: rtpdec_xiph.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_aac.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_amr.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_chain.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_h261.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_h263.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_h263_rfc2190.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_h264_hevc.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_jpeg.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_latm.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_mpegts.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_mpv.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_rfc4175.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_vc2hq.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_vp8.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_vp9.o: file format not recognized arm-linux-gnueabihf-nm: rtpenc_xiph.o: file format not recognized arm-linux-gnueabihf-nm: rtpproto.o: file format not recognized arm-linux-gnueabihf-nm: rtsp.o: file format not recognized arm-linux-gnueabihf-nm: rtspdec.o: file format not recognized arm-linux-gnueabihf-nm: rtspenc.o: file format not recognized arm-linux-gnueabihf-nm: s337m.o: file format not recognized arm-linux-gnueabihf-nm: samidec.o: file format not recognized arm-linux-gnueabihf-nm: sapdec.o: file format not recognized arm-linux-gnueabihf-nm: sapenc.o: file format not recognized arm-linux-gnueabihf-nm: sauce.o: file format not recognized arm-linux-gnueabihf-nm: sbcdec.o: file format not recognized arm-linux-gnueabihf-nm: sbgdec.o: file format not recognized arm-linux-gnueabihf-nm: sccdec.o: file format not recognized arm-linux-gnueabihf-nm: sccenc.o: file format not recognized arm-linux-gnueabihf-nm: scd.o: file format not recognized arm-linux-gnueabihf-nm: sdns.o: file format not recognized arm-linux-gnueabihf-nm: sdp.o: file format not recognized arm-linux-gnueabihf-nm: sdr2.o: file format not recognized arm-linux-gnueabihf-nm: sdsdec.o: file format not recognized arm-linux-gnueabihf-nm: sdxdec.o: file format not recognized arm-linux-gnueabihf-nm: seek.o: file format not recognized arm-linux-gnueabihf-nm: segafilm.o: file format not recognized arm-linux-gnueabihf-nm: segafilmenc.o: file format not recognized arm-linux-gnueabihf-nm: segment.o: file format not recognized arm-linux-gnueabihf-nm: serdec.o: file format not recognized arm-linux-gnueabihf-nm: sga.o: file format not recognized arm-linux-gnueabihf-nm: shortendec.o: file format not recognized arm-linux-gnueabihf-nm: sierravmd.o: file format not recognized arm-linux-gnueabihf-nm: siff.o: file format not recognized arm-linux-gnueabihf-nm: smacker.o: file format not recognized arm-linux-gnueabihf-nm: smjpeg.o: file format not recognized arm-linux-gnueabihf-nm: smjpegdec.o: file format not recognized arm-linux-gnueabihf-nm: smjpegenc.o: file format not recognized arm-linux-gnueabihf-nm: smoothstreamingenc.o: file format not recognized arm-linux-gnueabihf-nm: smush.o: file format not recognized arm-linux-gnueabihf-nm: sol.o: file format not recognized arm-linux-gnueabihf-nm: soxdec.o: file format not recognized arm-linux-gnueabihf-nm: soxenc.o: file format not recognized arm-linux-gnueabihf-nm: spdif.o: file format not recognized arm-linux-gnueabihf-nm: spdifdec.o: file format not recognized arm-linux-gnueabihf-nm: spdifenc.o: file format not recognized arm-linux-gnueabihf-nm: srtdec.o: file format not recognized arm-linux-gnueabihf-nm: srtenc.o: file format not recognized arm-linux-gnueabihf-nm: srtp.o: file format not recognized arm-linux-gnueabihf-nm: srtpproto.o: file format not recognized arm-linux-gnueabihf-nm: stldec.o: file format not recognized arm-linux-gnueabihf-nm: subfile.o: file format not recognized arm-linux-gnueabihf-nm: subtitles.o: file format not recognized arm-linux-gnueabihf-nm: subviewer1dec.o: file format not recognized arm-linux-gnueabihf-nm: subviewerdec.o: file format not recognized arm-linux-gnueabihf-nm: supdec.o: file format not recognized arm-linux-gnueabihf-nm: supenc.o: file format not recognized arm-linux-gnueabihf-nm: svag.o: file format not recognized arm-linux-gnueabihf-nm: svs.o: file format not recognized arm-linux-gnueabihf-nm: swf.o: file format not recognized arm-linux-gnueabihf-nm: swfdec.o: file format not recognized arm-linux-gnueabihf-nm: swfenc.o: file format not recognized arm-linux-gnueabihf-nm: takdec.o: file format not recognized arm-linux-gnueabihf-nm: tcp.o: file format not recognized arm-linux-gnueabihf-nm: tedcaptionsdec.o: file format not recognized arm-linux-gnueabihf-nm: tee.o: file format not recognized arm-linux-gnueabihf-nm: tee_common.o: file format not recognized arm-linux-gnueabihf-nm: teeproto.o: file format not recognized arm-linux-gnueabihf-nm: thp.o: file format not recognized arm-linux-gnueabihf-nm: tiertexseq.o: file format not recognized arm-linux-gnueabihf-nm: tmv.o: file format not recognized arm-linux-gnueabihf-nm: tta.o: file format not recognized arm-linux-gnueabihf-nm: ttaenc.o: file format not recognized arm-linux-gnueabihf-nm: ttmlenc.o: file format not recognized arm-linux-gnueabihf-nm: tty.o: file format not recognized arm-linux-gnueabihf-nm: txd.o: file format not recognized arm-linux-gnueabihf-nm: ty.o: file format not recognized arm-linux-gnueabihf-nm: udp.o: file format not recognized arm-linux-gnueabihf-nm: uncodedframecrcenc.o: file format not recognized arm-linux-gnueabihf-nm: unix.o: file format not recognized arm-linux-gnueabihf-nm: url.o: file format not recognized arm-linux-gnueabihf-nm: urldecode.o: file format not recognized arm-linux-gnueabihf-nm: usmdec.o: file format not recognized arm-linux-gnueabihf-nm: utils.o: file format not recognized arm-linux-gnueabihf-nm: vag.o: file format not recognized arm-linux-gnueabihf-nm: vc1dec.o: file format not recognized arm-linux-gnueabihf-nm: vc1test.o: file format not recognized arm-linux-gnueabihf-nm: vc1testenc.o: file format not recognized arm-linux-gnueabihf-nm: version.o: file format not recognized arm-linux-gnueabihf-nm: vividas.o: file format not recognized arm-linux-gnueabihf-nm: vivo.o: file format not recognized arm-linux-gnueabihf-nm: voc.o: file format not recognized arm-linux-gnueabihf-nm: voc_packet.o: file format not recognized arm-linux-gnueabihf-nm: vocdec.o: file format not recognized arm-linux-gnueabihf-nm: vocenc.o: file format not recognized arm-linux-gnueabihf-nm: vorbiscomment.o: file format not recognized arm-linux-gnueabihf-nm: vpcc.o: file format not recognized arm-linux-gnueabihf-nm: vpk.o: file format not recognized arm-linux-gnueabihf-nm: vplayerdec.o: file format not recognized arm-linux-gnueabihf-nm: vqf.o: file format not recognized arm-linux-gnueabihf-nm: vvcdec.o: file format not recognized arm-linux-gnueabihf-nm: w64.o: file format not recognized arm-linux-gnueabihf-nm: wady.o: file format not recognized arm-linux-gnueabihf-nm: wavarc.o: file format not recognized arm-linux-gnueabihf-nm: wavdec.o: file format not recognized arm-linux-gnueabihf-nm: wavenc.o: file format not recognized arm-linux-gnueabihf-nm: wc3movie.o: file format not recognized arm-linux-gnueabihf-nm: webm_chunk.o: file format not recognized arm-linux-gnueabihf-nm: webmdashenc.o: file format not recognized arm-linux-gnueabihf-nm: webpenc.o: file format not recognized arm-linux-gnueabihf-nm: webvttdec.o: file format not recognized arm-linux-gnueabihf-nm: webvttenc.o: file format not recognized arm-linux-gnueabihf-nm: westwood_aud.o: file format not recognized arm-linux-gnueabihf-nm: westwood_audenc.o: file format not recognized arm-linux-gnueabihf-nm: westwood_vqa.o: file format not recognized arm-linux-gnueabihf-nm: wsddec.o: file format not recognized arm-linux-gnueabihf-nm: wtv_common.o: file format not recognized arm-linux-gnueabihf-nm: wtvdec.o: file format not recognized arm-linux-gnueabihf-nm: wtvenc.o: file format not recognized arm-linux-gnueabihf-nm: wv.o: file format not recognized arm-linux-gnueabihf-nm: wvdec.o: file format not recognized arm-linux-gnueabihf-nm: wvedec.o: file format not recognized arm-linux-gnueabihf-nm: wvenc.o: file format not recognized arm-linux-gnueabihf-nm: xa.o: file format not recognized arm-linux-gnueabihf-nm: xmd.o: file format not recognized arm-linux-gnueabihf-nm: xmv.o: file format not recognized arm-linux-gnueabihf-nm: xvag.o: file format not recognized arm-linux-gnueabihf-nm: xwma.o: file format not recognized arm-linux-gnueabihf-nm: yop.o: file format not recognized arm-linux-gnueabihf-nm: yuv4mpegdec.o: file format not recognized arm-linux-gnueabihf-nm: yuv4mpegenc.o: file format not recognized arm-linux-gnueabihf-nm: ac3_channel_layout_tab.o: file format not recognized arm-linux-gnueabihf-nm: dca_sample_rate_tab.o: file format not recognized arm-linux-gnueabihf-nm: golomb_tab.o: file format not recognized arm-linux-gnueabihf-nm: jpegtables.o: file format not recognized arm-linux-gnueabihf-nm: jpegxl_parse.o: file format not recognized arm-linux-gnueabihf-nm: log2_tab.o: file format not recognized arm-linux-gnueabihf-nm: mpeg4audio_sample_rates.o: file format not recognized arm-linux-gnueabihf-nm: mpegaudiotabs.o: file format not recognized arm-linux-gnueabihf-nm: rangecoder_dec.o: file format not recognized arm-linux-gnueabihf-nm: to_upper4.o: file format not recognized sunkaijie@sunkaijie-virtual-machine:~/nfs/hongjing-gti/hj_media/ext_src/ffmpeg/libs/glibc_11.1.0-lib$
06-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值