| 大家请帮帮忙,帮我看一下这个问题。 我用天嵌提供的交叉编译器的库文件时,出现了错误,我用的是crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/arm-linux/lib/libc-2.3.3.so,读出的elf头文件是ELF Header:
 Magic:   7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00
 Class:                             ELF32
 Data:                              2's complement, little endian
 Version:                           1 (current)
 OS/ABI:                            ARM
 ABI Version:                       0
 Type:                              DYN (Shared object file)
 Machine:                           ARM
 Version:                           0x1
 Entry point address:               0x17484
 Start of program headers:          52 (bytes into file)
 Start of section headers:          1244052 (bytes into file)
 Flags:                             0x202, has entry point, GNU EABI, software FP
 Size of this header:               52 (bytes)
 Size of program headers:           32 (bytes)
 Number of program headers:         6
 Size of section headers:           40 (bytes)
 Number of section headers:         70
 Section header string table index: 67
 
 但是执行或链接时会出错,错误如下:
 libc.so.6: relocation error: /mnt/libc/libc.so.6: symbol __libc_stacke.....
 libc-2.3.3.so: relocation error: /mnt/libc/libc-2.3.3.so: symbol __lie....
 当执行gtk-demo时,出现如下错误
 gtk-demo: /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by /home/ar)
 不知道是不是编译器的问题
 希望高手能帮帮忙!谢谢了!
 |