QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1880|回复: 1

skyeye-1.3.2_rc1 MAC OS X(SL 10.6.6)make lib异常(变量多重定义)

[复制链接]
发表于 2011-2-7 23:24:19 | 显示全部楼层 |阅读模式
uname -a
Darwin 179.132.185.60.broad.zs.zj.dynamic.163data.com.cn 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; rootnu-1504.9.26~3/RELEASE_I386 i386

gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1. $ ./configure
2. $ make lib
ld: duplicate symbol _instruction in .libs/crx-dis.o and .libs/cr16-dis.o

我看了下源代码,确实这2个文件有部分全局变量都是一样的,不知道如何选择编译,是否有开关控制?谢谢
/* Current opcode table entry we're disassembling.  */
const inst *instruction;
/* Current instruction we're disassembling.  */
ins currInsn;
/* The current instruction is read into 3 consecutive words.  */
wordU words[3];
/* Contains all words in appropriate order.  */
ULONGLONG allWords;
/* Holds the current processed argument number.  */
int processing_argument_number;
/* Nonzero means a CST4 instruction.  */
int cst4flag;
/* Nonzero means the instruction's original size is
   incremented (escape sequence is used).  */
int size_changed;


是否我的的环境有问题??如何正确make lib?谢谢
 楼主| 发表于 2011-2-7 23:33:58 | 显示全部楼层
请高手指导下啊,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 23:34 , Processed in 0.130826 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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