SMP build fails looking for omp.h

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Oct 20 08:53:25 UTC 2018


----- Am 19. Okt 2018 um 14:02 schrieb joel joel at rtems.org:

> On Fri, Oct 19, 2018, 1:34 AM Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
> 
>> ----- Am 18. Okt 2018 um 20:02 schrieb joel joel at rtems.org:
>>
>> > Hi
>> >
>> > Looks like there is a missing configuration check for omp.h:
>> >
>> >
>> >
>> ../../../../../../rtems/c/src/../../testsuites/smptests/smpopenmp01/init.c:34:10:
>> > fatal error: omp.h: No such file or directory
>> >   34 | #include <omp.h>
>> >      |          ^~~~~~~
>> > compilation terminated.
>>
>> On which target do you get this error? This header file is provided by GCC
>> (needs --enable-libgomp).
>>
> 
> It was arm which was surprising. I was building the zynq qemu bsp.
> 

How did you build the tool chain? You should find the header file here:

$(prefix)/lib/gcc/arm-rtems5/7.3.0/include/omp.h



More information about the devel mailing list