Subject:
|
Re: Hmm... install not going so smooth
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 14 May 2002 14:56:04 GMT
|
Viewed:
|
2461 times
|
| |
| |
"Samuel Winchenbach" <swinchen@eece.maine.edu> wrote in message
news:Gw3upA.J4s@lugnet.com...
> I think I may have gotten closer.
>
> I compiled legOS and that seemed to work fine... I followed the
> instructions verbatim.... then I tried doing the following:
>
> $ cd legos-0.2.6/demo
> $ rm -f *.o *.lx
> $ make helloworld.lx
>
>
h8300-hitachi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/home/Ad
ministrator/legos/include -I/home/Administrator/legos/include/lnp -I. -I../b
> oot/ -c
> helloworld.c -o helloworld.o
> helloworld.c:1: conio.h: No such file or directory
> helloworld.c:2: unistd.h: No such file or directory
> make: *** [helloworld.o] Error 1
>
> Now I assumed that it was giving me hell because the name of the directory
> is legos-0.2.6... so I did the following:
>
> $ cd
> $ mv legos-0.2.6 legos
> $ cd legos/demo
> $ make helloworld.lx
>
> make: *** No rule to make target
> `/home/Administrator/legos-0.2.6/include/conio.h', needed by `helloworld.o'.
> Stop.
>
>
> so now it changed the legos directory to legos-0.2.6!!!!! ARG!! what is
> going on here.
> also, what is h8300-hitachi-hms-ld ? and why does it try to build .ds1
> files?
>
>
Ok!!! I found the problem and got it working... I will post it here incase
anyone else runs into troublem.... in Makefile.common there is a line that
reads:
export LEGOS_ROOT=$(shell pwd | sed -e
"s/\(.*\)\(legOS\).*/\1\2/$(SED_SFLAG)")/
and I changed that to
export LEGOS_ROOT=$(shell pwd | sed -e
"s/\(.*\)\(legos-0.2.6\).*/\1\2/$(SED_SFLAG)")/
and after that everything worked fine... so all along it was just some funky
references in the make files.
|
|
Message is in Reply To:
| | Re: Hmm... install not going so smooth
|
| I think I may have gotten closer. I compiled legOS and that seemed to work fine... I followed the instructions verbatim.... then I tried doing the following: $ cd legos-0.2.6/demo $ rm -f *.o *.lx $ make helloworld.lx h8300-hitachi-hms-gcc -O2 (...) (23 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|