During compile php 7.4 - make: *** [sapi/litespeed/lsapi_main.lo] Error 1

nikss

Active Member
#1
I cant compile php 7.4 due errors

Code:
In file included from /usr/local/lsws/phpbuild/php-7.4.0/sapi/litespeed/lsapi_main.c:70:0:
/usr/local/lsws/phpbuild/php-7.4.0/sapi/litespeed/lscriu.c:305:14: warning: ‘LSCRIU_Error_File_Name’ defined but not used [-Wunused-function]
 static char *LSCRIU_Error_File_Name(char *pchFile, int max_len)
              ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/lsws/phpbuild/php-7.4.0/sapi/litespeed/lscriu.c:88:12: warning: ‘s_criu_debug’ defined but not used [-Wunused-variable]
 static int s_criu_debug = 0;
            ^~~~~~~~~~~~
Makefile:559: recipe for target 'sapi/litespeed/lsapi_main.lo' failed
make: *** [sapi/litespeed/lsapi_main.lo] Error 1
**ERROR** Could not compile PHP
 
Top