[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Makefile problems
For those who have seen this problem, could you post the fix again ??
my-endian.cc: In function `void ToOtherEndian(TEntry *)':
my-endian.cc:42: conversion from `short unsigned int' to `enum method_t'
my-endian.cc:45: conversion from `u_4bytes' to `enum method_t'
my-endian.cc:48: conversion from `short unsigned int' to `enum protocol_t'
my-endian.cc:51: conversion from `u_4bytes' to `enum protocol_t'
make[1]: *** [my-endian.o] Error 1
Btw, I am just modifying the Makefile and have added a couple of new files
in the process of deveoping my own agent. Can i get away without touching
the Makefile.in ?
>From: Tarik Alj <[email protected]>
>Reply-To: Tarik Alj <[email protected]>
>To: [email protected]
>CC: [email protected]
>Subject: Re: [ns] Makefile problems
>Date: Wed, 8 Nov 2000 12:07:21 -0500 (EST)
>
>if you are not adding any new files, you don't need to modify the Makefile.
>Just
>type make.
>
>You are supposed to edit Makefile.in not Makefile. There is no problem in
>practice (I know I might make some people scream here), if you are adding a
>.o,
>if you edit Makefile.
>
> >X-Originating-IP: [171.70.2.103]
> >From: "ns user" <[email protected]>
> >To: [email protected]
> >Subject: [ns] Makefile problems
> >Date: Wed, 08 Nov 2000 10:42:56 CST
> >Mime-Version: 1.0
> >X-OriginalArrivalTime: 08 Nov 2000 16:42:56.0788 (UTC)
>FILETIME=[F2786540:01C049A2]
> >
> >This is the set up I have:
> >
> >The base code of ns files in a directory - /basecode/ns-2.1b6/
> >I copied a couple of files from the basecode and copied it to my local
> >directory
> >Copied Makefile, Makefile.in, ping.h. ping.cc
> >
> >I want to change ping.cc, build it and then link that with the rest of
>the
> >files in the basecode and build a new ns in my local directory.
> >
> >Is there an easy way to modify my Makefile to do the above ?
> >And also what is the diff. between Makefile and Makefile.in ? Which one
>am i
> >supposed to modify ?
> >
> >
> >
> >thanks in advance for guiding this newbie..
> >
> >ns_user
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.
>
>Tarik Alj
>
>INRS-Telecommunications
>Place Bonaventure
>900 De La Gauchetierre Ouest
>Niveau C, Case Postale 644
>Montreal, Qc, H5A 1C6
>Canada
>
>514 875-1266 #2036 (email preferred)
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.