[ns] after recompiling
Phenix
phenix_yw at hhu.edu.cn
Thu Jan 15 00:01:13 PST 2009
Hi,
You can add these two statements at the beginning of proxytrace2any.cc:
extern int IsLittleEndian(void);
extern void ToOtherEndian(TEntry *e);
It'll works well. However, I don't know the reason. If you know, please
let me know.
Regards,
Phenix
--------------------------------------------------
From: "eng Rony" <rania_kamal_ce at yahoo.com>
Sent: Thursday, January 15, 2009 1:25 AM
To: <ns-users at ISI.EDU>
Subject: [ns] after recompiling
>
>
>
> Eng Rony
>
> hi
> i have to recompile ns2 after i make some changes in ns2 files by typing
> make in ns2 directory and appear to me some warning msgs and errors:
>
> gpsr/gpsr_neighbor.cc:393 : warning: int format, nsaddr_t arg <arg 3>.
> gpsr/gpsr.h:114: warning: 'GPSRAgent:: query_timer_' will be initialized
> after.
> gpsr/gpsr.h:101: warning: 'nsaddr_t GPSRAgent:: my_id_'.
> gpsr/gpsr.h:241: warning: comparison between sign and unsigned integer
> expression.
> proxytrace2any.cc:112: error: 'ISLittleEndian" undeclared <first use this
> function>.
> proxytrace2any.cc:112: error: <each undeclared identifier is reported only
> once for each function it appears in.>.
> proxytrace2any.cc:120: error: 'ToOtherEndian" undeclared <first use this
> function>.
> make[1]: *** proxeytrace2any.o [Error1].
>
> i wait ur solutions
>
>
>
>
>
>
More information about the Ns-users
mailing list