Wind River Support Network

HomeDefectsLIN7-2721
Fixed

LIN7-2721 : Unable to build with OpenMP, spp or other internal gcc headers in an SDK

Created: Jan 16, 2015    Updated: Sep 8, 2018
Resolved Date: Jun 29, 2015
Found In Version: 7.0.0.1
Fix Version: 7.0.0.4,7.0.0.7
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain

Description

We're unable to build a sample application from a generated SDK that uses the SPP or OMP headers.

See Yocto Project defect 7141.

Steps to Reproduce

test.c:
#include <omp.h>
#include <stdio.h>

int main() {
   printf("Hello World!\n");

   return 0;
}

Compile from an SDK using:
(. environment-setup-core2-64-wrs-linux ; $CC -fopenmp -o test test.c)

This results in 'omp.h' can't be found.

Other Downloads


Live chat
Online