This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Can I use the dynamic memory allocation on the class object? Thanks a lot.
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "QiangHuang" <jameshq at liverpool dot ac dot uk>
- Cc: "Schumacher, Gordon" <gordon_schumacher at maxtor dot com>,"Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: 29 Apr 2003 18:53:48 +0100
- Subject: Re: [ECOS] Can I use the dynamic memory allocation on the class object? Thanks a lot.
- References: <ONEOIJPPOKNBBKJKCGLCKEHKCAAA.jameshq@liv.ac.uk>
"QiangHuang" <jameshq at liverpool dot ac dot uk> writes:
> Thank you very much for your help.
> Maybe I was not doing in the right way. The problem is I can use new to
> create a class object when building the eCOS library. but when linking with
> my application I got the following error:
>
> warning: no memory region specified for section `.eh_frame'
> section .eh_frame [00092508 -> 00092d8f] overlaps section .text [00040040 ->
> 00093287].
>
Which platform are you using? and what version of eCos? I recently
checked in a lot of fixes for exactly this problem. Either you are
using an older version of eCos, or there was a bug in the change for
your platform. Does the infra package cxxsupp.cxx test program build
in your configuration?
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss