天嵌 ARM开发社区

 找回密码
 注册
查看: 2409|回复: 1

编译GDB遇到的Error:make[2]: *** [iwmmxt.o] Error 1

[复制链接]
Berton 发表于 2009-10-14 16:44:48 | 显示全部楼层 |阅读模式
编译GDB遇到的问题:
另外我用的是fedora9
交叉编译器用的是3.4.5
[root@localhost gdb-6.3]# make
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/libiberty'
make[2]: Entering directory `/opt/EmbedSky/gdb-6.3/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/EmbedSky/gdb-6.3/libiberty/testsuite'
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/libiberty'
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/bfd'
make  all-recursive
make[2]: Entering directory `/opt/EmbedSky/gdb-6.3/bfd'
Making all in doc
make[3]: Entering directory `/opt/EmbedSky/gdb-6.3/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/EmbedSky/gdb-6.3/bfd/doc'
Making all in po
make[3]: Entering directory `/opt/EmbedSky/gdb-6.3/bfd/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/EmbedSky/gdb-6.3/bfd/po'
make[3]: Entering directory `/opt/EmbedSky/gdb-6.3/bfd'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/EmbedSky/gdb-6.3/bfd'
make[2]: Leaving directory `/opt/EmbedSky/gdb-6.3/bfd'
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/bfd'
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/opcodes'
make  all-recursive
make[2]: Entering directory `/opt/EmbedSky/gdb-6.3/opcodes'
Making all in po
make[3]: Entering directory `/opt/EmbedSky/gdb-6.3/opcodes/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/EmbedSky/gdb-6.3/opcodes/po'
make[3]: Entering directory `/opt/EmbedSky/gdb-6.3/opcodes'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/EmbedSky/gdb-6.3/opcodes'
make[2]: Leaving directory `/opt/EmbedSky/gdb-6.3/opcodes'
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/opcodes'
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/etc'
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/readline'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/readline'
make[1]: Entering directory `/opt/EmbedSky/gdb-6.3/sim'
make[2]: Entering directory `/opt/EmbedSky/gdb-6.3/sim/common'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/opt/EmbedSky/gdb-6.3/sim/common'
make[2]: Entering directory `/opt/EmbedSky/gdb-6.3/sim/arm'
gcc -c -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0           -DMODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES   -I. -I. -I../common -I./../common -I../../include -I./../../include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I../../intl -I./../../intl -g -O2 iwmmxt.c
iwmmxt.c: In function ‘WMAC’:
iwmmxt.c:2135: error: stray ‘\357’ in program
iwmmxt.c:2135: error: stray ‘\275’ in program
iwmmxt.c:2135: error: stray ‘\233’ in program
iwmmxt.c:2135: error: stray ‘\357’ in program
iwmmxt.c:2135: error: stray ‘\274’ in program
iwmmxt.c:2135: error: stray ‘\275’ in program
iwmmxt.c:2135: error: stray ‘\357’ in program
iwmmxt.c:2135: error: stray ‘\274’ in program
iwmmxt.c:2135: error: stray ‘\275’ in program
iwmmxt.c:2135: error: expected ‘]’ before ‘)’ token
iwmmxt.c:2135: error: lvalue required as left operand of assignment
iwmmxt.c:2135: error: expected ‘]’ before ‘;’ token
iwmmxt.c:2135: error: stray ‘\357’ in program
iwmmxt.c:2135: error: stray ‘\275’ in program
iwmmxt.c:2135: error: stray ‘\235’ in program
iwmmxt.c:2142: error: expected ‘;’ before ‘}’ token
iwmmxt.c: In function ‘WSLL’:
iwmmxt.c:2850: warning: integer constant is too large for ‘long’ type
iwmmxt.c: In function ‘WSRA’:
iwmmxt.c:2927: warning: integer constant is too large for ‘long’ type
iwmmxt.c:2927: warning: integer constant is too large for ‘long’ type
iwmmxt.c:2929: warning: integer constant is too large for ‘long’ type
iwmmxt.c: In function ‘WSRL’:
iwmmxt.c:2998: warning: integer constant is too large for ‘long’ type
iwmmxt.c: In function ‘WUNPCKEH’:
iwmmxt.c:3300: warning: integer constant is too large for ‘long’ type
iwmmxt.c: In function ‘WUNPCKEL’:
iwmmxt.c:3367: warning: integer constant is too large for ‘long’ type
iwmmxt.c: In function ‘Fetch_Iwmmxt_Register’:
iwmmxt.c:3717: warning: incompatible implicit declaration of built-in function ‘memcpy’
iwmmxt.c:3722: warning: incompatible implicit declaration of built-in function ‘memcpy’
iwmmxt.c: In function ‘Store_Iwmmxt_Register’:
iwmmxt.c:3732: warning: incompatible implicit declaration of built-in function ‘memcpy’
iwmmxt.c:3737: warning: incompatible implicit declaration of built-in function ‘memcpy’
make[2]: *** [iwmmxt.o] Error 1
make[2]: Leaving directory `/opt/EmbedSky/gdb-6.3/sim/arm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/EmbedSky/gdb-6.3/sim'
make: *** [all-sim] Error 2
亚瑟王 发表于 2009-10-20 00:38:12 | 显示全部楼层
你怎么配置的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-6-1 19:21 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表