Re: [ns] problem with ns-2 compilation

2011-02-27 Thread El Hadi Cherkaoui

Le 2/27/2011 3:56 PM, Rajib Das a écrit :
> hello,
> i am using ubuntu 10.10. i have installed ns-allinone-2.34.
> installation is successful.
>
> now whenever i make changes in .h and .cc files of ns2, i need to compile
> them.
> i tried with g++ filename.cc.
> it shows a lot of errors that the header files which are included in the
> files are not available. the files are there but g++ is unable to locate
> their locations.
>
> then i read somewhere that i have to use 'makefile' command to compile the
> files.
> but it's giving me error that "bash: /usr/ns-allinone-2.34/tcl8.4.
> 18/unix/Makefile: Permission denied" when i typed "Makefile" only.
Tape make, it sould be fine !

> also i am not getting the x11r6 folder at "/usr/" location but path is set
> for that like "/usr/x11r6/lib" and there is no folder like that.
>
> i also read somewhere on net that this may be because of the higher version
> of gcc/g++.
>
> i am doing a project in black hole attack in aodv  and i need answers of
> above queries as early as possible.
> hope i get these solved soon.
>
>
Regards

Hadi



[ns] problem with ns-2 compilation

2011-02-27 Thread Rajib Das

hello,
i am using ubuntu 10.10. i have installed ns-allinone-2.34.
installation is successful.

now whenever i make changes in .h and .cc files of ns2, i need to compile
them.
i tried with g++ filename.cc.
it shows a lot of errors that the header files which are included in the
files are not available. the files are there but g++ is unable to locate
their locations.

then i read somewhere that i have to use 'makefile' command to compile the
files.
but it's giving me error that "bash: /usr/ns-allinone-2.34/tcl8.4.
18/unix/Makefile: Permission denied" when i typed "Makefile" only.

also i am not getting the x11r6 folder at "/usr/" location but path is set
for that like "/usr/x11r6/lib" and there is no folder like that.

i also read somewhere on net that this may be because of the higher version
of gcc/g++.

i am doing a project in black hole attack in aodv  and i need answers of
above queries as early as possible.
hope i get these solved soon.


-- 
*With regards*
*Rajib Das, MCA, M.Phil*
*HOD i/c & Asst. Professor*, *Dept of Comp. Sc. & Application*
*Karimganj College, Karimganj, Assam, India*.
and
*Research Scholar*, *Dept. of Comp. Sc*.
*Assam University*, *Silchar
Assam. Pin - 788 011.*
*Contact: +919435987510/+919435375439
*