C++ exceptions wasRe: Problem compiling C++ package

Joel Sherrill joel.sherrill at OARcorp.com
Fri May 26 17:49:15 UTC 2000


Rosimildo da Silva wrote:
> 
> Alexey wrote:
> >
> > ----- Original Message -----
> > From: Rosimildo daSilva <rdasilva at connecttel.com>
> > To: Alexey <alexey at vocord.com>; <rtems-users at oarcorp.com>
> > Sent: Thursday, May 25, 2000 9:59 PM
> > Subject: Re: Problem compiling C++ package
> >
> > > From: Alexey <alexey at vocord.com>
> > > To: rtems-users at oarcorp.com <rtems-users at oarcorp.com>
> > > Date: Thursday, May 25, 2000 10:33 AM
> > > Subject: Re: Problem compiling C++ package
> > >
> > >
> > > >> C++ folks... I have made a couple of suggestions to
> > > >> Alexey on this but I thought you folks might know more. :)
> > > >>
> > > >> He is porting a VERY interesting add-on to RTEMS.  If
> > > >> he wants to tip his hand with a URL, then I will give
> > > >> him that privilege. :)
> > > >>
> > > >I'm trying to port openh323 (www.openh323.org ) to RTEMS
> > > >I build it with a lots of stub and now trying to build somthing like
> > "hello
> > > >h323"
> > > >but without success up till now.
> > > >As soon as I try call somthing from librtemsh323 (it's openh323 by
> > itself)
> > > I
> > > >recieve somthing like that:
> > >
> > > Alexey,
> > >
> > > This seems to be a very good add-on to RTEMS. You need to define the
> > > confuguration for the network. It'll be better if you start with the
> > > netdemos
> > > programs to get familiar with the details. You would have to change some
> > > parameters to match your environment ( IP, GateWay, etc ).
> > >
> > > If you have trouble with that, I can send my network configuration files.
> > > They're have been tested for PC386, but that should not matter.
> > >
> > > Rosimildo.
> > >
> > >
> > Thank you for interest, but it's only my distraction.
> > As soon as I add my network configuration it linked immediately.
> > But there are some problems any way..
> > As far as I remember a time ago we talk about C++ exceptions.
> > Unfortunatly I did't have enough time to "dig" with them, but in rtems-4.5.0
> > there are still not working for me.Well, cdtest gives me
> > *** END OF CONSTRUCTOR/DESTRUCTOR TEST ***
> > and hangs.
> 
> Well, it looks like C++ exceptions are not working for you.
> Try to increase the size of the stack of the init task.
> If that does not help, comment out the exception code
> and check if the test completes ok. If it does, then
> you isolated a problem to C++ exceptions.

Alexey is on a mips target.  This is one configuration in
which the gcc configuration has not been looked at yet
for C++ support.

Rosimildo/Charles G, could you give Alexey an idea of what
to check for.

> > And one more question about network:
> > Do you use loopback interface?
> 
> I have not use it myself, but I guess recent
> network demos, has examples on how to use it.
> 
> Rosimildo.


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list