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 / 1153
1152  |  1154
Subject: 
Re: Help with make in Windows
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 14 Jun 2000 05:22:14 GMT
Viewed: 
1325 times
  
Ah...progress.  I have finally started tracing the function calls.  Did I
mention my head hurts?  :-p  Seriously, what I found was in the 0.2.2 on
Windows Instructions, number 8 says "Change the CINC variable definition in
legOS\Makefile.common to CINC=-I$(LEGOS_ROOT)include -I$(LEGOS_ROOT)
include/lnp -I." without the quotes.  I thought the ending period was
punctuation and excluded it from the line.  Upon tracing it to this line, I
added the period and miracles occurred... to an extent. :-)

The errors I get now (very near the end) are:

"/legOS/util/merge-map legOS.map legOS.dis > legOS.dis2
/legOS/util/merge-map: not found"

Of course, legOS.map and legOS.dis are in /legOS/boot.  My explorations have
shown the merge-map function to be called within Makefile.kernel and
Makefile.user.  What I can't quite find is what sets the directories that
these use?  I've rechecked the other modifications I was to make to the
Makefiles but didn't catch anything that looked out of place.
Should the CFLAGS definition that follows end with ..."/include/lnp." or does
the period matter there?  I originally tried it without and with didn't seem
to matter.

I've made little modifications and then tried to re-make --unix and now get:
"make[1]: Nothing to be done for 'all'."

... followed by the errors above.  Do I have to un-make anything each time I
try a revision?

My appreciation for all the help.

-- Gary

In lugnet.robotics.rcx.legos, Luis Villa writes:
On Mon, 12 Jun 2000, Gary Mayer wrote:
Thanks for the info.  I do have Win 95 and tried installing there ... same
errors.
Then, I tried the Windows install using cygwin.  I've gotten to the end part
where you type "make --unix"
While it did compile, there were errors along the way.  The two biggies I
pick out are:

1)  "//f/cygnus/CYGWIN~1/H-I586~1/h8300-hms/bin/ld: cannot open crt0.o: No
such file or directory"

Doing a search, I've located crt0.o in
F:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\lib.  There is no
directory called ..\bin\ld.  There's an ld.exe but no \ld subdirectory.

In Unix-ish systems, that style of error message means that it is being
generated by the program yada/yada/ld. So, what is happening is that
ld.exe is unable to find crt0.o, whatever that is.

2)  "makedepend: warning:  /legOS/kernel/conio.c (reading
/legOS/include/conio.h, line 41): cannot find include file "config.h"
        not in /legOS/include/config.h
        not in /legOS/include/lnp/config.h
        not in -f-/config.h"

config.h is in /legOS/boot/ and /legOS/util/dll-src/

This is rather odd. /legOS/include/config.h (IIRC) was the old location
for config.h, and /legOS/boot is the "new" location. Have you mixed and
matched files in any way?

I'm not familiar with all that's going on in the background or exactly what
file has what setting.  So, I'd rather not try and just copy a file here or
there.  Any help on the above would be appreciated.

Sorry I can't be of more help... maybe when I'm not half asleep (long
day) I'll take a look at the Windows install instructions and try to
puzzle them out with/for you.

Oh, a different error.  I was (was being the operative word) able to upload
the legos.srec firmware and demo .lx files to the RCX (using "nqc -firmware
legos.srec".  Now, I get told there's an error deleting the program.
Pulling batteries and reloading the firmware does no good.  Ideas?

What exactly tells you that there is an error deleting the program? nqc?
And what exactly is there once you put the batteries back in? legOS? or
the basic firmware?

Anyway, keep the questions coming...
Luis

"Luis Villa" <liv@duke.edu> wrote in message
news:Pine.SOL.3.91.1000611164755.24198B-100000@teer13.acpub.duke.edu...
Gary-
Unfortunately, I believe that Rossz's tools are known not to work
with NT/w2k. The problem is with the DJGPP toolset itself, not with
Rossz's work. If installing on win95/98 is not an option, you may want to
take a look at

http://erebus.cs.duke.edu/~louie/legos/archives/windows/legOS-0.2.2/

which are instructions that should work for win2k and NT (I think.) Sorry
that that page is so out of date- it's the best advice I can give at the
moment until the new site is organized.

Good luck-
Luis

On Sun, 11 Jun 2000, Gary Mayer wrote:

Date: Sun, 11 Jun 2000 20:35:31 GMT
From: Gary Mayer <malekith@charter.net>
To: lugnet.robotics.rcx.legos@lugnet.com
Subject: Help with make in Windows

I have LegOS 0.2.3 installed and, thanks to instructions by Rossz
Vamos-Wentworth I've gotten quite far down the path of getting the • software
to work.  The firmware works fine and I can upload a demo .lx and have • it
work fine.  However, I can't get make to make a .lx file of my own.  I • get
the following:

  Makefile:40: .depend: No such file or directory (ENOENT)
  makedepend *.c -Y -IF:/legOS/include -I. -f- | F:/legOS/util/fixdeps
F:/legOS/kernel/ > .depend
  f:/djgpp/tmp/dj210000: makedepend: command not found
  make.exe: *** No rule to make target `heo.lx'.  Stop.

I usually wind up with an empty .depend file.  I've looked in the
f:/djgpp/tmp/ directory and there is no dj210000.

Now, I'm using Win NT 4.0 and Win 2000.  I've tried it in both and have
actually gotten further with Win2000 than Win NT 4.0.  I checked and
rechecked the path settings and they seem OK.

If I understand the code correctly, it creates a .depend file in the • current
directory and includes this in the compile.  If not, well, I don't seem • a
pre-created .depend file anywhere.

Any suggestions?

Thanks in advance,

Gary Mayer



-----------------------------------------------------------------------

           "Going to California with an aching in my heart.
               Someone told me there's a girl out there
            with love in her eyes and flowers in her hair."
-Led Zeppelin, "Going to California"

-----------------------------------------------------------------------




-----------------------------------------------------------------------

          "Going to California with an aching in my heart.
              Someone told me there's a girl out there
           with love in her eyes and flowers in her hair."
-Led Zeppelin, "Going to California"

-----------------------------------------------------------------------



Message is in Reply To:
  Re: Help with make in Windows
 
(...) In Unix-ish systems, that style of error message means that it is being generated by the program yada/yada/ld. So, what is happening is that ld.exe is unable to find crt0.o, whatever that is. (...) This is rather odd. /legOS/include/config.h (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)

14 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