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 / 574
573  |  575
Subject: 
Re: (Failed) Getting LegOS 0.2.2 working on Windows
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 15 Dec 1999 03:59:09 GMT
Viewed: 
1005 times
  
Peter Van der Beken wrote:

Instructions to get a working LegOS 0.2.2 on Windows are at:
http://arthurdent.dorm.duke.edu/legos/archives/windows/legOS-0.2.2/. Much
thanks is due to Luis Villa for editing and hosting.

Peter

I tried this on a NT 4 machine with little success. First of I got the
message:

chili : /legOS make
for i in util lib boot demo ; do make -C $i || exit -1 ; done
i was unexpected at this time.
make: *** [all] Error 1

After replacing the make version 3.75 which comes with the cygwin by a newer
version (3.77) I get
a little further:

chili : /legOS make
for i in util lib boot demo ; do make -C $i || exit -1 ; done
make[1]: Entering directory `C:/legOS/util'
cc     firmdl3.c   -o firmdl3
process_begin: CreateProcess((null), cc firmdl3.c -o firmdl3, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [firmdl3] Error 2

So I copied gcc to cc. Now I get:

make[2]: Entering directory `C:/legOS/util/dll-src'
gcc -o loader.o -c loader.c -O2 -Wall -I. -I../../include/lnp
loader.c: In function `lnp_logical_write':
loader.c:100: warning: implicit declaration of function `bzero'
loader.c: In function `lnp_assured_write':
loader.c:167: warning: implicit declaration of function `rcxH'
loader.c:167: warning: passing arg 1 of `WaitCommEvent' makes pointer from
integer without a cast
loader.c:182: warning: passing arg 1 of `GetOverlappedResult' makes pointer
from integer without a cast
loader.c: In function `main':
loader.c:333: warning: passing arg 4 of `getopt_long' discards `const' from
pointer target type
gcc -o rcxtty.o -c rcxtty.c -O2 -Wall -I. -I../../include/lnp
rcxtty.c: In function `rcxInit':
rcxtty.c:90: warning: `hCom' might be used uninitialized in this function
gcc -o keepalive.o -c keepalive.c -O2 -Wall -I. -I../../include/lnp
make[2]: *** No rule to make target `lnp.o', needed by `dll'.  Stop.
make[2]: Leaving directory `C:/legOS/util/dll-src'
exit: Illegal number: -1
make[1]: *** [dll] Error 2
...

The gcc in the cygwin version is egcs-2.91.57. Are you sure you are using the
same tools? I got mine from the
links in the web page.

Carsten



Message has 1 Reply:
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
It is quite possible that there is a versioning problem here. The cygwin on arthurdent is reasonably new (August?), but not exactly cutting edge. Peter provided me with links to everything except that, so I provided my own. If he'll provide me with (...) (25 years ago, 15-Dec-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Getting LegOS 0.2.2 working on Windows
 
Instructions to get a working LegOS 0.2.2 on Windows are at: (URL) Much thanks is due to Luis Villa for editing and hosting. Peter (25 years ago, 14-Dec-99, to lugnet.robotics.rcx.legos)

4 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