To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1002
1001  |  1003
Subject: 
Re: no rule to make target Main.o
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 16 Apr 2000 16:18:26 GMT
Viewed: 
1714 times
  
In lugnet.robotics.rcx.legos, Brian Alano writes:
I just unzipped emulegos_unix.zip to my RedHat 6.x system.
I typed:
   export RCX_SOURCE=ir-rover
   make

and got:
   make: *** No rule to make target `Main.o', needed by 'ir-rover^M'. Stop.

Anyone know what I failed to do?
Yep,
You took a DOS format makefile. Unix uses \n for line ends, DOS \r\n. When unix
sees the DOS form, it thinks you mean 'ir_rover^M' ^M, Ctrl-M is the unix way
of expressing \r.
To fix it, load the filee into vi. Type the following command...
:%s/^M$//

You must ype exactly what you see. The ^M is typed with the sequence Ctrl-v M
(Don't let go of Ctrl key when typing M)
Save results+exit with
:wq
File should process OK



Message is in Reply To:
  no rule to make target Main.o
 
I just unzipped emulegos_unix.zip to my RedHat 6.x system. I typed: export RCX_SOURCE=ir-rover make and got: make: *** No rule to make target `Main.o', needed by 'ir-rover^M'. Stop. Anyone know what I failed to do? (25 years ago, 12-Apr-00, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR