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 / 2479
2478  |  2480
Subject: 
RE: Makefile patch
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 18 Apr 2002 22:56:58 GMT
Viewed: 
1960 times
  
Here's the latest on this end:

I have some kind of incomplete cross compiler that I build using Max
Bowsher's script....

I unpacked the legOS directory did 'make OSTYPE=cygwin'
And now I can download helloworld (which is compiled for some reason)
and other previously compiled programs and the firmware.

I still can't compile new things...but why helloworld and the kernel
compiled baffles me.

How did you get the hitatchi stuff to work? I copied h8300-hms-gcc.exe
and cc1.exe to the /legOS/util dir which is in my PATH...i get further
but still have errors and a no go on the lx.

-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com] On Behalf
Of Joseph Woolley
Sent: Thursday, April 18, 2002 5:35 PM
To: lugnet.robotics.rcx.legos@lugnet.com
Subject: Re: Makefile patch

Kingsley,

I did encounter this error, but didn't specifically list the error in my
description.  You will need to:

5)  executed the following:
    make realclean

*** this is the specific fix for "No rule to make target"
    rm boot/.depend
    make
***

I included the following steps in case you run into these problems as
well.
You will get the errors about the invalid use of void expression... and
so
you will need to do step 8) no matter what.  You may or may not need to
do
steps 6 & 7 depending on your environment.

6)  encountered errors with the new .depend file created during the
build...
so I had to execute:
    tr -d '\15\32' < boot/.depend > boot/.depend
    // NOTE: This will strip the ^M and ^Z from the file (dos to unix
text)
7)  executed:
    make
8)  encountered errors concerning inproper use of void for • motor_x_speed
and
motor_x_direction calls in dmotor.c and dmotor.h   I fixed that error • by
removing the const specifier in front of the func. decl. then:
    make
    util/firmdl3 boot/legOS.srec


When I have repeated the process and completed some more testing; I will
post the procedure with more detail and maybe a patch file to make the
process easier.

Good luck and keep me posted as to your progress.  8-)

// Joe


"Kingsley Gifford" <kgifford@thezone.net> wrote in message
news:000001c1e70c$25898d80$0101a8c0@xavier...
I just tried the 2000r1_i686-cygwin32-x-h8300-hms.zip and now I get
"make: *** No rule to make target

I think during my tinkering I'm after deleting some necessary makefile
or something, if there's anyone who can pinpoint what I'm missing it
would be great if you could e-mail it.

Thanks again




Message has 1 Reply:
  Re: Makefile patch
 
(...) What makes you think it is incomplete. I have used that script to build a working cross-compiler for myself. (...) Well, you will need /h8x/bin in your path. Please post all errors you get using the cross tools you have built (not the (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Makefile patch
 
Kingsley, I did encounter this error, but didn't specifically list the error in my description. You will need to: (...) *** this is the specific fix for "No rule to make target" (...) *** I included the following steps in case you run into these (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)

11 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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