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 / 3805
  compiling problmes 2
 
Hi everybody, as I mentioned in my first question I am trying to use BrickOS. But I am not using the Bricx Command Center or something special for the LEGO RCX to compile it, I am using the HEW (Renases tool for the H8/300L microcontroller which is (...) (20 years ago, 23-Sep-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
(...) Could the unresolved referenced be from the code you are adding to brickOS? From the looks of it, some of the unresoveds are probably defined in a header file (all caps is a hint). Maybe they were implied in the GCC compiler, but I doubt it. (...) (20 years ago, 25-Sep-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
Can't be that the unresolved references are from the code I want to add to BrickOS, because I also tried to compile just the BrickOS-files (without the code I want to add) and the same errors appeared. (...) I looked for some of those references and (...) (20 years ago, 27-Sep-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
(...) Some of the functions are inline functions, that are *defined* in the header files, e.g.cputc_hex is defined in include/conio.h. With gcc you need to compile with optimization on, so that it will inline these functions correctly. Another (...) (20 years ago, 27-Sep-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
Hi Rudolf, (...) No. Some _are_ defined in .h-files. And the register sets come via h8300.rcx to boot/brickOS.lds. Is it possible that your compiler chain treats leading underscores different. (...) That is _not_ your problem. Take care of the fact (...) (20 years ago, 28-Sep-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
(...) Hello Jochen, hello everybody, thank you very much. Both of your hints helped a lot. As it were 271 linker-errors before your help, there are just 40 left now. Maybe someone can help me and tell me where the other references are defined and (...) (20 years ago, 7-Oct-04, to lugnet.robotics.rcx.legos)
 
  Re: compiling problmes 2
 
(...) I had the same problem when going to newer binutils and gcc. Look at the patch brickos-gcc33.diff at (URL) first part of that patch changes the linker script slightly to avoid this error. (...) I think with the default linker-script the (...) (20 years ago, 7-Oct-04, to lugnet.robotics.rcx.legos)

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