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 / *2559 (-100)
  Hmm... install not going so smooth
 
Hello, I decided to scrape my machine today and when I tried to reinstall legos I ran into a problem compling the cross compiler under cygwin. Here is a list of the packages I have installed: Cygwin Package Information Package Version ash 20020131-1 (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Freebsd 4.4 and legos
 
Ok i just started using freebsd and i was wondering if anyone could tell me what tools i need to install to make legos compile and run correctly. Thankx, Jason Hensler (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: More problems with floats
 
(...) It turns out to be the egcs 1.1.2 I compiled; the RPMs from sourceforge work fine. I'll try to find why my compiler was buggy... Thanks for your reply. Eric (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Camera and legOS
 
I wonder if anyone knows about the compability between legOS and the camera set named Vision command that are available for the Legorobot? Has anyone made any progress in trying to get it to work wíthin legOS? We are to guys at the University in (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Re: More problems with floats
 
(...) Eric, did you ever resolve this? If not, I could try to reproduce this... but I'd need two things: 1) the type of the return value of getVarVal 2) the type of the bool typedef Also, if you could run your cross compiler with the -v flag, that (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Converting a float to an integer
 
It looks like xdist and ydist are integers. You divide an integer by an integer, the answer is an integer. For example, if xdist=5 and ydist=10, you have 5/10, the answer is 0 (with a remainder of 5). So, if you do the multiply first, you will be (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Converting a float to an integer
 
I have built a plotter and want to draw a diagonal line of varying angles. It requires one motor to run slower then the other at a ratio based on the distance it has to travel compared to the other one. So I do something like this xspeed = (int) (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: egcs compiler - float problems?
 
(...) I have not tried to compile this, but one thing that looks suspicious is that you are using doubles. Doubles are not supported. The compiler I have (some old version of GCC) treats doubles and floats as the same type. The compiler you're using (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  egcs compiler - float problems?
 
Can someone using the egcs compiler suite test the following code? It seems it doesn't compile under egcs. int main(int argc, char *argv[]) { double foo = 1.0; return foo > 0.1 ? 0 : 1; } Compiles fine under gcc 3.0.3. Regards, Michael (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  More problems with floats
 
When I try to compile a program containing the following function: bool tr_guard_foo_loc2_t0() { return getVarVal(&var_foo_cl) >= 0.1; } I get this error: /tmp/ccyEbqnS.s: Assembler messages: /tmp/ccyEbqnS.s:237: Error: cannot create floating-point (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  Re: semaphores
 
Would it be possible for you to send the entire source? I would like to see how it interacts with the rest of the program. Thanks for your help. "kenneth johansen" <kennethj@stud.cs.uit.no> wrote in message news:3CDAC372.34D72C....uit.no... (...) (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) OK, I planned to test 0.2.6; this is the right moment to do it. (...) Do you know why? (I'm just curious) (...) Thank you very much. This was really important to me. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) Don't know. Just made a quick download from sourceforge. Didn't install, just looked through with mc. Seems that in the mint-lib, both cmp2-files are missing. And no printf in the c library path. Regards, Michael (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) How did *that* happen?!!?!? Just curious. Somebody should point a finger, just for yuks. -Kekoa (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: semaphores
 
a short example: #include <semaphore.h> // for semaphore opperations // global buffer, used to store incoming messages. // the buffer is checked by the application waiting for the message. struct inn_msg{ char *msg; sem_t lock; }; //create a (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  semaphores
 
Does anyone have any code that implements semaphores and shows where they might be useful? That is one place that the documentation seems a little weak. Thanks, Sam (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) Had to look myself to belive it. But you are right, cmpsi2 is in the 0.2.6 system, but not in the 0.2.5 system. (...) No, that are the wrong ones. You need the lib functions for the cross compiled code. libgcc.a is code that gcc needs on your (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) I don't find cmpsi2 in the sources of LegOS 0.2.5 (in lib/mint)! I found a _cmpsi2.o in libgcc.a (from egcs 1.1.2), but I really don't know how gcc (and ld) uses that library. The makefiles come from the LegOS tarball. According to the output, (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) cmpsi2 is part of the libmint.a library. Would you please post (or send me) your source code and your Makefile? Regards, Mike (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  ___cmpsi2
 
Using a multiplication between an int (in my case time_t) and a double number results in the following error: main.o(.text+0x72):main.c: undefined reference to `___cmpsi2' Can someone help me? I'm running egcs 1.1.2 and binutils 2.12. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
Ok, I have gotten myself confused again. 0-0.32mA represents a voltage dropbetween 0 - 3.2 volts. Therefore the voltage that the RCX "reads" on theA2D is between 5 - 1.8 volts (1023 - 368 RAW)? To get a reading of 0 (RAW)it seems as though you would (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Converting a float to an integer
 
(...) float f = 1.4; int i = (int)((i >= 0) ? i + 0.5 : i - 0.5); OR if (f >= 0) i = (int)(i + 0.5); else i = (int)(i - 0.5); This is assuming you want to round to the nearest integer. Just curious, where are you getting the ascii strings that you (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
 
  Converting a float to an integer
 
Hopefully this isnt a silly question. Does anyone know how to covert a float to an integer? It doesn't appear that the function atoi exists. Michael. (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
----- Original Message ----- From: "John Barnes" <barnes@sensors.com> Newsgroups: lugnet.robotics.rcx.legos Sent: Tuesday, May 07, 2002 2:23 PM Subject: Re: Powered Sensors (...) the (...) across (...) Ok... lets see if I understand this.... For (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
No, the RCX knows nothing about the diodes. That is why devices like the light sensor only send a current signal in the range 0 - 0.32mA back to the RCX. This current then creates a voltage drop across the 10k reference resistor with respect to the (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Powered Sensors
 
Hello all, I recently purchased "Extreme Mindstorms - An Advanced Guide to LEGO Mindstorms" and I must say it is one of the best books out there for the power user. I have a number of questions regarding powered sensors. First of all, when the RCX (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
(...) I'm not sure if that's a good idea. Of course, they can always be a compiler switch to turn them off if you don't want them. The thing is, though, that there are lots of tradeoffs between speed, memory use, and accuracy in this kind of (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
Ok, this brings up an interesting question... What is the best way to use LNP with windows? the version of WinLNP that I see is _ancient_ and requires VC++ to work.... so I see that there is a linux version, I was wondering it would be possible to (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin messed up?
 
Jason, There is a problem within the Makefile logic atleast with some windows OS. What OS are you trying it on? I submitted a bug to the legOS project on sourceforge ((URL) and submitted a suggestion for a fix here ((URL) is happening (atleast on my (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Next test version avail. 0.2.6.05 - have time?
 
We are looking for help testing our next very-early integration. We have revised the LNP support and have reworked the support for the LEGO Infrared Remote Control to create this 2nd test version. This version mimicks the stock firmware behavior. (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin messed up?
 
You can try a few things with the makefile.common in the util directory and change the tool prefix from cc to gcc. Later u might have another error related to ld at that point u'll have to put the extension .exe in front of ld in one of the (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  cygwin messed up?
 
i'm running the lates version of cygwin and i'm trying to follow the instructions at (URL) but, when i try to make depend i get some errors: $ make depend for i in util lib boot demo ; do c:/djgpp/bin/make.exe NODEPS=yes -C $i depend || exit 2 ; (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: tty problem
 
(...) try this: ../util/firmdl3 --tty=usb legOS.srec (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  tty problem
 
Hello, I have recently downloaded the legos-0.2.6 version and have built it under windows Cygwin. when I give the command being in the boot directory where legOS.srec is export RCXTTY=USB ../util/firmdl3 legOS.srec it says USB: No such file or (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: makefile?
 
Fredrik, You can check to see what Cygwin packages have been installed on your system by using the cygcheck command. Try cygcheck -c If the output is too large for your dos window you can export it to a file by using the following command cygcheck (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  RE: makefile?
 
You need "make" installed on your system. Run the cygwin setup.exe and install it. Good luck. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Fredrik Helin Sent: Saturday, May 04, 2002 6:48 AM (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  makefile?
 
Hi! The "make" command in Cygwin returns a: "command not found" after installing legOS 0.2.6 on a Windows 98 machine. I'm currently in the legos-0.2.6 catalogue and the Makefile, Makefile.common, Makefile.user, Makefile.kernel files are all there. (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: linux USB driver.
 
(...) Are you sure you got the usbcore module? I'm also not quite sure it will work with 2.4.9 . Jürgen (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: linux USB driver.
 
I've just upgraded to the kernel 2.4.9-31 and tried to compile this driver. I get the following errors: [root@kelcsts38b usb_lego]# make install /sbin/modprobe -r usb_lego cp usb_lego.o /lib/modules/2.4.9-3...rivers/usb /sbin/modprobe usb_lego (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_timer
 
(...) Yes. It is updated from an interrupt routine that fires every 1 ms (IIRC). However.... (...) wait_event is only accurate to 20ms or so, depending on what your other tasks do. So your timing is very accurate, but you're not timing what you (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Current Makefile logic fails for nonNT Windows OS
 
Taking a second look at this and noticing some past post about this issue with WinXP ((URL) a much cleaner code might look like the following # # WindowsNT/Cygnwin, test against several values: # ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Current Makefile logic fails for nonNT Windows OS
 
I am compiling under windows 98 using cygwin version 1.3.10. In Makefile.common (/legOS-0.2.6,/legOS....2.6/util) the logic to determine whether the OS is a windows system fails due to the fact that uname returns CYGWIN_98-4.10. I submitted a bug (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Accurate msleep and timeslicing - was Re: sys_timer
 
"Michael Obenland" <obenland@t-online.de> wrote in message news:GvJ5vD.7MC@lugnet.com... <snip> (...) switch. (...) I made some modifications to the tm_sleep_wakeup that allows high priority tasks to wake up at exactly the time specified for msleep (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_timer
 
(...) Yes. (...) That is right. (...) It does, actually. The timer itself counts the millisec. But if you do a wait_event() call, your running program gives up its time slice, the OS waits for the event and then continues your task with the next (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  sys_timer
 
I recently adopted legOS as my development environment and I have to say I tremendously impressed. Thanks to everyone who has worked so hard on it. It is really a first class, grade A product. Is sys_timer accurate to within 1 ms? unsigned long (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: installing legOS 0.2.6?
 
(...) I noticed this the other day. The link to 0.2.6 is broken (as is one other link in the document). Please accept my apologies as I missed it during my testing. I'll fix the document source and post the new version to the web. Meanwhile please (...) (22 years ago, 1-May-02, to lugnet.robotics.rcx.legos)
 
  installing legOS 0.2.6?
 
Hello! I have been following the instructions for installing legOS 0.2.6 according to: (URL) but failing to dowlnload the actual legOS file (legos-0.2.6.tar.gz .). Why is this so? (22 years ago, 1-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Want to help? Use LNP or LEGO IR Remote Control?
 
(...) Pretty cool / innovative idea! I also like the codesize reduction this would be. I'm also looking at the post by Ted Hess. His blend of the two patch solutions seems intrigueing. I'll look at that solution too. Either way, the final form we (...) (22 years ago, 30-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Lego IR Remote - What is max send rate?
 
Stephen - I've recently taken a couple of patch postings to legos.sourceforge.net by Ross Crawford and Zhengrong Zang and have come up with a hybrd solution (on 0.2.6) to implement the remote control. I am quite happy with the results. The original (...) (22 years ago, 29-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Want to help? Use LNP or LEGO IR Remote Control?
 
(...) Pressing a motor key continously gives a short run of the motor and then it stops. To let the motor run, one has to press the remote control motor key very fast. Why not run the motor with the appropriate key and if one wants to stop the (...) (22 years ago, 29-Apr-02, to lugnet.robotics.rcx.legos)
 
  Want to help? Use LNP or LEGO IR Remote Control?
 
We are looking for help testing a very-early integration! We have added all existing LNP patches and we have added (NEW) support for the LEGO Infrared Remote Control to the released 0.2.6 to create this new test version. If you are an avid LNP user (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Multiple source files
 
(this comes up because I'm finally trying to incorporate these changes into the next release of legOS... -Stephen) (...) This part didn't work for me! The dependency only rule didn't work. I'm running on Debian (GNU make 3.79.1, as shown by 'make (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Multi Source Programs
 
(...) Frank, This question has come up a number of times. I spent some time on this answer so I'd understand the current state of this problem. Part of the answer is found in an earlier post from Pat Welch: (URL) Some changes in our makefiles have (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Multi Source Programs
 
I am developing some code and would like to compile multiple sources in one program. I cannot figure out how to do this. All the make targets seem to only allow one source file. What are my options? Can I compile my source as a library? If so how? (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Lego IR Remote - What is max send rate?
 
(...) I am not exactly sure, but you might consider using a vector in the robot so if a key is missed it continue on the same vector. In order to accomplish this you would need to have messages for keypresses and keyreleases. So if the robot does (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Lego IR Remote - What is max send rate?
 
I'm working on the motor key handler for legOS support of the IR remote. I'm looking at service rates of keypresses at the remote. In studying how The Mindstorms OS responds to the remote I noticed that holding the key down (for motor keys) kept the (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: How to orientate a robot?
 
Fredrik, I notice you are planning on using MATLAB/Simulink for simulating transition diagrams and testing your design. Did you know that if you have Real-Time Workshop you can generate auto-code for the MindStorm it self without having to recode or (...) (22 years ago, 26-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Help request : LegOS 2.5, demo/c++.cpp make failure
 
(...) Thanks for that info - I was thinking *I* must have done something stupid ! (...) Good point ! I hadn't yet considered the overhead aspect. Thanks for the help ! jl (22 years ago, 24-Apr-02, to lugnet.robotics.rcx.legos)
 
  How to orientate a robot?
 
Hello! I just wanted to to tell about a project that we are working at. We are two students and our instructor at the university in Gavle, Sweden. You can find more information about the project at: (URL) expected result for this work is to show how (...) (22 years ago, 25-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: constructing a new network protocol for LegOS
 
I'm a teaching assistant for a course at brown university that uses legOS and the RCX extensively. I've added quite a bit to legOS (0.2.5) to suit our course needs, but the rest is all still there. I've written up some documentation and an API for (...) (22 years ago, 25-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: install on Windows ME?
 
Fredrik, (...) Please install following the instructions (INSTALL-cygwin) which you cite and let us know how you fare. I believe it should work. If it does work let us know (reply to this message) and I'll add WinME to the list of supported (...) (22 years ago, 25-Apr-02, to lugnet.robotics.rcx.legos)
 
  install on Windows ME?
 
Hello. I wonder if it's possible to install legOS 0.2.6 according to the new docs at: (URL) on Windows ME? If not I wonder which version would be ok to install? (22 years ago, 24-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: constructing a new network protocol for LegOS
 
heh.. wow.. seems theres alot of work going on on the LNP front these days. i too am working on a TCP like addition to the LNP's UDP protocol. This is nothing too fancy, but does add a sliding window feature which will make the connection between (...) (22 years ago, 24-Apr-02, to lugnet.robotics.rcx.legos)
 
  constructing a new network protocol for LegOS
 
Hi! We're a group from Aalborg University who are about to design and implement a new network protocol for LegOS. The protocol should be able to communicate via cables from the I/O ports and also via the IR port. It should be possible to address (...) (22 years ago, 24-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Help request : LegOS 2.5, demo/c++.cpp make failure
 
(...) Yes, that ist normal. :) With gcc 3.0.3, you get these errors with the c++ demos. I haven't fiddled with it to get rid of those. But the legOS system itself builds fine, even smaller then with the older compiler version. You can do two things: (...) (22 years ago, 23-Apr-02, to lugnet.robotics.rcx.legos)
 
  Help request : LegOS 2.5, demo/c++.cpp make failure
 
I'm trying to install legOS 2.5 for the first time and I'm running into problems. I'm sure it's probably something simple (I hope), but I've been struggling with it for the last two weeks, I've searched on every source I can find, and have simply (...) (22 years ago, 29-Mar-02, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.6 - released!
 
I wanted to express my thanks to the newly active LegOS development team for a great work releasing 0.2.6. I'm sure your efforts are much appreciated by all LegOS users! Looking forward for future releases! -M- (...) (22 years ago, 22-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.6 - released!
 
(...) Hey, thanks Stephen, for all your work! Are you gonna do a binary only package for this version, or wait till 0.2.7? And has a name been decided yet for 0.2.7? Thanks again! And I'll be testing Zhengrong's remote control patch next week. (...) (22 years ago, 21-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
(...) Excellent! (...) OSTYPE=cygwin should no longer be needed with latest legOS. Max. (22 years ago, 20-Apr-02, to lugnet.robotics.rcx.legos)
 
  legOS 0.2.6 - released!
 
The legOS team has released this interim version of legOS. A hearty thankyou goes to those who helped us test and suggest improvements for this release! We are (after a short rest ;-) moving on to work on our next significant legOS release: Remote (...) (22 years ago, 20-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Joystick application for LegOS
 
You can still switch back and forth between legOS and NQC if you find the joystick control helpful. Another suggestion is to write a legOS program that runs all axis at intervals...if you just need it for testing. A final suggestion is to use the (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Makefile patch
 
I finally have everything working, here's what I did: Installed binutils and gcc with Max Bowsher's script. Extacted the /legOS directory CD to /legOS and 'make OSTYPE=cygwin' Export PATH=$PATH:/legOS/util Export PATH=$PATH:/h8x/bin Export (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Joystick application for LegOS
 
Hi all, I've been toying with the idea of switching from NQC to LegOS, but one thing that is keeping me from doing so is that I have not seen a remote control from the PC application similar to that is included with the NQC IDE's on windows. I find (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: CYGWIN & legOS 0.2.5.3
 
"Max Bowsher" <maxb@ukf.net> wrote in message news:015701c1e790$f6...ibm.com... (...) folks or (...) on (...) Max, I received errors at various places with various versions (when compiling gcc and once with binutils). Most often, the build would (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: CYGWIN & legOS 0.2.5.3
 
Stephen, <snip> (...) Well, the only thing that it is complaining about (that I had to remove) is the use of const void func_decl(...) Really, I want to know what the difference is between: const void foo(void) --- and --- void foo(void) Does the (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: CYGWIN & legOS 0.2.5.3
 
(...) What compile errors? Max. (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
(...) What makes you think it is incomplete. I have used that script to build a working cross-compiler for myself. (...) Well, you will need /h8x/bin in your path. Please post all errors you get using the cross tools you have built (not the (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: CYGWIN & legOS 0.2.5.3
 
(...) Am I understanding your diff? This version does not have the "hitachi" segment in the path? (...) And if I'm understanding this, this version of the tool chain does not support 'const'? If this is true, I'm not a fan of removing const from our (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  CYGWIN & legOS 0.2.5.3
 
I have verified that the following configuration works (but not without some minor modifications). I am hoping to submit and include the modifications in a future release of legOS (maybe 0.2.7). Apparently, the GNU Toolchain available from the (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Release candidate legos-0.2.5.2 avail for testing
 
(...) Well... see... now you boxed me in. ;-) of course you are correct. I was trying to give the benefit of the doubt to our author or to the cygwin developers. I really didn't think the version number should be in the path, but it was there, so I (...) (22 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Makefile patch
 
Here's the latest on this end: I have some kind of incomplete cross compiler that I build using Max Bowsher's script.... I unpacked the legOS directory did 'make OSTYPE=cygwin' And now I can download helloworld (which is compiled for some reason) (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Final prep. for 0.2.6 release
 
(...) I've modified my old patch "LNP checksum optimizations" so it can be applied against version 0.2.5.2, as Stephen asked me to. I've noticed that an older LNP patch -- see (URL) -- has been partly lost. That patch fixed some race conditions in (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
Kingsley, I did encounter this error, but didn't specifically list the error in my description. You will need to: (...) *** this is the specific fix for "No rule to make target" (...) *** I included the following steps in case you run into these (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Makefile patch
 
I just tried the 2000r1_i686-cygwin32...00-hms.zip and now I get "make: *** No rule to make target I think during my tinkering I'm after deleting some necessary makefile or something, if there's anyone who can pinpoint what I'm missing it would be (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Makefile patch
 
I used binutils-2.12 and gcc-2.95.3 and Max Bowsher's build-h8x script. I got what I thought was a successful "ALL DONE" message, but I still can not make new .lx files for the RCX. Are there additional directories I need to add to my path...or (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
Well, after a fairly frustrating couple of days, I was finally able to build legOS-0.2.5 yesterday evening. I will get to the details in a minute. The whole experience made me question the stability of Cygwin/GCC. Basically, I tried at least 3 (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Release candidate legos-0.2.5.2 avail for testing
 
(...) No it doesn't! Cygwin stores some info in the registry. Besides, why would you want multiple cygwin versions? Max. (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
(...) Ooops. Forgot to remove that before I sent it to you. Delete that line. (...) Well, I wrote the script, so I guess it makes sense to me. (...) True... BUT: You are using the cygwin versions of binutils and gcc. I don't know why, and don't have (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Release candidate legos-0.2.5.2 avail for testing
 
(...) My recent patch should fix this. If you have the time and inclination, please test it. Max. Patch included again for convenience's sake: ### BEGIN PATCH ### diff -mru cvs-legOS/Makefile.common work-legOS/Makefile.common --- (...) (22 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Release candidate legos-0.2.5.2 avail for testing
 
My test results as first time cygwin/legos user on Windows sytem. Environment: Windows XP Version 5.1.2600 Serial IR tower on COM2: Following INSTALL-cygwin.html: Cygwin installed from www.cygwin.com using setup.exe and internet install as shown in (...) (22 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Makefile patch
 
I can get binutils done, but in gcc make ALL_TARGET_MODULES="" and make INSTALL_TARGET_MODULES="" install do not work...they come up with errors. I'm using the most recent version of cygwin. As for the script, all I get is Building h8x tools from (...) (22 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Release candidate legos-0.2.5.2 avail for testing
 
Dear legOS people, i am using cygwin-1.3.10-1 ( cygcheck -c) and h8300-hms-gcc 3.0.3 Here are some notes on legos-0.2.5.2 . I think first point must be fixed, other points are suggestions kernel/lnp.c doesnt compile because of missing "volatile" (...) (22 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Problems installing in Win98
 
(...) This problem goes away with the latest version of Cygwin. Max. (22 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Makefile patch
 
Well problem 1, you need configure, not config. You may be interested in the attached script, which when invoked with the paths to unpacked binutils and gcc source directories, automates the process. Something like: ./build-h8x binutils-2.12 (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Final prep. for 0.2.6 release
 
(...) The makefiles do still not detect cygwin properly in all circumstances. This patch should fix this. It is against current CVS. ### BEGIN PATCH ### diff -mru cvs-legOS/Makefile.common work-legOS/Makefile.common --- cvs-legOS/Makefile.common Thu (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin
 
I'm still following the instructions from (URL) far I've got legOS compiled and working (I can transfer the kernel and previously compiled programs to the rcx) And I've got binutils installed...i think, no error messages at least. I can not get gcc (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: cgywin
 
Another possibility might be modules, I was missing mawk, bison, and byacc. Any other modules that I might need that aren't installed by default? thanks -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: cgywin
 
I can get the makefiles made for the cross compiller. ../binutils-version/configure --target=h8300-hms --disable-nls --prefix=/lego-ms as per Max Bowsher's instructions at (URL) when I do "make" I get lots of errors Then after "make install" I get (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: cgywin
 
I have been following the instructions at (URL) have experienced the same issues as you Kingsley. At the end of the binutils/gcc build, I noticed the following error(s): <snip>/libiberty/cho...temp.c:29: stdio.h: No such file or directory (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
 
  third party sensor patches submited
 
I've submited the patches for the swmux and dirpd sensors sold at www.techo-stuff.com. Please send me any comments you have on them as they are to be considered for inclusion in 0.2.7. You can find them in the patches section of legOS project at (...) (22 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)


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

Redisplay Messages:  All | Compact

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