Subject:
|
Re: Help w/install _or_ It all went so well
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 14 Nov 2003 18:41:07 GMT
|
Viewed:
|
3661 times
|
| |
| |
Or ( IMO ) better yet, just macro every line between 152 and 171, that's
what I did, saved the trouble of another install...
Put this on each line around the assembly code: __asm__("");
Make sure you keep the indent spacing also:
label:
should be:
asm("label:");
Not:
asm(" label: ");
Something elase you might run into also, that I did. In Makefile.common, I
had to change TOOLPREFIX:
From this:
TOOLPREFIX=/h8300-hms-
To this ( removed beginning "/" ):
TOOLPREFIX=h8300-hms-
Maybe you won't, but I did have to for it to build code in the lower
subdirectories ( c, c++ ).
RK
"Wes Matchett" <wes@matchett.ws> wrote in message
news:Ho84tr.5ux@lugnet.com...
> _warning_ I'm new to BrickOS, so be patient.
> I've just attempted to install using the instructions at
> http://brickos.sourceforge.net/docs/INSTALL-cygwin.html
> Everything went fine until step 4 command './configure; make' which looked like
> this:
>
> ...
> $ ./configure; make
>
> Welcome to the brickOS Makefile configurator.
> Attempting to find the Hitachi gcc compiler. (This may take some time.)
>
> - Toolprefix = /usr/local/bin/h8300-hitachi-hms-
> - Found Cygwin/DJGPP system
>
> make[1]: Entering directory `/brickOS-0.2.6.10/util'
> make[2]: Entering directory `/brickOS-0.2.6.10/util/dll-src'
> gcc -o loader.o -c loader.c -D_WIN32 -O2 -Wall -I. -I/brickOS/include/lnp
> gcc -o rcxtty.o -c rcxtty.c -D_WIN32 -O2 -Wall -I. -I/brickOS/include/lnp
> gcc -o keepalive.o -c keepalive.c -D_WIN32 -O2 -Wall -I. -I/brickOS/include/lnp
> gcc -o lnp.o -c /brickOS/kernel/lnp.c -D_WIN32 -O2 -Wall -I. -I/brickOS/include/
> lnp
> /brickOS/kernel/lnp.c:152:9: missing terminating " character
> /brickOS/kernel/lnp.c:171:3: missing terminating " character
> make[2]: *** [lnp.o] Error 1
> make[2]: Leaving directory `/brickOS-0.2.6.10/util/dll-src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/brickOS-0.2.6.10/util'
> make: *** [all] Error 2
> ...
>
> This looks to be reporting a problem on lines 152 and 171 of lnp.c but they look
> ok to me. Any idea whats wrong?
>
> Thanks,
> -Wes
|
|
Message has 1 Reply: | | Re: Help w/install _or_ It all went so well
|
| Thanks. This solved the initial problem which revealed a second... genlds.c has two printf() statements that have multi-line string args. I appended '\' to the end of all these and everything compiled fine. Now to test things. -Wes (...) <snipped (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Help w/install _or_ It all went so well
|
| _warning_ I'm new to BrickOS, so be patient. I've just attempted to install using the instructions at (URL) went fine until step 4 command './configure; make' which looked like this: ... $ ./configure; make Welcome to the brickOS Makefile (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
|
9 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
|
|
|
|