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 / 575
574  |  576
Subject: 
Re: (Failed) Getting LegOS 0.2.2 working on Windows
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 15 Dec 1999 04:49:46 GMT
Viewed: 
1337 times
  
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 the link he used, I'll fix it ASAP.
Luis

On Wed, 15 Dec 1999, Carsten Friedrich wrote:

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



#######################################################################

     Profanity is the one language that all programmers understand.
                  -Anonymous

#######################################################################



Message is in Reply To:
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
(...) 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 (...) (25 years ago, 15-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
    

Custom Search

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