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 / 2831
  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)
 
  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: 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: 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
 
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)

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