Subject:
|
Re: Unable to compile helloworld.c
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sun, 4 Nov 2001 19:57:37 GMT
|
Viewed:
|
1489 times
|
| |
| |
Ok let me explain the whole process that I did.I downloaded the .rpm files
for legOS,binutils and egcs and installed them.After that according to the
HowTo documentation I wanted to test the compiler by compiling a simple
program.I looked into the demo directory under legOS and got the file
helloworld.c.In the documentation it says that I should create a
subdirectory with either the name of "code" or "projects" or something like
that.Then I copy the Makefile from the demo directory into the new directory
which I had named Project.This is where I tried to do "make helloworld.lx"
and got the error.I hope this will make things clearer.
Regards,Rajendra
> From: "Zhengrong Zang" <mikezang@iname.com>
> Reply-To: lugnet.robotics.rcx.legos@lugnet.com
> To: lugnet.robotics.rcx.legos@lugnet.com
> Subject: Re: Unable to compile helloworld.c
> Date: Sun, 4 Nov 2001 13:32:42 GMT
>
> What do you mean Project directory? there is no this directory if I
> remember!
>
> Zhengrong
>
> In lugnet.robotics.rcx.legos, Rajendra Kumar Penugonda writes:
> > I compiled in the Project directory.
> > -Rajendra
> >
> > > From: "Zhengrong Zang" <mikezang@iname.com>
> > > Reply-To: lugnet.robotics.rcx.legos@lugnet.com
> > > To: lugnet.robotics.rcx.legos@lugnet.com
> > > Subject: Re: Unable to compile helloworld.c
> > > Date: Sun, 4 Nov 2001 11:48:21 GMT
> > >
> > > did you compile in demo directory?
> > >
> > > Zhengrong
> > >
> > > --------
> > > RCX Controlled LEGO Train Projects
> > > http://legochina.virtualave.net
> > >
> > > In lugnet.robotics.rcx.legos, Rajendra Kumar Penugonda writes:
> > > > Hi! I was trying to compile the helloworld.c program by using "make
> > > > helloworld.lx" but I get an error "make:*** No rule to make target
> > > > 'helloworld.lx'.Stop." I had placed helloworld.c file alongwith
> > > > Makefile.common in /usr/lib/legOS/Project directory.Please let me know what
> > > > should I do.
> > > > Regards,Rajendra
> > > >
> > > > _________________________________________________________________
> > > > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|
|
Message has 1 Reply: | | Re: Unable to compile helloworld.c
|
| (...) Ok. Now lets look at your "projects" dir. You take helloworld.c from demo and put it into "projects". Then you also put the Makefile you find in the demo dir into "projects", so you have two files: helloworld.c and Makefile. You now must edit (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|