problems in building multi processor applications

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jan 20 16:32:50 UTC 2003



Francesco Poletti wrote:
> 
> Hy,
>    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:
> -/home/poletti/rtemsmulti/arm-rtems/arm_bare_bsp/lib/include/confdefs.h:357:18:
> 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:
> arm-rtems/arm_bare_bsp/lib/include/rtems/score/
> but I don't found the shm_driver.h.

mpci.h defines the interface between RTEMS and the BSP specific MP
communications
software layer.  

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!
> Francesco

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



More information about the users mailing list