免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1140 | 回复: 0
打印 上一主题 下一主题

第一个实验就出了问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-26 20:09 |只看该作者 |倒序浏览
From alex.mufatti at gmail.com  Tue Dec  6 17:03:05 2005
From: alex.mufatti at gmail.com (Alex Mufatti)
Date: Wed, 7 Dec 2005 02:03:05 +0100
Subject: [ns] Problem compiling 2.28 on debian unstable
In-Reply-To:
References:
Message-ID:
** Alex Mufatti  [261105, 11:18] ha scritto:
>
> Hi all,
> I've succesfully compiled ns-2.28 on ubuntu hoary(default compiler gcc 3.3) and breezy
> (default compiler gcc 4.0 but using gcc3-3 with CC,CXX,CPP variables). Now
> I'm trying to compile it on Debian unstable but I can't get it work. The
> default compiler is gcc-4.0.3 so I use /like in ubuntu):
>
> CC=/usr/bin/gcc-3.3 CXX=/usr/bin/g++-3.3 CPP=/usr/bin/cpp-3.3 make
>
> but i recive an error:
>
> `.gnu.linkonce.t._ZN11taskPending10taskStatusEh' referenced in section
> `.rodata' of wpan/p802_15_4mac.o: defined in discarded section
> `.gnu.linkonce.t._ZN11taskPending10taskStatusEh' of wpan/p802_15_4mac.o
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
>
>
> Can someone help me?
>
> thank you
I've foud the solution to this problem: it can be solved downgrading
binutils from the cvs version (default in sid) to 2.16.1-2.
I hope this can help someone with the same problem.
bye
--
*aLeX*
ICQ# 75096847 -- Linux user# 203979


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12403/showart_63561.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP