[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems in building multi processor applications
- Date: Mon, 20 Jan 2003 17:52:24 +0100
- From: fpoletti at libero.it (Francesco Poletti)
- Subject: Re: problems in building multi processor applications
sorry but probably I don't explain my problem very well.
I have looked in the source code and, as I expected, the only shm_driver.h file
which I found was in the c/src/lib/libbsp/shmdr directory.
In that file there are the structure of the shared memory MPCI, in my board
there is shmsupp but I don't written the shm_driver.h file...
If I put the shm_driver.h and the mpci.h file in the install directory I can
build the appliclation but the arm-rtems-gcc command use the no-mp.rel file:
may be a problems of the Makefile?
Francesco Poletti wrote:
> I had succesfully build rtems for my multi arm simulator, then I run the
> mptests routine and all works.
> Now I want to build a sample application but I received this error:
> mpci.h: No such file or directory
> that happened when I hadded to the file test.c:
> #define CONFIGURE_MP_APPLICATION
> #define NODE_NUMBER 1
> I have looked into the build routines and I found mpci.h in the directory:
> but I don't found the shm_driver.h.
mpci.h defines the interface between RTEMS and the BSP specific MP
shm_driver.h is the .h file for a specific MPCI layer. If your BSP does
not have "shmsupp" then it isn't installed. So arm_bare_bsp does not
have shared memory support. See a BSP that does (mvme147 or mvme136).
> Another strange things was that I found in the
> rtemsmulti/arm-rtems/arm_bare_bsp/lib directory the no-mp.rel file.
> I don't know the scope of that file but I found the name really "strange"...
Just because RTEMS is configured to support multiprocessing doesn't
mean you have to use it. That file means that the MP manager is
still not required by every application. MP apps should not link
with it though.
> Thanks to anyone which help me!
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985