To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3135
3134  |  3136
Subject: 
(no subject)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 28 Jan 2003 21:30:51 GMT
Viewed: 
3032 times
  
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? (21 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR