Subject:
|
Problems with legOS-0.2.2 on Windows 95
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Wed, 29 Dec 1999 15:15:39 GMT
|
Viewed:
|
1476 times
|
| |
| |
Hi,
I followed the instructions on
http://arthurdent.dorm.duke.edu/legos/archives/windows/legOS-0.2.2/
to install legOS-0.2.2 on my Windows 95 PC. I downloaded all the files,
installed the packages, and modified the makefiles. And was finally ready to
compile, the results of the compilation is shown below...
BASH.EXE-2.02$ make --unix
for i in util lib boot demo ; do make -C $i || exit -1 ; done
Makefile:6: *** missing separator. Stop.
exit: Illegal number: -1
make -C c || exit -1
h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legOS/include
-I/legOS/include/lnp -I -c memcpy.c -o memcpy.o
/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/h8300-hms/bin/ld: cannot open crt0.o: No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [memcpy.o] Error 1
exit: Illegal number: -1
make[1]: *** [libc.a] Error 2
exit: Illegal number: -1
h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legOS/include
-I/legOS/include/lnp -I -c /legOS/kernel/kmain.c -o kmain.o
In file included from /legOS/kernel/kmain.c:28:
/legOS/include/sys/mm.h:29: config.h: No such file or directory
In file included from /legOS/include/sys/time.h:29,
from /legOS/kernel/kmain.c:29:
/legOS/include/sys/../time.h:32: config.h: No such file or directory
In file included from /legOS/kernel/kmain.c:30:
/legOS/include/sys/tm.h:29: config.h: No such file or directory
In file included from /legOS/kernel/kmain.c:32:
/legOS/include/sys/dsensor.h:29: config.h: No such file or directory
In file included from /legOS/include/sys/dmotor.h:29,
from /legOS/kernel/kmain.c:33:
/legOS/include/sys/../dmotor.h:29: config.h: No such file or directory
In file included from /legOS/include/lnp/sys/lnp.h:29,
from /legOS/kernel/kmain.c:34:
/legOS/include/lnp/sys/../lnp.h:29: config.h: No such file or directory
In file included from /legOS/include/lnp/sys/lnp-logical.h:29,
from /legOS/kernel/kmain.c:35:
/legOS/include/lnp/sys/../lnp-logical.h:29: config.h: No such file or directory
In file included from /legOS/kernel/kmain.c:36:
/legOS/include/sys/program.h:29: config.h: No such file or directory
In file included from /legOS/kernel/kmain.c:42:
/legOS/include/conio.h:41: config.h: No such file or directory
make[1]: *** [kmain.o] Error 1
exit: Illegal number: -1
make[1]: *** No rule to make target `helloworld.lx', needed by `all'. Stop.
exit: Illegal number: -1
make: *** [all] Error 2
BASH.EXE-2.02$
After I added a symbolic link to /legOS/boot/config.h in /legOS/include/ I got
the following when compiling.
BASH.EXE-2.02$ make --unix
for i in util lib boot demo ; do make -C $i || exit -1 ; done
Makefile:6: *** missing separator. Stop.
exit: Illegal number: -1
make -C c || exit -1
h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legOS/include
-I/legOS/include/lnp -I -c memcpy.c -o memcpy.o
/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/h8300-hms/bin/ld: cannot open crt0.o: No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [memcpy.o] Error 1
exit: Illegal number: -1
make[1]: *** [libc.a] Error 2
exit: Illegal number: -1
h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legOS/include
-I/legOS/include/lnp -I -c /legOS/kernel/kmain.c -o kmain.o
/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/h8300-hms/bin/ld: cannot open crt0.o: No
such file or directory
collect2: ld returned 1 exit status
make[1]: *** [kmain.o] Error 1
exit: Illegal number: -1
make[1]: *** No rule to make target `helloworld.lx', needed by `all'. Stop.
exit: Illegal number: -1
make: *** [all] Error 2
BASH.EXE-2.02$
I'm not very familiar with setting up a compiler and writing makefiles. So I
would appreciate any directions and help to get legOS running.
Thanks in advance,
Mattias
|
|
Message has 1 Reply: | | Re: Problems with legOS-0.2.2 on Windows 95
|
| Hi again, The previous problems have been fixed by cleaning up the Makfiles from unnecessary Tabs and DOS file endings. And I also forgot to put the period in the end of the CINC line in Makefile.common. Thanks to Philip Brown and Larry Charlton. (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|