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 / 3449
3448  |  3450
Subject: 
multiple inheritance
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 23 Sep 2003 01:21:31 GMT
Viewed: 
2825 times
  
Hello,

Is multiple inheritance supported under legos-0.2.6 compiled with gcc-2.95.3 and binutils 2.10?
When I try to compile a class with the multiple inheritance I get the following linker error:

/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-ld -T /home/pezzotto/lego/legos-0.2.6/boot/legOS.lds -relax -L/home/pezzotto/lego/legos-0.2.6/lib main.o Thread.o  -lc -lmint -lfloat -lc++ -o main.ds1 -Ttext 0xb000
main.o(.text+0xf2):main.C: undefined reference to `___rtti_class'
main.o(.text+0xf2):main.C: undefined reference to `___rtti_class'
main.o(.text+0xf2):main.C: undefined reference to `___rtti_class'
make: *** [main.ds1] Error 1

Note: I'm trying to write a threading model, and I'm using multiple inheritance to get a simple common interface for a threading model



1 Message in This Thread:

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

Custom Search

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