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 / 2131
2130  |  2132
Subject: 
Re: Still having problems with helloworld.c
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 15 Nov 2001 01:36:33 GMT
Viewed: 
4231 times
  
Thanks John! I will see if that works.I had almost given up and Mike was
helping me set up the whole thing again alongwith the USB patch.
Regards,
Rajendra


> From: "John Madsen" <john@illura.NOSPAM.com>
> Reply-To: lugnet.robotics.rcx.legos@lugnet.com
> To: lugnet.robotics.rcx.legos@lugnet.com
> Subject: Re: Still having problems with helloworld.c
> Date: Thu, 15 Nov 2001 00:31:18 GMT
> 
> Hi,
> 
> I had the same problem you did and traced it back to a faulty line in
> loader.c (which contains makelx's main()).  In revision 1.3 and earlier of
> that file you can find the following toward the end of the file:
> 
> if(argc-optind<3 || lx.text_size==0) {
>     fprintf(stderr,"usage: %s file.ds1 file.ds2 file.lx\n"
>     ...
> 
> lx has not been initialized, so it contains garbage which is not equal to
> 0.
> I attempted to compile 0.2.5 (which does not have this problem), but got
> numerous errors (I'll work on that later).  The solution I came up with is
> simply to edit makelx itself.  If you change the byte at 0xb3a to 0xeb
> eveything should work fine.
> 
> John
> 
> In lugnet.robotics.rcx.legos, Rajendra Kumar Penugonda writes:
> > Hi! I tried changing the path for KERNEL in makefile from Demos directory
> > and giving the path for legOS there.Now I get a different message when I • do
> > 'make'.It says 'No rule to make target'?!Now is there any way I could • solve
> > this.If I download the tar file for legOS then do I get new files for • egcs
> > and binutils too??
> > Regards,Rajendra
> > 
> > 
> > > From: "Michael Obenland" <obenland@t-online.de>
> > > Reply-To: lugnet.robotics.rcx.legos@lugnet.com
> > > To: lugnet.robotics.rcx.legos@lugnet.com
> > > Subject: Re: Unable to compile helloworld.c
> > > Date: Mon, 5 Nov 2001 23:13:09 GMT
> > > 
> > > Addendum:
> > > 
> > > It seems bad to put legOS under /usr/lib. Please get a fresh legOS.tar.z
> > > from
> > > legOS.sourceforge.net and install it in your user home directory. (for • me,
> > > that means in /home/obi. So legOS home is /home/obi/legOS at my linux
> > > system)
> > > You will probably get trouble with the file access rights if you install
> > > under /usr/lib. Or you have to be root to do your work which is very • very
> > > bad. Try a rm -r * in / as root and you know what I mean ;)
> > > 
> > > Then, try to make the kernel and the demos as told in the readme of • legOS.
> > > If
> > > this works (and it must work!) you can try to make a program in your
> > > projects
> > > dir.
> > > 
> > > Bye
> > > 
> > > Mike
> > 
> > 
> > _________________________________________________________________
> > 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



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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