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 / *1744 (-5)
  Re: almost made it, but need help..again :)
 
(...) Your problem is not the .so file (hasn't got to linking stage yet), but the .h file. You need to do: gcc -I/path/of/lnplib/includes name.c -o name or put the full path to lnplib.h in the include statement in name.c HTH ROSCO (24 years ago, 2-Mar-01, to lugnet.robotics.rcx.legos)
 
  almost made it, but need help..again :)
 
heh guys, im back..again :) have downloaded and installed lnpd. i have: export LD_LIBRARY_PATH=$LD_...lnp/liblnp so that my PC programs in ~/legOS/host/lnpd+li...plications can find the liblnp.so.x file. but i allways get an error when i try to gcc (...) (24 years ago, 2-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: kernel hacking in lnp.c (problem)
 
(...) The best way to do this kind of thing is to save the info you want to display in a variable or something, set a flag saying somethings there, and let another task display the data & reset the flag. You can see a simple implementation of this (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: kernel hacking in lnp.c (problem)
 
(...) Posting your code would help a lot :-). lnp_receive_packet() is called after the integrity layer has verified the checksum from an interrupt handler. So your code should be short e never call functions that wait or may cause a task switch. dll (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  kernel hacking in lnp.c (problem)
 
hi everybody. in /kernel/lnp.c there is a function called lnp_receive_packet. here im trying to insert a function that will display whatever came in the data field when lnp_receive_packet was called. (interested in seeing everything, including (...) (24 years ago, 1-Mar-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