|
Hi there,
Was just wanting some help getting the simple.c program working that comes
in the extreme mindstorms book. The problem is that when I type make
simple.lx I get warnings and errors back like this:
/usr/local/bin/h8300-hms-gcc -02 -fno-builtin -fomit-frame-pointer -Wall
-Iinclude -Iinclude -I. -I../boot -c simple.c -o simple.o
simple.c:5:3: warning: no newline at end of file
simple.c:5:6: warning: embedded null characters ignored
simple.c:5: parse error before character 032
make: *** [simple.o] Error 1
could someone let me know what the problem is?
Any help would be great
thanks
Andrew
_________________________________________________________________
Stay in touch with MSN Messenger http://messenger.msn.co.uk
|
|
Message has 1 Reply: | | Re: (no subject)
|
| (...) The first error can be dealt with by adding a blank line at the end of the file. The others are harder. What version of gcc are you using? What editor did you use to type it in? For those of us without the book, what is the text of the program? (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|