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;