Error Reported During Compilation
Symptom
OS: CentOS 7.6.1810
When compiling the modified source code on the Kunpeng platform, the following information is displayed:
Figure 1 Error information
Solution
Add parameter -std=c99 to line 7 of the Makefile as prompted in the compilation command output.
1
|
7 CFLAGS=-W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -march=armv8-a -fsigned-char -std=c99 |
Parent topic: Troubleshooting