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 / 1021
1020  |  1022
Subject: 
Re: make error in Linux build for LegOS 0.2.4
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 2 May 2000 11:53:25 GMT
Reply-To: 
SJM@JUDGEMENT.spamlessCOM
Viewed: 
1455 times
  
Paolo Masetti wrote:

Have you tried using:

$ make clean
$ make realclean
$ make depend

I suspect that you miss .depend files (but I'm not sure).

I tried that already. I since tried to interpret the output of "make -d" and think I found it.

The problem is in the definition of LEGOS_ROOT. I am in /root/legos_new/legOS.
In Makefile.common it is calculated with (pwd | sed -e "s/legOS.*/legOS/i") which ends up
stripping the /legos_new/.   The .* matched more than was intended. Taking it out doesn't
help because it gives /root/legOS_new/legOS which isn't right eithor. Does sed support
\\() constructs in its regular expressions? I think the match should be something like:

s/\\(.*\\)legOS/&1legOS/i

(after getting the escapes right) since the .* is greedy. I guess I'lltry this evening since
I'm out of time.

I redownloaded the code in /root/junk/legOS and the above problem goes away.
I knew this was familiar.  In 0.2.3 I forgot  to (didn't know to?) change the then
hard assignment of LEGOS_ROOT and got the same error.

Unfortunately a new problem appears in the demo directory compiling c++.cpp. The
problem is that I don't have  <h8 prefix>g++ in my compiler distribution. I must have an
old distribution or something.  Frankly I don't even remember where I got the cross tools.
Can anyone help me on this?

When I delete c++.cpp  from PROGRAMS everything else builds.  I ran out of time before
downloading. Another task for this evening.

Question: Do your patches include Ben Jackson's rotation sensor fix?



Message has 2 Replies:
  Re: make error in Linux build for LegOS 0.2.4
 
(...) /root/legos_new/legOS. (...) "s/legOS.*/legOS/i") which ends up (...) it out doesn't (...) sed support (...) something like: (...) I've modified in: export LEGOS_ROOT=$(shell pwd | sed -e "s/\\(.*\\)LegOS.*/\1legOS/i")/ that should works. (...) (25 years ago, 2-May-00, to lugnet.robotics.rcx.legos)
  Re: make error in Linux build for LegOS 0.2.4
 
Steve morris <smorris@nexen.com> wrote in message news:390EC1B5.416273...xen.com... (...) c++.cpp. The (...) I must have an (...) the cross tools. (...) Try changing the references from <h8...>g++ to <h8...>gpp. Rossz (25 years ago, 4-May-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: make error in Linux build for LegOS 0.2.4
 
"Steve morris" <smorris@nexen.com> ha scritto nel messaggio news:390E39A3.D49806...xen.com... (...) Have you tried using: $ make clean $ make realclean $ make depend I suspect that you miss .depend files (but I'm not sure). Bye, Paolo. --- Anyone (...) (25 years ago, 2-May-00, to lugnet.robotics.rcx.legos)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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