problem with compilaion of make

View: New views
3 Messages — Rating Filter:   Alert me  

problem with compilaion of make

by rakesh chouhan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi all ns-users
when i do some changes in some c++ file ,or add a new C++ file,
and like if we add a C++ file (ex-linkage.cc) in ns-2.31, do changes in
makefile by writing ex-linkage.o in OBJ_CC.

and when we recompile this by writing
make depend
there is a message: *Makefile:159: *** commands commence before first
target. Stop*
and after this I write
make
then same message generated:*Makefile:159: *** commands commence before
first target. Stop*
**
what's the problem with this code ,
I am using ns-2 on windowsXP with cygwin support

plz help me

Re: problem with compilaion of make

by srupesh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi rakesh,
              Are you running "configure" before doin make??
and u should do ur changes in   ~/ns*/Makefile.in


rakesh chouhan-2 wrote:
hi all ns-users
when i do some changes in some c++ file ,or add a new C++ file,
and like if we add a C++ file (ex-linkage.cc) in ns-2.31, do changes in
makefile by writing ex-linkage.o in OBJ_CC.

and when we recompile this by writing
make depend
there is a message: *Makefile:159: *** commands commence before first
target. Stop*
and after this I write
make
then same message generated:*Makefile:159: *** commands commence before
first target. Stop*
**
what's the problem with this code ,
I am using ns-2 on windowsXP with cygwin support

plz help me

Re: problem with compilaion of make

by bilge kartal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi rakesh,

your path should be ~ns2.31/
and then
./configure
make clean
make

Im doing this and it works. I hope this may help you.

Good luck
Bilge


On 4/2/08, srupesh <rupesh.ns2@...> wrote:

>
>
>
> hi rakesh,
>              Are you running "configure" before doin make??
> and u should do ur changes in   ~/ns*/Makefile.in
>
>
>
> rakesh chouhan-2 wrote:
> >
> >
> > hi all ns-users
> > when i do some changes in some c++ file ,or add a new C++ file,
> > and like if we add a C++ file (ex-linkage.cc) in ns-2.31, do changes in
> > makefile by writing ex-linkage.o in OBJ_CC.
> >
> > and when we recompile this by writing
> > make depend
> > there is a message: *Makefile:159: *** commands commence before first
> > target. Stop*
> > and after this I write
> > make
> > then same message generated:*Makefile:159: *** commands commence before
> > first target. Stop*
> > **
> > what's the problem with this code ,
> > I am using ns-2 on windowsXP with cygwin support
> >
> > plz help me
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-with-compilaion-of-make-tp16419483p16437768.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>