Unfortunately, this did not solve the problem. I guess that this may
be due to updated GCC, because with older version 3.4.3, nobody seem
to have such a problem. Then I even tried:
yum install compat-gcc-34.i386 compat-gcc-34-c++.i386
And afterwards, while trying to make, I'm having:
common/packet.cc:44: error: conflicting declaration ‘char** p_info::name_ [62]’
common/packet.h:295: error: ‘p_info::name_’ has a previous declaration
as ‘char* p_info::name_ [62]’
common/packet.cc:44: error: declaration of ‘char* p_info::name_ [62]’
outside of class is not definition
common/packet.cc:45: error: ‘unsigned int p_info::nPkt_’ is not a
static member of ‘class p_info’
common/packet.cc:46: error: expected constructor, destructor, or type
conversion before ‘*’ token
common/packet.cc:48: error: no ‘int p_info::addPacket(char*)’ member
function declared in class ‘p_info’
make: *** [common/packet.o] Error 1


Can anyone suggest another solution?

---------- Forwarded message ----------
From: Dimitris Liarokapis
Date: Tue, Mar 17, 2009 at 6:51 PM
Subject: Re: [ns] No rule to make target `...@v_stlobj@', needed by
`depend', while re-"make"ing the ns-2.33
To: Laziz Yunusov


Hi,

Try the following sequence of commands:

./configure
make clean
make depend
make
make install

Dimitris

On 3/17/09, Laziz Yunusov <yla...@gmail.com> wrote:
>
> Hi there,
> I'm developing a new protocol for ns-2. When I hit "make depend" in
> ns-2.33 directory, I'm getting following error message:
> make: *** No rule to make target `...@v_stlobj@', needed by `depend'.  Stop.
> Maybe it's because of updated gcc/g++?! Because I didn't have such
> error before. Any help appreciated.
> P.S. gcc version is 4.3.0 20080428 (Red Hat 4.3.0-8)

Reply via email to