Wind River Support Network

HomeDefectsCGP9-228
Fixed

CGP9-228 : mdadm can NOT be compiled with corosync 1.x

Created: Mar 7, 2017    Updated: Feb 11, 2019
Resolved Date: Apr 12, 2018
Found In Version: unknown
Fix Version: 9.0.0.5
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

mdadm can NOT be compiled with corosync 1.x. It requires header file corosync/cmap.h which is provided by corosync 2.x.

Steps to reproduce:
1) setup.sh --machines intel-x86-64 --distro wrlinux-cgl --dl-layers --layers wr-cgl --kernel cgl --template feature/openais 
2) . ./environment-setup-x86_64-wrlinuxsdk-linux 
3) . ./oe-init-build-env build 
4) bitbake corosync 
5) bitbake mdadm 


Error message:
| In file included from mdadm.c:28:0: 
| mdadm.h:59:27: fatal error: corosync/cmap.h: No such file or directory 
| #include <corosync/cmap.h> 
| ^ 
| compilation terminated. 
| make: *** [<builtin>: mdadm.o] Error 1 
| make: *** Waiting for unfinished jobs.... 

Steps to Reproduce

1) setup.sh --machines intel-x86-64 --distro wrlinux-cgl --dl-layers --layers wr-cgl --kernel cgl --template feature/openais
2) . ./environment-setup-x86_64-wrlinuxsdk-linux
3) . ./oe-init-build-env build
4) bitbake corosync
5) bitbake mdadm

Live chat
Online