public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] UITRON build error
@ 2001-09-27  8:51 Ravi Kumar B S
  2001-09-27  8:57 ` Hugo Tyson
  0 siblings, 1 reply; 2+ messages in thread
From: Ravi Kumar B S @ 2001-09-27  8:51 UTC (permalink / raw)
  To: ecos-discuss

hi i am trying to build ecos with uitron support. i changed the number of
uitron tasks from 4 to 5 as shown below. 
# >
# 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 

/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/thread.hx
x:294: candidates are: Cyg_Thread::Cyg_Thread(void (*)(unsigned int),
unsigned int, unsigned int = 0, unsigned int = 0)
/u/ARM/new_ecos/packages/arm-ecos-uitron/install/include/cyg/kernel/thread.hx
x:303:                 Cyg_Thread::Cyg_Thread(unsigned int, void (*)(unsigned
int), unsigned int, char *, unsigned int = 0, unsigned int = 0)
/u/ARM/new_ecos/packages/arm-ecos-uitron/install/include/cyg/kernel/thread.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.

regards,

ravi kumar

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

* Re: [ECOS] UITRON build error
  2001-09-27  8:51 [ECOS] UITRON build error Ravi Kumar B S
@ 2001-09-27  8:57 ` Hugo Tyson
  0 siblings, 0 replies; 2+ messages in thread
From: Hugo Tyson @ 2001-09-27  8:57 UTC (permalink / raw)
  To: Ravi Kumar B S; +Cc: ecos-discuss

"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

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

end of thread, other threads:[~2001-09-27  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-27  8:51 [ECOS] UITRON build error Ravi Kumar B S
2001-09-27  8:57 ` Hugo Tyson

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).