I did not forget it, but now the problem is that: "Makefile: 249: missing separator <did you mean Tab instead of 8 spaces?>. Stop" I have returned to the same line and put a tab instead of the spaces but still I got the same error (even though I have removed my new protocol .o name from the Makefile). What can I do?
Samer Bali <[EMAIL PROTECTED]> wrote: Also do not forget "\" at the end of the line except for the last one in obj_cc list. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Samstag, 29. September 2007 08:45 To: hossein fotouhi Cc: ns mailing list Subject: Re: [ns] Make failed: Command commence before first target ??!!? Hi, I did these steps but still I get the same error at the same line number... Thanx hossein fotouhi wrote: Hi When you want to add an object file in Makefile, you cannot use "tab" button. First you enter to new line and by clicking on space button go to any position you want, and then write yourself don't copy/paste. If you don't do this process you get error. Regards On 29/09/2007, Ghada Al-Mashaqbeh wrote: Dear all, I have added a new routing protocol module for ns-2 2.31, I have added all the needed modifications to tcl, c++, and Makefile to support this protocol. When I run 'make' to recompile ns I got the following error: "Makefile:249: *** commands commence before first target. Stop" line 249 in Makefile.in file is where I have added the .o name for my protocol. I have tried to change the location of .o name in this file but for my surprise the same error with the same line number (249) still appear even though the .o file is on another line. I have looked for possible solution for this problem but there is only emails with this problem with no useful replies. Can any body give me some hints about this problem? or at least what is the reason for it? Thanx, Ghada --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. -- Hossein Fotouhi (M.Sc. student) Department of Computer & Communication Network, Faculty of Engineering, University Putra Malaysia, (www.upm.edu.my) Malaysia, Cellphone: +6-12-2644412 --------------------------------- Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
