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: problems compiling ecos with posix template


> sorry, i skipped telling you about a step i forgot.
> originally, i got:
> 
>   In file included from
>   /.../packages/compat/posix/current/src/mqueue.cxx:73:
>   /tools/H-i686-pc-linux-gnu/lib/gcc-lib/i386-elf/3.0.3/include/new.h:33:15:
>   new: No such file or directory
>   In file included from
>   /.../packages/compat/posix/current/src/mqueue.cxx:73:
>   /tools/H-i686-pc-linux-gnu/lib/gcc-lib/i386-elf/3.0.3/include/new.h:35:
>   `new_handler'
>      not declared
>   /tools/H-i686-pc-linux-gnu/lib/gcc-lib/i386-elf/3.0.3/include/new.h:36:
>   `set_new_handler'
>      not declared
> 
> so i copied one over from somewhere which seemed
> appropriate.

!!!!

You should find out why it was missing in the first place!

When you compiled gcc, did you compile a C compiler or a C++ compiler?
This file should be inside the gcc include directory.

     Andrew

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