Re: [cxserver-interest] CxServer服务器安装
Brought to you by:
zhmsong
From: Zhimin S. <csz...@gm...> - 2011-03-22 12:01:16
|
赵余: 你好,我估计你的 make 版本比较高吧。我的是 make 3.8.1。 你将源代码做如下修改,试试: AchvDb.h: 中 89行、147行: act_id 改为 actor_id 90行、148行: act_name 改为 actor_name 祝成功! 宋志民 在 2011年3月22日 下午6:50,赵余 <zha...@gm...>写道: > 安装到第7步,编译Cxserver的时候出错 > 运行 sudo make命令 > 报错: > In file included from /home/author/cs-1.5.0/src/db/AchvDb.C:24: > /home/author/cs-1.5.0/src/db/AchvDb.h:91: error: conflicting declaration > ‘const int& act_id’ > /home/author/cs-1.5.0/src/db/AchvDb.h:89: error: ‘act_id’ has a previous > declaration as ‘const std::string& act_id’ > /home/author/cs-1.5.0/src/db/AchvDb.C:439: error: prototype for ‘const bool > AchvDb::insertPrize(const std::string&, const std::wstring&, const int&, > const int&, const std::string&, const int&, const int&, const int&, const > int&, const std::string&, const int&, const int&, const int&, const > std::string&, const std::string&, const std::string&, const std::string&, > const std::string&, const std::string&)’ does not match any in class > ‘AchvDb’ > /home/author/cs-1.5.0/src/db/AchvDb.h:89: error: candidate is: static const > bool AchvDb::insertPrize(const std::string&, const std::wstring&, const > int&, const std::string&, const int&, const int&, const int&, const int&, > const std::string&, const int&, const int&, const int&, const std::string&, > const std::string&, const std::string&, const std::string&, const > std::string&, const std::string&) > make[2]: *** [CMakeFiles/cxsandbox.wt.dir/db/AchvDb.o] 错误 1 > make[1]: *** [CMakeFiles/cxsandbox.wt.dir/all] 错误 2 > make: *** [all] 错误 2 > 谢谢解答!! > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Cxserver-interest mailing list > Cxs...@li... > https://lists.sourceforge.net/lists/listinfo/cxserver-interest > > -- 我在若邻:http://cszhmsong.wealink.com; 我的博客:http://hi.baidu.com/zhmsong; |