RTEMS SMP configuration

Hesham Moustafa heshamelmatary at gmail.com
Fri Dec 5 20:40:59 UTC 2014


On Fri, Dec 5, 2014 at 8:36 PM, Gedare Bloom <gedare at 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.
>
> -Gedare
>
> On Fri, Dec 5, 2014 at 3:09 PM, Hesham Moustafa
> <heshamelmatary at 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
>> <heshamelmatary at 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
>>> <heshamelmatary at 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 at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list