Hi, Thanks Joel and Gedare. I found it a bit tricky as I had to add epiphany to (hidden) aclocal/enable-smp.m4 files at c/src, cpukit and the root directory. It now builds and compiles fine, and actually I can send some SMP messages to RTEMS on another core, but the current status of SMP/epiphany port is in its very early stages, and need more work.
Regards, Hesham On Fri, Dec 5, 2014 at 10:31 PM, Joel Sherrill <joel.sherr...@oarcorp.com> wrote: > > > On December 5, 2014 2:40:59 PM CST, Hesham Moustafa > <heshamelmat...@gmail.com> wrote: >>On Fri, Dec 5, 2014 at 8:36 PM, Gedare Bloom <ged...@rtems.org> wrote: >>> Look for where the undefined functions exist and see what guards in >>> the build system or the source code itself might be precluding them >>> from your build. >>> >>Most of SMP files are guarded with HAS_SMP and RTEMS_SMP. I always run >>boostrap -p and bootstrap after every change and configure/build >>again. >>> Make sure you re-bootstrap and re-configure a clean build, as old >>> files might cause problems. > > Reference the SPARC leon3 bsp and keep good notes. They can be vetted against > documentation or become it. > > The SMP wiki page may have hints as well. > > >>> -Gedare >>> >>> On Fri, Dec 5, 2014 at 3:09 PM, Hesham Moustafa >>> <heshamelmat...@gmail.com> wrote: >>>> It seems like adding an entry for epiphany at aclocal/enable-smp.m4 >>is >>>> not enough, I still get the same error, any hints? >>>> >>>> On Fri, Dec 5, 2014 at 6:03 PM, Hesham Moustafa >>>> <heshamelmat...@gmail.com> wrote: >>>>> I had to add epiphany to the list RTEMS CPUs that support SMP at >>>>> aclocal/enable-smp.m4 >>>>> >>>>> On Fri, Dec 5, 2014 at 5:06 PM, Hesham Moustafa >>>>> <heshamelmat...@gmail.com> wrote: >>>>>> Hi, >>>>>> >>>>>> Should I add anything other than --enable-smp at configuration >>line >>>>>> and RTEMS_CHECK_SMP >>>>>> AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) >>>>>> to bsp configure.ac file to make the building system collects SMP >>>>>> files (e.g, smpimpl.h). I always get undefined reference to some >>SMP >>>>>> functions like _SMP_Send_message although I am including >>>>>> <rtems/score/smpimpl.h> >>>>>> >>>>>> Thanks, >>>>>> Hesham >>>> _______________________________________________ >>>> devel mailing list >>>> devel@rtems.org >>>> http://lists.rtems.org/mailman/listinfo/devel >>_______________________________________________ >>devel mailing list >>devel@rtems.org >>http://lists.rtems.org/mailman/listinfo/devel > > --joel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel