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

Re: [ns] tclAppInit giving error while make



(1) Dup configuration file is not part of ns. As new directories get added
into ns, using an old dup config file may NOT correctly duplicate the
source directory. 

(2) All files under ~ns/gen should be automatically generated from
Makefile. What dup creates is just an empty directory. If you don't get
anything or empty files under gen/ (in your case, most likely an empty
ns_tcl.cc), you may want to look at your make output why it's not
generated.

- Haobo

On Sun, 28 Jan 2001, Anirban Chakrabarti wrote:

> Hi,
> 
> Are you using the dup configuration? Dup configuration sometimes do not
> create all the directories. Just go to ns/gen directory. There is a high
> possibility that the directory is empty. This is the directory which
> contains the defn for the et_ns_ptypes and et_ns_lib variables. If this
> directory is empty, copy the files from the parent directory to this
> directory.
> 
> Hope this helps
> Anirban
> 
> On Sun, 28 Jan 2001, S.M.Tripathi wrote:
> 
> > 
> > I have added a protocol in the ns-allinone-2.1b7a package. After making
> > changes in makefile and make depend, make gives following error 
> > 
> > ***
> > tclAppInit.o: In function `Tcl_AppInit':
> > tclAppInit.o(.text+0x12a): undefined reference to `et_ns_ptypes'
> > ************
> > 	This does not seem to be anyway related with my code. Can somone
> > help me in fixing up the problem. 
> > Shailendra
> > 
> > 
> 
>