Troubleshooting
Problem 1: An Error Is Reported During LASTZ Compilation
Symptom
An error is reported during LASTZ compilation. The error information is similar to "lastz.c:450:9: error: variable 'freeTargetRev' set but not used [-Werror=unused-but-set-variable]".
Possible Cause
During GCC compilation, if the -Werror parameter is configured in the Makefile file, all warnings are processed as errors.
Procedure
Delete the -Werror parameter from the Makefile file. For details, see 5.
Parent topic: LASTZ 1.04.03 Porting Guide (CentOS 7.6)