This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can I use the dynamic memory allocation on the class object? Thanks a lot.


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]