ubuntu下安装insight出错

如下错误:

elf32-arm.c: In function 'record_vfp11_erratum_veneer':
elf32-arm.c:2980:7: error: variable 'errcount' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c: In function 'bfd_elf32_arm_vfp11_erratum_scan':
elf32-arm.c:3904:23: error: variable 'errcount' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c: In function 'elf32_arm_final_link_relocate':
elf32-arm.c:4681:33: error: variable 'sym_hashes' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c:4680:33: error: variable 'symtab_hdr' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c: In function 'elf32_arm_relocate_section':
elf32-arm.c:6586:16: error: variable 'warned' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c: In function 'elf32_arm_check_relocs':
elf32-arm.c:7664:12: error: variable 'local_got_offsets' set but not used [-Werror=unused-but-set-variable]
elf32-arm.c: In function 'elf32_arm_ouput_plt_map_sym':
elf32-arm.c:9753:37: error: variable 'htab' set but not used [-Werror=unused-but-set-variable]


OS: ubuntu 11.10

Version: insight-6.8.1a


解决:

./configure --host=i686-pc-linux-gnu --target=armv5tl-montavista-linux-gnueabi --prefix=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le --disable-werror

你可能感兴趣的:(function,ubuntu,OS)