Tool/software:
If an error stating PROCMGR_AID_KEYDATA undeclared when building the 10.1 PSDK QNX release, then please follow the steps after the example error to remediate the build errors.
Example of error:
${PSDK_RTOS}/psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c:257:67: error: 'PROCMGR_AID_KEYDATA' undeclared (first use in this function); did you mean 'PROCMGR_AID_MEM_ADD'? 257 | PROCMGR_AOP_ALLOW | PROCMGR_ADN_NONROOT | PROCMGR_AID_KEYDATA, | ^~~~~~~~~~~~~~~~~~~ | PROCMGR_AID_MEM_ADD
Steps to remediate the build errors (choose option A or B):
- Option A: downgrade the QNX Software Center package com.qnx.qnx800.target.microkernel.core to 2.0.2.00388T202406131303L or earlier
- Option B: remove all lines that make reference to PROCMGR_AID_KEYDATA
- Files/lines to remove:
- psdkqa/qnx/codec/vpu/OpenMAXIL/test/enc_performance/main.cpp:706:67
- psdkqa/qnx/codec/vpu/OpenMAXIL/test/enc/main.cpp:690:67
- psdkqa/qnx/codec/vpu/OpenMAXIL/test/dec/main.cpp:182:67
- psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c:257:67
- psdkqa/qnx/utils/ddr_bw/src/ddr_bw.c:550:67
- Files/lines to remove:
This procmgr ability was documented as generally not being required in SDP 7.1 but became undefined as of the microkernel package 2.0.3.02010T202412011711L