作者ckaha (★闪亮数学推理★)
看板EE_DSnP
标题Re: [问题] 请问make debug的问题
时间Sat May 3 01:14:07 2008
教授我又来占文章篇数了 囧
当我全部除错完毕之後 又出现同样的编译错误
我不管是用64 bit 还是 32bit 都一样....
../../lib/libcmd.a(cmdParser.o)(.text+0x38e): In function
`CmdExec::lexSingleOption(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, bool) const':
: undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
※ 引述《ckaha (★闪亮数学推理★)》之铭言:
: ※ 引述《ckaha (★闪亮数学推理★)》之铭言:
: : 我一连出现这个问题好几行 也已经换成 ./to64
: : 不过我自己是还没把memCmd.cpp给完成.....
: : (这会有影响吗?)
: : ../../lib/libcmd.a(cmdParser.o)(.text+0x38e): In function
: : `CmdExec::lexSingleOption(std::basic_string<char, std::char_traits<char>,
: : std::allocator<char> > const&, std::basic_string<char,
: : std::char_traits<char>, std::allocator<char> >&, bool) const':
: : std::allocator<char> >::_Rep::_S_empty_rep_storage'
: : 还是说我要先完成他呢?
: 谢谢老师拨空
: 我的是在 国高的电脑上面去跑的
: 2.6.5-7.244-smp GNU/Linux
: bash 2.05b.0(1)-release
: gcc-3.3.3-43.41 /usr/bin/g++
: make-3.80-184.1 /usr/bin/make
--
Every thing can be w
rong unless you can proof it is
true.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.225.146.40
※ 编辑: ckaha 来自: 125.225.146.40 (05/03 01:14)
1F:推 timrau:看起来像是glibc版本不同的问题... 05/03 12:48
2F:→ ckaha:我的code拿到自己家用电脑上就可以顺利编译了.... 05/04 01:15