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:
|
1216 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:
Message is in Reply To:
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
|
|
|
|