What Do I Do When an Error Is Reported during GCC-based Compilation on an AI CPU Operator Project?

Symptom

An error is reported during GCC-based compilation on an AI CPU operator project. Information similar to the following is displayed:

Fault Analysis

The CANN built-in HCC does not contain functions related to the glibc component. To use these functions when building an AI CPU operator project, you need to manually install glibc (version 2.28) in source code mode.

Solution

For details, see "FAQ > Installing glibc" in the CANN Software Installation Guide.