This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: UITRON build error
- To: "Ravi Kumar B S" <ravikbs at mindtree dot com>
- Subject: Re: [ECOS] UITRON build error
- From: Hugo Tyson <hmt at redhat dot com>
- Date: 27 Sep 2001 16:57:32 +0100
- Cc: <ecos-discuss at sources dot redhat dot com>
- References: <2330401A6FE03445ADA682F5EBB7502D02B181CA@mtv01ex01.mindtree.com>
- Reply-To: <ecos-discuss at sources dot redhat dot com>
"Ravi Kumar B S" <ravikbs@mindtree.com> writes:
> hi i am trying to build ecos with uitron support. i changed the number =
> of
> uitron tasks from 4 to 5 as shown below.=20
> # >
> # Number of tasks
> # The number of uITRON tasks present in the system.
> # Valid task object IDs will range from 1 to this value.
> #
> cdl_option CYGNUM_UITRON_TASKS {
> # Flavor: data
> user_value 5
> # value_source user
> # Default value: 4
> # Legal values: 1 to 65535
> };
>
> it is giving compilation error saying=20
>
> /u/ARM/new_ecos/packages/compat/uitron/current/src/uit_objs.cxx:176: no
> matching function for call to `Cyg_Thread::Cyg_Thread ()'
> /u/ARM/new_ecos/packages/arm-ecos-uitron/install/include/cyg/kernel/threa=
> d.hx
> x:294: candidates are: Cyg_Thread::Cyg_Thread(void (*)(unsigned int),
> unsigned int, unsigned int =3D 0, unsigned int =3D 0)
> /u/ARM/new_ecos/packages/arm-ecos-uitron/install/include/cyg/kernel/threa=
> d.hx
> x:303: Cyg_Thread::Cyg_Thread(unsigned int, void =
> (*)(unsigned
> int), unsigned int, char *, unsigned int =3D 0, unsigned int =3D 0)
> /u/ARM/new_ecos/packages/arm-ecos-uitron/install/include/cyg/kernel/threa=
> d.hx
> x:498: Cyg_Thread::Cyg_Thread(const Cyg_Thread &)
> make[1]: *** [src/uit_objs.o.d] Error 1
> make[1]: Leaving directory
> `/u/ARM/new_ecos/packages/arm-ecos-uitron/compat/uitron/current'
> make: *** [build] Error 2
>
> any idea what is the problem.
You must also modify the thread initializers - and provide a stack for the
additional task that you want.
See CYGDAT_UITRON_TASK_INITIALIZERS and possibly CYGDAT_UITRON_TASK_EXTERNS
depending on what you're doing.
- Huge