public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Asserts
@ 2000-06-15  1:34 Boris V. Guzhov
  2000-06-15  2:02 ` Jesper Skov
  0 siblings, 1 reply; 2+ messages in thread
From: Boris V. Guzhov @ 2000-06-15  1:34 UTC (permalink / raw)
  To: Ecos discuss

Hi All!

I need to use eCos asserts.  But I have some problems with
ecos target library compiling.

My host - Linux Redhat 6.0, my target - linux synthetic

I did following:

1. ecosconfig new linux
2. ecosconfig check
3. ecosconfig tree
4. In ecos.scc file I have enabled CYGPKG_INFRA_DEBUG option.
5. make
<skipped>
make -r -C kernel/v1_3_1 build
make[1]: Entering directory `/home/borg/work/linux-synth/kernel/v1_3_1'
i686-pc-linux-gnu-gcc -c  -I/home/borg/work/linux-synth/install/include -I/u
sr/local/src/eCos/ecos/packages/kernel/v1_3_1 -I/usr/local/src/eCos/ecos/pac
kages/kernel/v1_3_1/src -I/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/te
sts -I. -I/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/src/mem/ -Wall -Wp
ointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O
2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc 
-finit-priority -Wp,-MD,src/mem/memfixed.tmp -o src/mem/kernel_memfixed.o
/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/src/mem/memfixed.cxx
In file included from
/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/src/mem/memfixed.cxx:61:
/home/borg/work/linux-synth/install/include/cyg/kernel/mempolt2.inl:401:
prototype for `cyg_bool Cyg_Mempolt2<T>::check_this(cyg_assert_class_zeal)
const' does not match any in class `Cyg_Mempolt2<T>'
/home/borg/work/linux-synth/install/include/cyg/kernel/mempolt2.hxx:75:
candidate is: bool Cyg_Mempolt2<T>::check_this(cyg_assert_class_zeal) const
/home/borg/work/linux-synth/install/include/cyg/kernel/mempolt2.inl: In
method `cyg_bool Cyg_Mempolt2<T>::check_this(cyg_assert_class_zeal) const':
/home/borg/work/linux-synth/install/include/cyg/kernel/mempolt2.inl:401:
template definition of non-template `cyg_bool
Cyg_Mempolt2<T>::check_this(cyg_assert_class_zeal) const'
/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/src/mem/memfixed.cxx: At top
level:
/usr/local/src/eCos/ecos/packages/kernel/v1_3_1/src/mem/memfixed.cxx:72: new
declaration `cyg_bool Cyg_Mempool_Fixed::check_this(cyg_assert_class_zeal)
const'
/home/borg/work/linux-synth/install/include/cyg/kernel/memfixed.hxx:72:
ambiguates old declaration `bool
Cyg_Mempool_Fixed::check_this(cyg_assert_class_zeal) const'
make[1]: *** [src/mem/memfixed.o.d] Error 1
make[1]: Leaving directory `/home/borg/work/linux-synth/kernel/v1_3_1'
make: *** [build] Error 2

Why there are compiling errors?

Thanks in advance.

--
Boris Guzhov



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Asserts
  2000-06-15  1:34 [ECOS] Asserts Boris V. Guzhov
@ 2000-06-15  2:02 ` Jesper Skov
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Skov @ 2000-06-15  2:02 UTC (permalink / raw)
  To: Boris V. Guzhov; +Cc: Ecos discuss

>>>>> "Boris" == Boris V Guzhov <borg@int.spb.ru> writes:

Boris> Hi All!  I need to use eCos asserts.  But I have some problems
Boris> with ecos target library compiling.

Boris> My host - Linux Redhat 6.0, my target - linux synthetic

[snip]

Boris> Why there are compiling errors?

There was some conflicts in the definition of boolean types. Try
getting the latest CVS sources - the problem should be fixed there.

Jesper

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-15  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15  1:34 [ECOS] Asserts Boris V. Guzhov
2000-06-15  2:02 ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).