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: Posix management [HELP]


Matthieu.GIRARDIN@fr.thalesgroup.com writes:

> Hello everybody,
> 
> I've worked under ecos for one month. After having used ecos functions about
> mutex, thread [...] without any problem, I must use, now, the Posix
> compatibility layer. I wanna be able to manage message queues ...
> 
> So, I added the template and the package Posix with :
> 	- Build->Templates->Posix

So far so good.

> 	- Build->Packages->ISO C and POSIX infrastructure
> 	- Build->Packages->POSIX compatibility layer
>

What are you doing here? These should already be included by the
template. You should not have to do anything else.


> I configured the tools as follow :
> 	- ISO C and POSIX infrastructure
> 		§ POSIX message queues enabled
> 			* implementation header enabled with the value :
> <mqueue.h>

You should not be changing this. There is no implementation header,
the POSIX implementation uses the default definitions in the isoinfra
package.  This is most probably the cause of your problems.

> 			* max nb queues : 50
> 			* max nb prio : 65535
> 	- POSIX compatibility layer
> 		§ POSIX message queues enabled
> 			* nb queues : 50
> 			* validate queue descriptors enabled
> 			* allow empty disabled
> 
> My problem is that I can't compile ecos libraries any more. 
> You can see ECOS messages about this at the end  of this mail.

Try build without changing any of the config options. Just
configure with the POSIX template and build. Once that works (as it
should), then you can go in and change things like the maximum number
of queues. Resist the temptation to fiddle with anything else.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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