[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation of NS2 on SCO free OpenServer 5.0.2/4



Ihor,

SOrry I took a long time to reply back,

If you are still having this problem, there is one quick item I would check
(and if this checks, then I am at wits end as regards your situation).

Please look at the files telnet.cc and telnet.h.  If they have the
following lines:

--------- telnet.cc:  About line 7-ish:
static class SourceClass : public TclClass {
 public:
	SourceClass() : TclClass("Source") {}
	TclObject* create(int, const char*const*) {
		return (new Source);
	}
} class_source;
---------

--------- telnet.h: About line 11-ish
class Source : public TclObject {
public:
	Source();
protected:
	int maxpkts_;
};
---------

then something is wrong with your compile environment, and you need to
investigate further.  If your source does not contain these lines,
then you have a corrupt distribution, and I'd recommend getting down
fresh sources of the ns distribution and trying again.


Kannan

PS:  If you trust your compile environment, then it may be that ns-2 requires
porting to SCO.  Some hints I could suggest that you should look at are
(1) what is your line to compile telnet.cc?
(2) What is the output you get when you run the same line by hand,
with flags added to only preprocess (something like gcc's "-C -E -P" options)?
(3) Does that preprocessed output contain the "Source" lines above?