免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1435 | 回复: 1
打印 上一主题 下一主题

gdb6.4或5.3源程序编译出现错误?那里错了?但在linux下可以编译 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-25 12:13 |只看该作者 |倒序浏览
gdb6.4或5.3源程序在SCO openserver下编译出现错误?那里错了?但在linux下可以编译

方法:
CC=gcc ./configure
gmake

gmake一段时间后报错(gdb5.3):
gmake  all-recursive
gmake[1]: Entering directory `/home/tmp/gdb-5.3/bfd'
Making all in doc
gmake[2]: Entering directory `/home/tmp/gdb-5.3/bfd/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/tmp/gdb-5.3/bfd/doc'
Making all in po
gmake[2]: Entering directory `/home/tmp/gdb-5.3/bfd/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/tmp/gdb-5.3/bfd/po'
gmake[2]: Entering directory `/home/tmp/gdb-5.3/bfd'
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototy
pes -g -O2  -o libbfd.la -rpath /usr/local/lib -release 2.13.90  archive.lo arch
ures.lo bfd.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncl
s.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo
tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo archive64.lo `cat ofi
les`
libtool: link: `merge.lo' is not a valid libtool object
gmake[2]: *** [libbfd.la] Error 1
gmake[2]: Leaving directory `/home/tmp/gdb-5.3/bfd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/tmp/gdb-5.3/bfd'
gmake: *** [all-recursive-am] Error 2
bash-2.03#


gmake一段时间后报错(gdb6.4):
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/tmp/gdb-6.4/bfd/doc'
Making all in po
gmake[2]: Entering directory `/home/tmp/gdb-6.4/bfd/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/tmp/gdb-6.4/bfd/po'
gmake[2]: Entering directory `/home/tmp/gdb-6.4/bfd'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DSCO5_C
ORE   -I. -I.././bfd -I.././bfd/../include  -I.././bfd/../intl -I../intl   -W -W
all -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2  -c -o sco5-core.lo
sco5-core.c
gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DSCO5_CORE -I. -I.././bfd -I.././bfd/../
include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prot
otypes -Werror -g -O2 -c sco5-core.c -o sco5-core.o
cc1: warnings being treated as errors
sco5-core.c: In function `sco5_core_file_p':
sco5-core.c:120: warning: unused variable `val'
sco5-core.c:126: warning: `flags' might be used uninitialized in this function
gmake[2]: *** [sco5-core.lo] Error 1
gmake[2]: Leaving directory `/home/tmp/gdb-6.4/bfd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/tmp/gdb-6.4/bfd'
gmake: *** [all] Error 2
bash-2.03#

论坛徽章:
0
2 [报告]
发表于 2006-05-25 15:14 |只看该作者
忘了说版本了SCO openserver505
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP