| | 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)
| |