分页: 1 / 1

关于安装的make问题

发表于 : 2010-01-22 13:39
veela
我是ubuntu新手 :em01 ,现在为了研究要装一个比赛平台,./configure可以通过,但是make老出问题 :em20 ,希望各位大牛,有空没空,指点下迷津呀~
在线焦急等候中 :em06

csvsaver.o: In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
csvsaver.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x64): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
logger.o: In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
logger.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x66): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[3]: *** [rcssserver] 错误 1
make[3]:正在离开目录 `/home/administrator/Desktop/rcssserver-14.0.2/src'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/administrator/Desktop/rcssserver-14.0.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/administrator/Desktop/rcssserver-14.0.2'
make: *** [all] 错误 2

Re: 关于安装的make问题

发表于 : 2010-01-22 13:41
delectate
个人经验,是configure时候出现错误,或者gcc问题

Re: 关于安装的make问题

发表于 : 2010-01-22 13:42
delectate
lz的家,名字真是神奇

administrator

,win看来比较适合你 :em05

Re: 关于安装的make问题

发表于 : 2010-01-22 13:44
veela
:em02 新手中的战斗机都是用这个用户名的啦!那有没有可能是GCC的版本太高?怎样使用低版本的GCC?

Re: 关于安装的make问题

发表于 : 2010-01-22 14:02
veela
delectate 写了:个人经验,是configure时候出现错误,或者gcc问题
你好,我正在尝试用低版本的GCC ,我用的是ubuntu 9.10,现在的GCC的版本是gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ,然后我想试试旧版本,在终端输入:
apt-get install gcc-3.4,出现以下情况。

root@ubuntu:/home/administrator/Desktop# apt-get install gcc-3.4
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法找到软件包 gcc-3.4

是要另外单独下一个gcc-3.4的tar.gz 的软件包吗?

Re: 关于安装的make问题

发表于 : 2010-01-25 13:56
veela
总结一下,这几忙出的心得。
我的系统用的是9.10,32位,这个系统的新立得我没有搜到GCC3.4的这个版本 :em06
于是在网上找了GCC3.4版本,安装了,其间好像有些问题,因为一些库没装好吧 :em20 ,但最终GCC3.4装好了,然后把系统原来的GCC4.4的版本换成GCC3.4;
再重新编译我的软件平台,发现还是有问题,崩溃中 :em35 ~
而后把9.10删 了,重装了9.04,然后装了在9.10里装的库,什么都没改,尽然我的平台就莫名的装好了 :em05
后来发现,可能是一些格式不兼容,我们的平台早期开发的时候,有些参数都缺省了,但在新的9.10,是不允许这样的缺省,然后就出现了make的错误。

但最终是什么原因,我还搞不清楚,因为做为一个菜鸟,暂时就只能走这么远了 :em03

Re: 关于安装的make问题

发表于 : 2010-02-05 22:12
yishuguo
dmesg 一下看看,或许能找到线索 :em11

实在不行就先在其他ubuntu下先编译好,然后COPY过来再安装使用 :em04

Re: 关于安装的make问题

发表于 : 2012-05-20 13:09
shuai265
:em20 :em20 :em20 :em20 :em20
楼主阿,你弄好了吗,我和你遇到了同样得问题,烦死了,能不能帮个忙,告诉我你怎么解决得


我得问题:
#############################################
libtool: link: cannot find the library `' or unhandled argument `files/rcssserver-15.0.1/rcssbase/conf'
make[3]: *** [rcssserver] 错误 1
make[3]:正在离开目录 `/home/liushuai/programme files/rcssserver-15.0.1/src'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/liushuai/programme files/rcssserver-15.0.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/liushuai/programme files/rcssserver-15.0.1'
make: *** [all] 错误 2
#############################################