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: undefined reference to `operator new(unsigned)'


Calvin Du wrote:
Hi Macro,

I have a similar problem you had before while
compiling
ecos(v1.3.1) by using gcc 3.2.1:
Don't use 1.3.1, use anoncvs.

..../packages/language/c/libc/current/src/clibincl/stream.inl:260:
undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status

As you commented in the attached e-mail, "Applying the
few fixes" will fix the problem. I searched the
mailing
list archives, but it was hard to find. Could you tell
me where can I find it or how to fix it?
If you're using gcc 3.2.1, you'll need to build gcc 3.2.1 with newlib and libstdc++ included. Search the list archives (see below for link).

Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


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