Failing to install pecl uploadprogress module
Posted: 13. April 2007 07:17
Hi guys, you'll have to forgive my level of linux newbness here. I'm trying to install this pecl package - http://pecl.php.net/package/uploadprogress
and after downloading it, I'm running the following commands
make however fails with loads of errors
very very unsure as to what problems are going on here, any help would be very much appreciated
and after downloading it, I'm running the following commands
- Code: Select all
/opt/lampp/bin/phpize-5.2.1
./configure --with-php-config=/opt/lampp/bin/php-config-5.2.1
make
make however fails with loads of errors
- Code: Select all
# make
/bin/sh /root/upm/pecl/uploadprogress/libtool --mode=compile gcc -I. -I/root/upm/pecl/uploadprogress -DPHP_ATOM_INC -I/root/upm/pecl/uploadprogress/include -I/root/upm/pecl/uploadprogress/main -I/root/upm/pecl/uploadprogress -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/upm/pecl/uploadprogress/uploadprogress.c -o uploadprogress.lo
mkdir .libs
gcc -I. -I/root/upm/pecl/uploadprogress -DPHP_ATOM_INC -I/root/upm/pecl/uploadprogress/include -I/root/upm/pecl/uploadprogress/main -I/root/upm/pecl/uploadprogress -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/upm/pecl/uploadprogress/uploadprogress.c -fPIC -DPIC -o .libs/uploadprogress.o
In file included from /root/upm/pecl/uploadprogress/uploadprogress.c:24:
/root/upm/pecl/uploadprogress/php_uploadprogress.h:21:17: error: php.h: No such file or directory
/root/upm/pecl/uploadprogress/php_uploadprogress.h:25:21: error: php_ini.h: No such file or directory
/root/upm/pecl/uploadprogress/php_uploadprogress.h:26:18: error: SAPI.h: No such file or directory
/root/upm/pecl/uploadprogress/php_uploadprogress.h:27:31: error: ext/standard/info.h: No such file or directory
In file included from /root/upm/pecl/uploadprogress/uploadprogress.c:24:
/root/upm/pecl/uploadprogress/php_uploadprogress.h:36: error: syntax error before 'uploadprogress_module_entry'
/root/upm/pecl/uploadprogress/php_uploadprogress.h:36: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:48: error: syntax error before 'time_t'
/root/upm/pecl/uploadprogress/php_uploadprogress.h:48: warning: no semicolon at end of struct or union
/root/upm/pecl/uploadprogress/php_uploadprogress.h:49: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:56: error: syntax error before '}' token
/root/upm/pecl/uploadprogress/php_uploadprogress.h:56: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:61: error: syntax error before 'zval'
/root/upm/pecl/uploadprogress/php_uploadprogress.h:63: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:63: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:64: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:64: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:65: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:65: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:66: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:66: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:67: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:67: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/php_uploadprogress.h:74: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/php_uploadprogress.h:74: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/uploadprogress.c:25:21: error: rfc1867.h: No such file or directory
/root/upm/pecl/uploadprogress/uploadprogress.c:31: error: syntax error before 'uploadprogress_functions'
/root/upm/pecl/uploadprogress/uploadprogress.c:32: error: 'uploadprogress_get_info' undeclared here (not in a function)
/root/upm/pecl/uploadprogress/uploadprogress.c:32: error: 'NULL' undeclared here (not in a function)
/root/upm/pecl/uploadprogress/uploadprogress.c:33: error: initializer element is not constant
/root/upm/pecl/uploadprogress/uploadprogress.c:33: error: (near initialization for 'uploadprogress_functions[0]')
/root/upm/pecl/uploadprogress/uploadprogress.c:33: error: syntax error before '{' token
/root/upm/pecl/uploadprogress/uploadprogress.c:34: error: syntax error before '}' token
/root/upm/pecl/uploadprogress/uploadprogress.c:38: error: syntax error before 'PHP_INI_ENTRY'
/root/upm/pecl/uploadprogress/uploadprogress.c:45: error: syntax error before 'zend_module_entry'
/root/upm/pecl/uploadprogress/uploadprogress.c:46: error: 'STANDARD_MODULE_HEADER' undeclared here (not in a function)
/root/upm/pecl/uploadprogress/uploadprogress.c:47: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:47: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:48: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:48: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:49: error: 'uploadprogress' undeclared here (not in a function)
/root/upm/pecl/uploadprogress/uploadprogress.c:49: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:49: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:50: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:50: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:51: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:51: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:52: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:52: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:53: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:53: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:54: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:54: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:56: error: 'STANDARD_MODULE_PROPERTIES' undeclared here (not in a function)
/root/upm/pecl/uploadprogress/uploadprogress.c:56: warning: excess elements in scalar initializer
/root/upm/pecl/uploadprogress/uploadprogress.c:56: warning: (near initialization for 'uploadprogress_module_entry')
/root/upm/pecl/uploadprogress/uploadprogress.c:56: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/uploadprogress.c:64: error: syntax error before 'PHPAPI'
/root/upm/pecl/uploadprogress/uploadprogress.c:64: error: syntax error before 'extern'
/root/upm/pecl/uploadprogress/uploadprogress.c:66: error: syntax error before 'TSRMLS_DC'
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'uploadprogress_php_rfc1867_file':
/root/upm/pecl/uploadprogress/uploadprogress.c:68: error: 'zval' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:68: error: (Each undeclared identifier is reported only once
/root/upm/pecl/uploadprogress/uploadprogress.c:68: error: for each function it appears in.)
/root/upm/pecl/uploadprogress/uploadprogress.c:68: error: syntax error before 'handler'
/root/upm/pecl/uploadprogress/uploadprogress.c:70: error: 'progress' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:70: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:73: error: 'data' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:74: error: 'event' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:74: error: 'MULTIPART_EVENT_START' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:75: error: 'multipart_event_start' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:75: error: 'e_data' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:75: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:76: error: syntax error before ')' token
/root/upm/pecl/uploadprogress/uploadprogress.c:78: error: request for member 'bytes_total' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:78: error: request for member 'content_length' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:79: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:80: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:81: error: request for member 'time_start' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:83: error: 'MULTIPART_EVENT_FORMDATA' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:85: error: 'multipart_event_formdata' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:85: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:86: error: syntax error before ')' token
/root/upm/pecl/uploadprogress/uploadprogress.c:87: error: request for member 'post_bytes_processed' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:88: error: request for member 'newlength' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:89: error: request for member 'newlength' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:89: error: request for member 'length' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:92: error: request for member 'name' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:94: warning: initialization makes pointer from integer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c:99: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:100: error: request for member 'speed_average' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:101: error: request for member 'speed_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:102: error: request for member 'bytes_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:103: error: request for member 'files_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:104: error: request for member 'est_sec' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:105: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:105: error: request for member 'value' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:105: warning: passing argument 1 of 'uploadprogress_mk_filename' makes pointer from integer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c:106: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:106: warning: incompatible implicit declaration of built-in function 'strlen'
/root/upm/pecl/uploadprogress/uploadprogress.c:106: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:106: warning: passing argument 1 of 'strlen' from incompatible pointer type
/root/upm/pecl/uploadprogress/uploadprogress.c:107: warning: incompatible implicit declaration of built-in function 'sprintf'
/root/upm/pecl/uploadprogress/uploadprogress.c:107: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:107: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:107: warning: passing argument 1 of 'sprintf' from incompatible pointer type
/root/upm/pecl/uploadprogress/uploadprogress.c:111: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:112: error: 'time_t' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:112: error: syntax error before 'crtime'
/root/upm/pecl/uploadprogress/uploadprogress.c:115: error: 'MULTIPART_EVENT_FILE_START' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:116: error: 'multipart_event_file_start' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:116: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:118: error: syntax error before ')' token
/root/upm/pecl/uploadprogress/uploadprogress.c:119: error: request for member 'post_bytes_processed' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:121: error: 'MULTIPART_EVENT_FILE_DATA' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:122: error: 'multipart_event_file_data' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:122: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:124: error: syntax error before ')' token
/root/upm/pecl/uploadprogress/uploadprogress.c:125: error: request for member 'post_bytes_processed' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:128: error: 'MULTIPART_EVENT_FILE_END' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:129: error: 'multipart_event_file_end' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:129: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:131: error: syntax error before ')' token
/root/upm/pecl/uploadprogress/uploadprogress.c:133: error: request for member 'post_bytes_processed' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:134: error: request for member 'files_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:134: error: wrong type argument to increment
/root/upm/pecl/uploadprogress/uploadprogress.c:135: error: 'MULTIPART_EVENT_END' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:136: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:137: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:138: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:145: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:145: error: 'crtime' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:146: error: request for member 'time_start' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:146: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:149: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:150: error: request for member 'time_start' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:151: error: request for member 'bytes_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:151: error: invalid operands to binary -
/root/upm/pecl/uploadprogress/uploadprogress.c:155: error: request for member 'speed_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:157: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:158: error: request for member 'bytes_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:160: error: request for member 'speed_average' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:161: error: request for member 'est_sec' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:161: error: request for member 'speed_average' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:161: error: request for member 'bytes_total' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:161: error: request for member 'speed_average' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:161: error: invalid operands to binary /
/root/upm/pecl/uploadprogress/uploadprogress.c:161: warning: pointer/integer type mismatch in conditional expression
/root/upm/pecl/uploadprogress/uploadprogress.c:166: error: 'FILE' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:166: error: 'F' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:166: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:167: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:169: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/upm/pecl/uploadprogress/uploadprogress.c:170: error: request for member 'time_start' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:170: error: request for member 'time_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:171: error: request for member 'speed_average' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:171: error: request for member 'speed_last' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:172: error: request for member 'bytes_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:172: error: request for member 'bytes_total' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:173: error: request for member 'files_uploaded' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:174: error: request for member 'est_sec' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:176: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:176: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:183: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:184: error: request for member 'identifier' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:186: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c:187: error: request for member 'identifier_tmp' in something not a structure or union
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_MINIT_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:203: error: 'SUCCESS' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:203: warning: return makes integer from pointer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_MSHUTDOWN_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:218: error: 'SUCCESS' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:218: warning: return makes integer from pointer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_RINIT_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:230: error: 'SUCCESS' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:230: warning: return makes integer from pointer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_RSHUTDOWN_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:240: error: 'SUCCESS' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:240: warning: return makes integer from pointer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_MINFO_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:252: warning: incompatible implicit declaration of built-in function 'snprintf'
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'PHP_FUNCTION':
/root/upm/pecl/uploadprogress/uploadprogress.c:276: error: syntax error before 'TSRMLS_CC'
/root/upm/pecl/uploadprogress/uploadprogress.c: At top level:
/root/upm/pecl/uploadprogress/uploadprogress.c:280: warning: parameter names (without types) in function declaration
/root/upm/pecl/uploadprogress/uploadprogress.c:280: error: conflicting types for 'uploadprogress_file_php_get_info'
/root/upm/pecl/uploadprogress/php_uploadprogress.h:61: error: previous declaration of 'uploadprogress_file_php_get_info' was here
/root/upm/pecl/uploadprogress/uploadprogress.c:280: warning: data definition has no type or storage class
/root/upm/pecl/uploadprogress/uploadprogress.c:281: error: syntax error before 'return'
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'uploadprogress_mk_filename':
/root/upm/pecl/uploadprogress/uploadprogress.c:290: warning: incompatible implicit declaration of built-in function 'strlen'
/root/upm/pecl/uploadprogress/uploadprogress.c:290: warning: assignment makes pointer from integer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c:292: warning: incompatible implicit declaration of built-in function 'strstr'
/root/upm/pecl/uploadprogress/uploadprogress.c:293: warning: comparison of distinct pointer types lacks a cast
/root/upm/pecl/uploadprogress/uploadprogress.c:294: warning: incompatible implicit declaration of built-in function 'sprintf'
/root/upm/pecl/uploadprogress/uploadprogress.c:296: warning: incompatible implicit declaration of built-in function 'strcpy'
/root/upm/pecl/uploadprogress/uploadprogress.c:298: warning: incompatible implicit declaration of built-in function 'strcat'
/root/upm/pecl/uploadprogress/uploadprogress.c: At top level:
/root/upm/pecl/uploadprogress/uploadprogress.c:303: error: syntax error before 'zval'
/root/upm/pecl/uploadprogress/uploadprogress.c:304: error: conflicting types for 'uploadprogress_file_php_get_info'
/root/upm/pecl/uploadprogress/uploadprogress.c:280: error: previous declaration of 'uploadprogress_file_php_get_info' was here
/root/upm/pecl/uploadprogress/uploadprogress.c: In function 'uploadprogress_file_php_get_info':
/root/upm/pecl/uploadprogress/uploadprogress.c:308: error: 'FILE' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:308: error: 'F' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:308: error: invalid operands to binary *
/root/upm/pecl/uploadprogress/uploadprogress.c:311: warning: assignment makes pointer from integer without a cast
/root/upm/pecl/uploadprogress/uploadprogress.c:317: error: 'id' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:317: warning: passing argument 1 of 'uploadprogress_mk_filename' from incompatible pointer type
/root/upm/pecl/uploadprogress/uploadprogress.c:323: error: 'return_value' undeclared (first use in this function)
/root/upm/pecl/uploadprogress/uploadprogress.c:327: warning: incompatible implicit declaration of built-in function 'strchr'
make: *** [uploadprogress.lo] Error 1
very very unsure as to what problems are going on here, any help would be very much appreciated