- 论坛徽章:
- 0
|
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 |
|