作者ckaha (★閃亮數學推理★)
看板EE_DSnP
標題[問題] 關於make
時間Mon Apr 14 18:00:01 2008
目前make test 很順利
但是要做最後的make 卻錯誤連連
已經把cmdReader.o 換成用cmdReader-64.o 了
但似乎還是有問題....
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
warning:
i386 architecture of input file `../../lib/libcmd.a(cmdReader.o)' is
incompatible with i386:x86-64 output
../../lib/libcmd.a(cmdReader.o)(.text+0x58d): In function
`CmdParser::addHistory()':
:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::assign(char const*, unsigned)'
../../lib/libcmd.a(cmdReader.o)(.text+0x5b9): In function
`CmdParser::addHistory()':
:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_M_mutate(unsigned, unsigned, unsigned)'
../../lib/libcmd.a(cmdReader.o)(.text+0x7e6): In function
`CmdParser::moveToHistory(int)':
:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::assign(char const*, unsigned)'
../../lib/libcmd.a(cmdReader.o)(.text+0xf87): In function
`
CmdParser::readCmd(std::basic_istream<char, std::char_traits<char> >&)':
....
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
BFD 2.15.90.0.1.1 20040303 (SuSE Linux) internal error, aborting at
../../bfd/reloc.c line 4274 in bfd_generic_get_relocated_section_contents
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
Please report this bug.
--
Every thing can be w
rong unless you can proof it is
true.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.4.235
※ 編輯: ckaha 來自: 140.112.4.235 (04/14 18:01)
1F:→ bnsblue:先make clean再make 04/14 19:26
2F:→ ckaha:3Q 太感謝你了.... 04/14 19:45