Subject:
|
Re: Still having problems with helloworld.c
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sun, 20 Jan 2002 20:46:36 GMT
|
Viewed:
|
2106 times
|
| |
| |
John,
Where is the source for makelx ?? I am having this same problem.
Thanks
JohnG
In lugnet.robotics.rcx.legos, John Madsen writes:
> 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
|
|
Message is in Reply To:
| | Re: Still having problems with helloworld.c
|
| 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) (...) (23 years ago, 15-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
|
|
|
|