Re: [ns] Problem with .o files

2006-08-09 Thread Lee Begg
Try adding your "tcp/file.o" to OBJ_CC in Makefile.in, then run ./configure and make. The Makefile.in file is used to create the Makefile which is used by "make". Regards Lee Begg On Wed, 09 Aug 2006 20:40, Aleksandar Smolovic wrote: > Hi all, > > I have file.cc and file.h and I put that in for

Re: [ns] Problem with .o files

2006-08-09 Thread Vindya Amaradasa
Hi, When you run ./configure, your makefile gets altered. That's why your line 'disappeard'! And as a result, file.o was not created, hence the 'invalid command' error. (you only need to run ./configure if you're compiling for the very first time) So, once you add the tcp/file.o \line, just

Re: [ns] Problem with .o files

2006-08-09 Thread Prashant Batra
Hi, Your observations are expected!! The only thing that's going wrong in your case is that you do './configure' over and over again !! When you run './configure', it regenerates a new Makefile, which overwrites the Makefile that you modified. Thus, your changes vanish. So, after you modify t