creating libtool appending configuration tag "CXX" to libtool configure: patching config.h.in configure: creating ./config.status config.status: creating config.h Trying to make htscanner2-1.0.1-enhanced PHP extension... /bin/sh /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/libtool --mode=compile cc -I. -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/include -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/main -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced -I/usr/local/php80/include/php -I/usr/local/php80/include/php/main -I/usr/local/php80/include/php/TSRM -I/usr/local/php80/include/php/Zend -I/usr/local/php80/include/php/ext -I/usr/local/php80/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c -o htscanner.lo mkdir .libs cc -I. -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/include -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/main -I/usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced -I/usr/local/php80/include/php -I/usr/local/php80/include/php/main -I/usr/local/php80/include/php/TSRM -I/usr/local/php80/include/php/Zend -I/usr/local/php80/include/php/ext -I/usr/local/php80/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c -fPIC -DPIC -o .libs/htscanner.o /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:44:1: warning: parameter names (without types) in function declaration [enabled by default] int (*php_cgi_sapi_activate)(TSRMLS_D); ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:89:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int value_hnd(char *name, char *value, int flag, int mode, HashTable *ini_entries TSRMLS_DC) ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:184:66: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void parse_config_file(char *file, HashTable *ini_entries TSRMLS_DC) ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c: In function 'htscanner_main': /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:334:134: error: expected ')' before 'TSRMLS_CC' if (HTG(force_default_docroot) || !sapi_module.getenv || !(doc_root = sapi_module.getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT")-1 TSRMLS_CC))) { ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:363:28: error: 'TSRMLS_C' undeclared (first use in this function) t = sapi_get_request_time(TSRMLS_C); ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:363:28: note: each undeclared identifier is reported only once for each function it appears in /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:363:2: error: too many arguments to function 'sapi_get_request_time' t = sapi_get_request_time(TSRMLS_C); ^ In file included from /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:29:0: /usr/local/php80/include/php/main/SAPI.h:209:17: note: declared here SAPI_API double sapi_get_request_time(void); ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:424:41: error: expected ')' before 'TSRMLS_CC' parse_config_file(file, ini_entries TSRMLS_CC); ^ /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c: In function 'sapi_cgi_activate': /usr/local/directadmin/custombuild/htscanner-1.0.1-enhanced/htscanner.c:450:25: error: 'TSRMLS_C' undeclared (first use in this function) php_cgi_sapi_activate(TSRMLS_C); ^ make: *** [htscanner.lo] Error 1