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 / *2118 (-5)
  Re: Unable to compile helloworld.c
 
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 (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
(...) <sigh> I'm not sure either. Actually no idea so far. It seams that makelx is called with wrong parameters. But why? Did you successfully made the demos in the demo dir? (...) That puzzles me, too. The compiler and the binutils come as a rpm (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
Well!I looked in the makefile and couldn't see anything wrong with the path.As for having legOS under usr/lib, it was done at the time of installing the rpm and I hadn't specified any path.Now,I tried copying config.h and putting it in the 'include' (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
(...) The error messages state that helloworld includes conio.h which tries in line 41 to include config.h. Helloworld includes unistd.h which includes time.h which tries in line 32 to include config.h. So, conio.h, unistd.h and time.h are found, (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
 
  About LNP_HOSTADDR & LNP_HOSTMASK
 
I found these MACROs are only used in lnp.c as below: kernel/lnp.c: lnp_buffer[3]=LNP_HOSTADDR | (srcport & LNP_PORTMASK); kernel/lnp.c: if(LNP_HOSTADDR == (dest & LNP_HOSTMASK)) {... You have to recompile legOS as this reason, if we can use two (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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