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 / *2859 (-40)
  brickOS status update
 
We are continuing to update our web site. The front page contains the latest news. (URL) have pushed another round of API docs to the web. New in this version are the brickOS Kernel Developer set and new example program pages (autogenerated from our (...) (22 years ago, 25-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: How to setup gcc and make in cygwin
 
I had a go at those instructions then gave up after 3 weeks of trying to get them to work. "Ed Manlove" <emanlove@ieee.org> wrote in message news:H2JupE.J4w@lugnet.com... (...) most (...) no (...) for (...) my (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: How to setup gcc and make in cygwin
 
Actually there is a set of updated instructions for Windows with the most recent being for brickOS. brickOS is the continued development effort foe legOS. AT the request of The LEGO Group the name has changed. So the most recent information can be (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Pass by reference
 
Ralph, The second parameter to the task is a pointer to an array of pointers. Those pointers (under DOS and other OSes) normally point to parameters on the command line (string data). However, there is no reason to not use them for other data types. (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: How to setup gcc and make in cygwin
 
Follow these instuctions word for word: (URL) 0.2.6 in place of 0.2.4 wherever it crops up and you'll have no problems. (Well, it worked for me using Win98 so hopefully it'll work for you) "Redline" <trust@global.net.au> wrote in message (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Pass by reference
 
More specifically, how can you pass by reference to a thread?? I thought a thread could only take chracter arguments in an array? Thanks "Ralph Clark" <ralph.clark@ntlworld.com> wrote in message news:H2HwuD.L6L@lugnet.com... (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  How to setup gcc and make in cygwin
 
Hi all, I've been trying to get LegOS working on my Win XP machine using the cygwin emulator but I cannot execute "Makefile"; hence I downloaded "make" from the fs foundation but I am new to this, so have no idea how to install make --- generally I (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
 
  Pass by reference
 
Hi. Do we have pass by reference in the current version of legOS? If we don't, I'd be very grateful if anyone could give me a simple example of how to do the same thing in C using pointers and whatever. (22 years ago, 15-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: small patch to build dll on linux
 
John, I believe I have a good solution. I ran a test both under Win98 and a forced Linux OS (set OSTYPE=LINUX in makefiles). Below is a patch file for the current CVS version of brickOS. As soon as I get confirmation that this does fix my bug I will (...) (22 years ago, 12-Sep-02, to lugnet.robotics.rcx.legos)
 
  brickOS general news
 
We've been working on our web-site (URL) welcome comments. If you'd like to see something specific that is not already there please let us know. Development work on brickOS has been lively over the past couple of weeks. So watch for another test (...) (22 years ago, 12-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
(...) The usual method is to put the following near the top of the .h file: #ifdef __cplusplus extern "C" { #endif and the following at the bottom: #ifdef __cplusplus } #endif This eliminates the need for 2 .h files. HTH. ROSCO (22 years ago, 10-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
From: "Tim Auton" <tim.lugnet@uton.org> Sent: Friday, September 06, 2002 4:07 PM (...) [snip] (...) I do, it's a namespace problem, down to you working in a C++ project and winliblnp being in C. I suggest a quick and dirty hack of creating a (...) (22 years ago, 10-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
I have completed an update to solve some of the problems mentioned previously. If all goes well, I will be able to start updating the files on sourceforge within a week. More soon. // Joe (22 years ago, 9-Sep-02, to lugnet.robotics.rcx.legos)
 
  legOS 0.1.7
 
I need information about this version of legOS !! please send me :) nanobapt (22 years ago, 7-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
Don't get what u mean! ----- Original Message ----- From: "nanobapt" <nanobapt@nordnet.fr> To: <lugnet.robotics.rcx...ugnet.com> Sent: Friday, September 06, 2002 5:49 PM Subject: Re: Winliblnp problems (...) (22 years ago, 7-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: small patch to build dll on linux
 
John, There is another one in $(BRICKOS_ROOT)\Make...le.common. It will below the line you comment here but I don't see any typos # # Cygwin 1.1 # ifneq (,$(findstring CYGWIN,$(OSTYPE))) What do you get when you type uname at the prompt? Ed John (...) (22 years ago, 7-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: small patch to build dll on linux
 
This still doesn't work for me. Can you use a similar findstring as the one in the root Makefile.common? The one that looks like this; ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin CYGWIN_NT-4.0 CYGWIN_NT-5.0 CYGWIN_NT-5.1 WindowsNT Windows_NT)) J* (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
a ActiveX is easy to written with an other Comm activeX for Windows no ? nanobapt ----- Original Message ----- From: Shehryar Shaheen <shehryar.shaheen@ul.ie> To: <lugnet.robotics.rcx...ugnet.com> Sent: Friday, September 06, 2002 6:31 PM Subject: (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
I am using LNP under Linux, I was referring to your suggested solution, which is both sensibly and confusingly called Winliblnp (distinct from winlnp) - a port of liblnp for Windows. I want to write robot control apps using video feedback, and my (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Winliblnp problems
 
To my knowledge nobody has been succesful with WinLNP! I gave up after a while and now use LNP under Linux. There was some work that somboby did which allowed the deamon to run on Linux but the LNP program could be run under windows. U could do a (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Winliblnp problems
 
Hi all, I recently downloaded winliblnp, the port by Michael Bunk of liblnp to windows. Exactly what I needed, thanks Michael. Unfortunately, I'm rather new to VC++ and I can't get it to compile. First, I tried compiling it on its own - no joy (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: small patch to build dll on linux
 
John, It looks like my patch to catch all WindowsOS broke for Linux. Ooops. I see an extra comma in there that should not be there. Could you try the following for me (or just remove the comma)? --- util/Makefile.common.old Thu Sep 5 16:51:27 2002 (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  RE: got usb tower working at quad speed under linux
 
(...) Sounds like you've been very busy, Chris. I would love to see the changes you have made.... Cheers, Ralph (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Warning cleanup questions with gcc3.2
 
(...) Sounds ok to me. Is the TODO file a good indication of what needs to be done for a 1.0.0 release, or do you have other tasks in mind (in case I find myself with idle hands)? J* (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  got usb tower working at quad speed under linux
 
I've managed to get the USB tower working for quad speed downloads under linux. There were some interesting issues along the way. 1) The usb tower doesn't allow control over parity, so you have to leave it on odd. I got around this by making a new (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Warning cleanup questions with gcc3.2
 
(...) <snip> (...) I'd like to say not at this time. Let me explain and then let's all comment so I can see how my idea resonates with ya'll ;-) I'd like to hold off addressing the GCC 3.x issues for only this upcoming release (brickOS 1.0.0). My (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Warning cleanup questions with gcc3.2
 
(...) However it should be fixed, as there's no guarantee future versions of gcc will support deprecated features. ROSCO (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Warning cleanup questions with gcc3.2
 
(...) I am running 3.1 and got the same error. But for user programs only because a line in boot/config.h is too long. In fact this is no error but just a warning. Looks bad but the code is ok. (...) If you look at the beginning of the file (I think (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  small patch to build dll on linux
 
I had problems on Linux with building dll from CVS. Apparently, it thought that I was running windows. The simple patch below fixes the problem for me, but I don't know if it leaves the cygwin build intact... --- util/Makefile.common.old Thu Sep 5 (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Warning cleanup questions with gcc3.2
 
When compiling brickos with gcc3.2, I get a lot (about 360 or so) of warnings about two things; a) warning: multi-line string literals are deprecated These seem to be mostly quotes around blocks of assembly code. Some of the code in lib/mint seems (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: gcc
 
I am running Windows XP. Should I also use the version of binutils that the install steps recommend? I was reading the post about newer version of binutils and was wondering if there are any advantages to using the newer releases. If there are (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: gcc
 
Sam Paolo Masetti instructions, (URL) suggest downloading gcc-2.95.2 for building the cross compiler. These instructions are standard instructions for windows os. By the way which Windows OS(s) are you running on (or plan to)? Ed Samuel Winchenbach (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
This has been suggested and may very well be the best way to handle manual removal of a runaway task. I plan to investigate this once I get my current updates squared-away. I hope this type of handling can be done in the kernel only. User tasks (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
Last night I worked on a solution to this. So far it is coming along very good. My proposed solution is to write tasks so that they shutdown when signalled. The user tasks should respond to the run/stop button by shutting down gracefully. If a task (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  gcc
 
Hi Everyone, I just installed the latest version of cygwin, and downloaded binutils 2.12. I am wondering what version of gcc I should download, thanks. Sam (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
Have you considered implementing thread cleanup handlers? Similar to what pthread_cleanup_push and pthread_cleanup_pop provide. "Joseph Woolley" <jwoolley@spamblock....ht.rr.com> wrote in message news:H1w6v9.8M0@lugnet.com... (...) tasks. (...) task (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
(...) This explains a problem I've been having. I've noticed this exact issue, but I wasn't sure if I was doing something wrong, or exactly what the problem was. I have a program that sends IR messages (for proximity) and after the program is (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Semaphore(s) locked when task killed.
 
(...) hmmm I wonder what other unix like OSs do in this situation? automatically unlocking doesn't seem particuarlly clean, what is to say that it is safe to unlock the mutexes just because the locking thread has been killed? Perhaps we can (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
 
  Semaphore(s) locked when task killed.
 
I have found that killing a task which is sending data via lnp will cause lnp to stop functioning. Turning the brick off then on again will get lnp working again. The issue is with the semaphore(s) used in the kernel tasks. Currently there is no (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
 
  Re: Small problem compiling w/gcc-3.2 and binutils-2.12.0 with patch.
 
John, Good Job, John! It seems that older version of gcc don't catch the problem. I applied the changes and it compiles fine for me; I updated CVS. // Joe "John Jorgensen" <jjorgens@2gn.com> wrote in message news:Pine.LNX.4.21.0...2gn.com... (...) (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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