build/aplibtool.exe --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -ITSRM/ -IU:/dev/php-7.4.28/TSRM/ -DPHP_ATOM_INC -IU:/DEV/php-7.4.28/include -IU:/DEV/php-7.4.28/main -IU:/dev/php-7.4.28 -IU:/DEV/php-7.4.28/ext/date/lib -IU:/dev/php-7.4.28/ext/date/lib -I/extras/include/libxml2 -I/extras/include -Iu:/extras/include -I/extras/include/libpng16 -I/extras/include/freetype2 -IU:/dev/php-7.4.28/ext/mbstring/libmbfl -IU:/DEV/php-7.4.28/ext/mbstring/libmbfl -IU:/dev/php-7.4.28/ext/mbstring/libmbfl/mbfl -IU:/DEV/php-7.4.28/ext/mbstring/libmbfl/mbfl -Iu:/pgsql/include -IU:/DEV/php-7.4.28/TSRM -IU:/DEV/php-7.4.28/Zend -IU:/dev/php-7.4.28/main -IU:/dev/php-7.4.28/Zend -IU:/dev/php-7.4.28/TSRM -IU:/DEV/php-7.4.28/ -pthread -I/usr/local/include -D__EMX__ -DEMX -DOS2 -D__ST_MT_ERRNO__ -O2 -g -march=pentium -mtune=pentium4 -static-libgcc -fvisibility=hidden -pthread -Wall -Wno-strict-aliasing -DZTS -DZEND_SIGNALS -c U:/dev/php-7.4.28/TSRM/TSRM.c -o TSRM/TSRM.lo U:/dev/php-7.4.28/TSRM/TSRM.c: In function 'tsrm_update_active_threads': U:/dev/php-7.4.28/TSRM/TSRM.c:311:14: error: 'HTTP_INSUFFICIENT_STORAGE' undeclared (first use in this function) 311 | err = HTTP_INSUFFICIENT_STORAGE; | ^~~~~~~~~~~~~~~~~~~~~~~~~ U:/dev/php-7.4.28/TSRM/TSRM.c:311:14: note: each undeclared identifier is reported only once for each function it appears in U:/dev/php-7.4.28/TSRM/TSRM.c: In function 'ts_allocate_id': U:/dev/php-7.4.28/TSRM/TSRM.c:359:13: error: 'OK' undeclared (first use in this function) 359 | if (err == OK) | ^~ U:/dev/php-7.4.28/TSRM/TSRM.c: In function 'allocate_new_resource': U:/dev/php-7.4.28/TSRM/TSRM.c:457:31: error: expected expression before '->' token 457 | if (*thread_resources_ptr)->storage[i] == NULL) | ^~ U:/dev/php-7.4.28/TSRM/TSRM.c:457:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 457 | if (*thread_resources_ptr)->storage[i] == NULL) | ^~ U:/dev/php-7.4.28/TSRM/TSRM.c:457:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 457 | if (*thread_resources_ptr)->storage[i] == NULL) | ^ U:/dev/php-7.4.28/TSRM/TSRM.c:457:51: error: expected statement before ')' token U:/dev/php-7.4.28/TSRM/TSRM.c:458:14: error: 'HTTP_INSUFFICIENT_STORAGE' undeclared (first use in this function) 458 | return HTTP_INSUFFICIENT_STORAGE; | ^~~~~~~~~~~~~~~~~~~~~~~~~ U:/dev/php-7.4.28/TSRM/TSRM.c: In function 'ts_allocate_id': U:/dev/php-7.4.28/TSRM/TSRM.c:363:1: warning: control reaches end of non-void function [-Wreturn-type] 363 | }/*}}}*/ | ^ gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -ITSRM/ -IU:/dev/php-7.4.28/TSRM/ -DPHP_ATOM_INC -IU:/DEV/php-7.4.28/include -IU:/DEV/php-7.4.28/main -IU:/dev/php-7.4.28 -IU:/DEV/php-7.4.28/ext/date/lib -IU:/dev/php-7.4.28/ext/date/lib -I/extras/include/libxml2 -I/extras/include -Iu:/extras/include -I/extras/include/libpng16 -I/extras/include/freetype2 -IU:/dev/php-7.4.28/ext/mbstring/libmbfl -IU:/DEV/php-7.4.28/ext/mbstring/libmbfl -IU:/dev/php-7.4.28/ext/mbstring/libmbfl/mbfl -IU:/DEV/php-7.4.28/ext/mbstring/libmbfl/mbfl -Iu:/pgsql/include -IU:/DEV/php-7.4.28/TSRM -IU:/DEV/php-7.4.28/Zend -IU:/dev/php-7.4.28/main -IU:/dev/php-7.4.28/Zend -IU:/dev/php-7.4.28/TSRM -IU:/DEV/php-7.4.28/ -pthread -I/usr/local/include -D__EMX__ -DEMX -DOS2 -D__ST_MT_ERRNO__ -O2 -g -march=pentium -mtune=pentium4 -static-libgcc -fvisibility=hidden -pthread -Wall -Wno-strict-aliasing -DZTS -DZEND_SIGNALS -c U:/dev/php-7.4.28/TSRM/TSRM.c -o TSRM/TSRM.obj -Zomf make: *** [TSRM/TSRM.lo] Error 1