Install hastles with Solaris
| From: | Peter | Date: | Fri, 26 Jul 2002 06:35:42 +0000 |
| Subject: | Install hastles with Solaris | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7906@lists.php.net to get a copy of this message | ||
hi there,
I am currently tring to get apache set up with php 4.2.2 mysql under solaris
2.8
now i have php and mysql all fine how ever when i go to make in apache it
quits with a error
# ./configure --activate-module=src/modules/php4/libmodphp4.a
runs through as normal..
# make
see attached file .. i wouldn't nomally attach files but it's a small file
can any one shed some light on this for me?
Cheers
Peter
"the only dumb question is the one that wasn't asked"
# make gcc -c -I../../os/unix -I../../include -DSOLARIS2=280 -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c mod_php4.c:28:18: zend.h: No such file or directory mod_php4.c:29:17: php.h: No such file or directory mod_php4.c:30:27: php_variables.h: No such file or directory mod_php4.c:47:21: php_ini.h: No such file or directory mod_php4.c:48:25: php_globals.h: No such file or directory mod_php4.c:49:18: SAPI.h: No such file or directory mod_php4.c:50:22: php_main.h: No such file or directory mod_php4.c:52:26: zend_compile.h: No such file or directory mod_php4.c:53:26: zend_execute.h: No such file or directory mod_php4.c:54:28: zend_highlight.h: No such file or directory mod_php4.c:55:25: zend_indent.h: No such file or directory mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory In file included from mod_php4.c:61: mod_php4.h:34: parse error before "zend_bool" mod_php4.h:34: warning: no semicolon at end of struct or union mod_php4.h:35: warning: data definition has no type or storage class mod_php4.h:37: parse error before "apache_module_entry" mod_php4.h:37: warning: data definition has no type or storage class mod_php4.h:43: parse error before "php_apache_info" mod_php4.h:43: warning: data definition has no type or storage class mod_php4.c:67: parse error before "TSRMLS_DC" mod_php4.c:70: parse error before "TSRMLS_DC" mod_php4.c:71: warning: parameter names (without types) in function declaration mod_php4.c:72: parse error before '*' token mod_php4.c:73: parse error before '*' token mod_php4.c:90: parse error before "HashTable" mod_php4.c:91: parse error before "HashTable" mod_php4.c:92: parse error before "HashTable" mod_php4.c:93: parse error before "HashTable" mod_php4.c:94: parse error before "HashTable" mod_php4.c:95: parse error before "HashTable" mod_php4.c:127: parse error before "TSRMLS_DC" mod_php4.c: In function `sapi_apache_ub_write': mod_php4.c:131: `server_context' undeclared (first use in this function) mod_php4.c:131: (Each undeclared identifier is reported only once mod_php4.c:131: for each function it appears in.) mod_php4.c:132: `str' undeclared (first use in this function) mod_php4.c:132: `str_length' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:157: parse error before "TSRMLS_DC" mod_php4.c: In function `sapi_apache_read_post': mod_php4.c:160: `server_context' undeclared (first use in this function) mod_php4.c:164: `count_bytes' undeclared (first use in this function) mod_php4.c:166: `buffer' undeclared (first use in this function) mod_php4.c: In function `sapi_apache_read_cookies': mod_php4.c:182: `server_context' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:188: parse error before '*' token mod_php4.c: In function `sapi_apache_header_handler': mod_php4.c:191: `server_context' undeclared (first use in this function) mod_php4.c:193: `sapi_header' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:223: parse error before '*' token mod_php4.c: In function `sapi_apache_send_headers': mod_php4.c:225: `server_context' undeclared (first use in this function) mod_php4.c:226: `SAPI_HEADER_SEND_FAILED' undeclared (first use in this function) mod_php4.c:229: `sapi_headers' undeclared (first use in this function) mod_php4.c:229: request for member `http_response_code' in something not a structure or union mod_php4.c:231: `SAPI_HEADER_SENT_SUCCESSFULLY' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:237: parse error before '*' token mod_php4.c: In function `sapi_apache_register_server_variables': mod_php4.c:240: `server_context' undeclared (first use in this function) mod_php4.c:242: `zval' undeclared (first use in this function) mod_php4.c:242: `path_translated' undeclared (first use in this function) mod_php4.c:243: `HashTable' undeclared (first use in this function) mod_php4.c:243: `symbol_table' undeclared (first use in this function) mod_php4.c:251: `empty_string' undeclared (first use in this function) mod_php4.c:253: `track_vars_array' undeclared (first use in this function) mod_php4.c:253: parse error before "TSRMLS_CC" mod_php4.c:259: `register_globals' undeclared (first use in this function) mod_php4.c:261: `active_symbol_table' undeclared (first use in this function) mod_php4.c:267: `SUCCESS' undeclared (first use in this function) mod_php4.c:268: parse error before "TSRMLS_CC" mod_php4.c:271: parse error before "TSRMLS_CC" mod_php4.c: At top level: mod_php4.c:277: parse error before '*' token mod_php4.c: In function `php_apache_startup': mod_php4.c:279: `sapi_module' undeclared (first use in this function) mod_php4.c:280: `FAILURE' undeclared (first use in this function) mod_php4.c:283: `SUCCESS' undeclared (first use in this function) mod_php4.c: In function `php_apache_log_message': mod_php4.c:294: `server_context' undeclared (first use in this function) mod_php4.c: In function `php_apache_request_shutdown': mod_php4.c:313: parse error before "TSRMLS_CC" mod_php4.c:314: `server_context' undeclared (first use in this function) mod_php4.c:314: invalid lvalue in assignment mod_php4.c:315: request for member `in_request' in something not a structure or union mod_php4.c:316: request for member `in_request' in something not a structure or union mod_php4.c: In function `php_apache_sapi_activate': mod_php4.c:326: `server_context' undeclared (first use in this function) mod_php4.c:337: `php_request_shutdown_for_exec' undeclared (first use in this function) mod_php4.c:338: request for member `in_request' in something not a structure or union mod_php4.c:344: `request_info' undeclared (first use in this function) mod_php4.c:344: request for member `headers_only' in something not a structure or union mod_php4.c:345: `SUCCESS' undeclared (first use in this function) mod_php4.c: In function `php_apache_get_stat': mod_php4.c:353: `server_context' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:359: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_getenv': mod_php4.c:361: `server_context' undeclared (first use in this function) mod_php4.c:361: `name' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:367: parse error before "apache_sapi_module" mod_php4.c:368: warning: initialization makes integer from pointer without a cast mod_php4.c:369: warning: excess elements in scalar initializer mod_php4.c:369: warning: (near initialization for `apache_sapi_module') mod_php4.c:371: warning: excess elements in scalar initializer mod_php4.c:371: warning: (near initialization for `apache_sapi_module') mod_php4.c:372: `php_module_shutdown_wrapper' undeclared here (not in a function) mod_php4.c:372: warning: excess elements in scalar initializer mod_php4.c:372: warning: (near initialization for `apache_sapi_module') mod_php4.c:374: warning: excess elements in scalar initializer mod_php4.c:374: warning: (near initialization for `apache_sapi_module') mod_php4.c:375: warning: excess elements in scalar initializer mod_php4.c:375: warning: (near initialization for `apache_sapi_module') mod_php4.c:377: warning: excess elements in scalar initializer mod_php4.c:377: warning: (near initialization for `apache_sapi_module') mod_php4.c:378: warning: excess elements in scalar initializer mod_php4.c:378: warning: (near initialization for `apache_sapi_module') mod_php4.c:379: warning: excess elements in scalar initializer mod_php4.c:379: warning: (near initialization for `apache_sapi_module') mod_php4.c:380: warning: excess elements in scalar initializer mod_php4.c:380: warning: (near initialization for `apache_sapi_module') mod_php4.c:382: `php_error' undeclared here (not in a function) mod_php4.c:382: warning: excess elements in scalar initializer mod_php4.c:382: warning: (near initialization for `apache_sapi_module') mod_php4.c:384: warning: excess elements in scalar initializer mod_php4.c:384: warning: (near initialization for `apache_sapi_module') mod_php4.c:385: warning: excess elements in scalar initializer mod_php4.c:385: warning: (near initialization for `apache_sapi_module') mod_php4.c:386: warning: excess elements in scalar initializer mod_php4.c:386: warning: (near initialization for `apache_sapi_module') mod_php4.c:388: warning: excess elements in scalar initializer mod_php4.c:388: warning: (near initialization for `apache_sapi_module') mod_php4.c:389: warning: excess elements in scalar initializer mod_php4.c:389: warning: (near initialization for `apache_sapi_module') mod_php4.c:391: warning: excess elements in scalar initializer mod_php4.c:391: warning: (near initialization for `apache_sapi_module') mod_php4.c:392: warning: excess elements in scalar initializer mod_php4.c:392: warning: (near initialization for `apache_sapi_module') mod_php4.c:394: warning: excess elements in scalar initializer mod_php4.c:394: warning: (near initialization for `apache_sapi_module') mod_php4.c:400: warning: excess elements in scalar initializer mod_php4.c:400: warning: (near initialization for `apache_sapi_module') mod_php4.c:401: warning: excess elements in scalar initializer mod_php4.c:401: warning: (near initialization for `apache_sapi_module') mod_php4.c:405: `STANDARD_SAPI_MODULE_PROPERTIES' undeclared here (not in a function) mod_php4.c:405: warning: excess elements in scalar initializer mod_php4.c:405: warning: (near initialization for `apache_sapi_module') mod_php4.c:405: warning: data definition has no type or storage class mod_php4.c: In function `init_request_info': mod_php4.c:420: `server_context' undeclared (first use in this function) mod_php4.c:425: `request_info' undeclared (first use in this function) mod_php4.c:425: request for member `query_string' in something not a structure or union mod_php4.c:426: request for member `path_translated' in something not a structure or union mod_php4.c:427: request for member `request_uri' in something not a structure or union mod_php4.c:428: request for member `request_method' in something not a structure or union mod_php4.c:429: request for member `content_type' in something not a structure or union mod_php4.c:430: request for member `content_length' in something not a structure or union mod_php4.c:431: `sapi_headers' undeclared (first use in this function) mod_php4.c:431: request for member `http_response_code' in something not a structure or union mod_php4.c:440: request for member `auth_user' in something not a structure or union mod_php4.c:441: request for member `auth_user' in something not a structure or union mod_php4.c:442: request for member `auth_user' in something not a structure or union mod_php4.c:444: request for member `auth_user' in something not a structure or union mod_php4.c:444: request for member `auth_user' in something not a structure or union mod_php4.c:446: request for member `auth_password' in something not a structure or union mod_php4.c:447: request for member `auth_password' in something not a structure or union mod_php4.c:448: request for member `auth_password' in something not a structure or union mod_php4.c:448: request for member `auth_password' in something not a structure or union mod_php4.c:451: request for member `auth_user' in something not a structure or union mod_php4.c:452: request for member `auth_password' in something not a structure or union mod_php4.c: At top level: mod_php4.c:459: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_alter_ini_entries': mod_php4.c:461: `per_dir_entry' undeclared (first use in this function) mod_php4.c:461: `PHP_INI_STAGE_ACTIVATE' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:468: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_get_default_mimetype': mod_php4.c:472: `default_mimetype' undeclared (first use in this function) mod_php4.c:472: `default_charset' undeclared (first use in this function) mod_php4.c:476: `TSRMLS_C' undeclared (first use in this function) mod_php4.c:476: warning: assignment makes pointer from integer without a cast mod_php4.c:477: `r' undeclared (first use in this function) mod_php4.c:480: `SAPI_DEFAULT_MIMETYPE' undeclared (first use in this function) mod_php4.c:480: parse error before string constant mod_php4.c: In function `send_php': mod_php4.c:491: `HashTable' undeclared (first use in this function) mod_php4.c:491: `per_dir_conf' undeclared (first use in this function) mod_php4.c:494: request for member `in_request' in something not a structure or union mod_php4.c:495: `zend_file_handle' undeclared (first use in this function) mod_php4.c:495: parse error before "fh" mod_php4.c:497: `fh' undeclared (first use in this function) mod_php4.c:500: `ZEND_HANDLE_FILENAME' undeclared (first use in this function) mod_php4.c:501: `ZEND_INCLUDE' undeclared (first use in this function) mod_php4.c:501: parse error before "TSRMLS_CC" mod_php4.c:505: `zend_first_try' undeclared (first use in this function) mod_php4.c:505: parse error before '{' token mod_php4.c: At top level: mod_php4.c:513: parse error before "if" mod_php4.c:517: `per_dir_conf' used prior to declaration mod_php4.c:517: `HashTable' undeclared here (not in a function) mod_php4.c:517: parse error before ')' token mod_php4.c:517: `r' undeclared here (not in a function) mod_php4.c:517: warning: data definition has no type or storage class mod_php4.c:518: parse error before "if" mod_php4.c:528: syntax error before '{' token mod_php4.c:530: warning: data definition has no type or storage class mod_php4.c:531: parse error before "return" mod_php4.c:542: warning: data definition has no type or storage class mod_php4.c:543: parse error before "return" mod_php4.c:557: warning: parameter names (without types) in function declaration mod_php4.c:557: conflicting types for `ap_set_last_modified' .../../include/http_protocol.h:121: previous declaration of `ap_set_last_modified' mod_php4.c:557: warning: data definition has no type or storage class mod_php4.c:558: warning: parameter names (without types) in function declaration mod_php4.c:558: conflicting types for `ap_set_etag' .../../include/http_protocol.h:120: previous declaration of `ap_set_etag' mod_php4.c:558: warning: data definition has no type or storage class mod_php4.c:560: parse error before '}' token mod_php4.c:566: parse error before string constant mod_php4.c:566: conflicting types for `ap_hard_timeout' .../../include/http_main.h:118: previous declaration of `ap_hard_timeout' mod_php4.c:566: warning: data definition has no type or storage class mod_php4.c:568: warning: parameter names (without types) in function declaration mod_php4.c:568: function `SG' is initialized like a variable mod_php4.c:568: `r' undeclared here (not in a function) mod_php4.c:568: warning: data definition has no type or storage class mod_php4.c:570: conflicting types for `php_save_umask' mod_php4.c:119: previous declaration of `php_save_umask' mod_php4.c:570: warning: data definition has no type or storage class mod_php4.c:571: warning: parameter names (without types) in function declaration mod_php4.c:571: conflicting types for `ap_add_common_vars' .../../include/util_script.h:77: previous declaration of `ap_add_common_vars' mod_php4.c:571: warning: data definition has no type or storage class mod_php4.c:572: warning: parameter names (without types) in function declaration mod_php4.c:572: conflicting types for `ap_add_cgi_vars' .../../include/util_script.h:76: previous declaration of `ap_add_cgi_vars' mod_php4.c:572: warning: data definition has no type or storage class mod_php4.c:574: warning: parameter names (without types) in function declaration mod_php4.c:574: conflicting types for `init_request_info' mod_php4.c:419: previous declaration of `init_request_info' mod_php4.c:574: warning: data definition has no type or storage class mod_php4.c:575: parse error before "TSRMLS_CC" mod_php4.c:575: warning: data definition has no type or storage class mod_php4.c:578: conflicting types for `php_restore_umask' mod_php4.c:411: previous declaration of `php_restore_umask' mod_php4.c:578: warning: data definition has no type or storage class mod_php4.c:579: warning: parameter names (without types) in function declaration mod_php4.c:579: conflicting types for `ap_kill_timeout' .../../include/http_main.h:121: previous declaration of `ap_kill_timeout' mod_php4.c:579: warning: data definition has no type or storage class mod_php4.c:580: parse error before '}' token mod_php4.c:580: warning: data definition has no type or storage class mod_php4.c:582: parse error before "return" mod_php4.c:642: parse error before "should_overwrite_per_dir_entry" mod_php4.c: In function `should_overwrite_per_dir_entry': mod_php4.c:645: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:655: parse error before '*' token mod_php4.c: In function `php_destroy_per_dir_info': mod_php4.c:657: `per_dir_info' undeclared (first use in this function) mod_php4.c: In function `php_create_dir': mod_php4.c:666: `HashTable' undeclared (first use in this function) mod_php4.c:666: `per_dir_info' undeclared (first use in this function) mod_php4.c:668: parse error before ')' token mod_php4.c:670: `zend_hash_destroy' undeclared (first use in this function) mod_php4.c: In function `php_merge_dir': mod_php4.c:681: `HashTable' undeclared (first use in this function) mod_php4.c:681: parse error before ')' token mod_php4.c: At top level: mod_php4.c:688: parse error before "HashTable" mod_php4.c: In function `php_apache_value_handler_ex': mod_php4.c:700: `mode' undeclared (first use in this function) mod_php4.c:702: `arg2' undeclared (first use in this function) mod_php4.c:706: `arg1' undeclared (first use in this function) mod_php4.c:717: `conf' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:724: parse error before "HashTable" mod_php4.c: In function `php_apache_value_handler': mod_php4.c:726: `cmd' undeclared (first use in this function) mod_php4.c:726: `conf' undeclared (first use in this function) mod_php4.c:726: `arg1' undeclared (first use in this function) mod_php4.c:726: `arg2' undeclared (first use in this function) mod_php4.c:726: `PHP_INI_PERDIR' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:732: parse error before "HashTable" mod_php4.c: In function `php_apache_admin_value_handler': mod_php4.c:734: `cmd' undeclared (first use in this function) mod_php4.c:734: `conf' undeclared (first use in this function) mod_php4.c:734: `arg1' undeclared (first use in this function) mod_php4.c:734: `arg2' undeclared (first use in this function) mod_php4.c:734: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:740: parse error before "HashTable" mod_php4.c: In function `php_apache_flag_handler_ex': mod_php4.c:744: `arg2' undeclared (first use in this function) mod_php4.c:751: `cmd' undeclared (first use in this function) mod_php4.c:751: `conf' undeclared (first use in this function) mod_php4.c:751: `arg1' undeclared (first use in this function) mod_php4.c:751: `mode' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:757: parse error before "HashTable" mod_php4.c: In function `php_apache_flag_handler': mod_php4.c:759: `cmd' undeclared (first use in this function) mod_php4.c:759: `conf' undeclared (first use in this function) mod_php4.c:759: `arg1' undeclared (first use in this function) mod_php4.c:759: `arg2' undeclared (first use in this function) mod_php4.c:759: `PHP_INI_PERDIR' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:765: parse error before "HashTable" mod_php4.c: In function `php_apache_admin_flag_handler': mod_php4.c:767: `cmd' undeclared (first use in this function) mod_php4.c:767: `conf' undeclared (first use in this function) mod_php4.c:767: `arg1' undeclared (first use in this function) mod_php4.c:767: `arg2' undeclared (first use in this function) mod_php4.c:767: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: In function `php_xbithack_handler': mod_php4.c:775: `conf' undeclared (first use in this function) mod_php4.c:777: parse error before ')' token mod_php4.c: In function `apache_php_module_shutdown_wrapper': mod_php4.c:795: request for member `shutdown' in something not a structure or union mod_php4.c: In function `php_child_exit_handler': mod_php4.c:816: request for member `shutdown' in something not a structure or union mod_php4.c: In function `php_init_handler': mod_php4.c:829: `php_module_shutdown_for_exec' undeclared (first use in this function) mod_php4.c:841: `expose_php' undeclared (first use in this function) mod_php4.c:842: parse error before "PHP_VERSION" make[2]: *** [mod_php4.o] Error 1 make[1]: *** [all] Error 1 make: *** [subdirs] Error 1
# make gcc -c -I../../os/unix -I../../include -DSOLARIS2=280 -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c mod_php4.c:28:18: zend.h: No such file or directory mod_php4.c:29:17: php.h: No such file or directory mod_php4.c:30:27: php_variables.h: No such file or directory mod_php4.c:47:21: php_ini.h: No such file or directory mod_php4.c:48:25: php_globals.h: No such file or directory mod_php4.c:49:18: SAPI.h: No such file or directory mod_php4.c:50:22: php_main.h: No such file or directory mod_php4.c:52:26: zend_compile.h: No such file or directory mod_php4.c:53:26: zend_execute.h: No such file or directory mod_php4.c:54:28: zend_highlight.h: No such file or directory mod_php4.c:55:25: zend_indent.h: No such file or directory mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory In file included from mod_php4.c:61: mod_php4.h:34: parse error before "zend_bool" mod_php4.h:34: warning: no semicolon at end of struct or union mod_php4.h:35: warning: data definition has no type or storage class mod_php4.h:37: parse error before "apache_module_entry" mod_php4.h:37: warning: data definition has no type or storage class mod_php4.h:43: parse error before "php_apache_info" mod_php4.h:43: warning: data definition has no type or storage class mod_php4.c:67: parse error before "TSRMLS_DC" mod_php4.c:70: parse error before "TSRMLS_DC" mod_php4.c:71: warning: parameter names (without types) in function declaration mod_php4.c:72: parse error before '*' token mod_php4.c:73: parse error before '*' token mod_php4.c:90: parse error before "HashTable" mod_php4.c:91: parse error before "HashTable" mod_php4.c:92: parse error before "HashTable" mod_php4.c:93: parse error before "HashTable" mod_php4.c:94: parse error before "HashTable" mod_php4.c:95: parse error before "HashTable" mod_php4.c:127: parse error before "TSRMLS_DC" mod_php4.c: In function `sapi_apache_ub_write': mod_php4.c:131: `server_context' undeclared (first use in this function) mod_php4.c:131: (Each undeclared identifier is reported only once mod_php4.c:131: for each function it appears in.) mod_php4.c:132: `str' undeclared (first use in this function) mod_php4.c:132: `str_length' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:157: parse error before "TSRMLS_DC" mod_php4.c: In function `sapi_apache_read_post': mod_php4.c:160: `server_context' undeclared (first use in this function) mod_php4.c:164: `count_bytes' undeclared (first use in this function) mod_php4.c:166: `buffer' undeclared (first use in this function) mod_php4.c: In function `sapi_apache_read_cookies': mod_php4.c:182: `server_context' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:188: parse error before '*' token mod_php4.c: In function `sapi_apache_header_handler': mod_php4.c:191: `server_context' undeclared (first use in this function) mod_php4.c:193: `sapi_header' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:223: parse error before '*' token mod_php4.c: In function `sapi_apache_send_headers': mod_php4.c:225: `server_context' undeclared (first use in this function) mod_php4.c:226: `SAPI_HEADER_SEND_FAILED' undeclared (first use in this function) mod_php4.c:229: `sapi_headers' undeclared (first use in this function) mod_php4.c:229: request for member `http_response_code' in something not a structure or union mod_php4.c:231: `SAPI_HEADER_SENT_SUCCESSFULLY' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:237: parse error before '*' token mod_php4.c: In function `sapi_apache_register_server_variables': mod_php4.c:240: `server_context' undeclared (first use in this function) mod_php4.c:242: `zval' undeclared (first use in this function) mod_php4.c:242: `path_translated' undeclared (first use in this function) mod_php4.c:243: `HashTable' undeclared (first use in this function) mod_php4.c:243: `symbol_table' undeclared (first use in this function) mod_php4.c:251: `empty_string' undeclared (first use in this function) mod_php4.c:253: `track_vars_array' undeclared (first use in this function) mod_php4.c:253: parse error before "TSRMLS_CC" mod_php4.c:259: `register_globals' undeclared (first use in this function) mod_php4.c:261: `active_symbol_table' undeclared (first use in this function) mod_php4.c:267: `SUCCESS' undeclared (first use in this function) mod_php4.c:268: parse error before "TSRMLS_CC" mod_php4.c:271: parse error before "TSRMLS_CC" mod_php4.c: At top level: mod_php4.c:277: parse error before '*' token mod_php4.c: In function `php_apache_startup': mod_php4.c:279: `sapi_module' undeclared (first use in this function) mod_php4.c:280: `FAILURE' undeclared (first use in this function) mod_php4.c:283: `SUCCESS' undeclared (first use in this function) mod_php4.c: In function `php_apache_log_message': mod_php4.c:294: `server_context' undeclared (first use in this function) mod_php4.c: In function `php_apache_request_shutdown': mod_php4.c:313: parse error before "TSRMLS_CC" mod_php4.c:314: `server_context' undeclared (first use in this function) mod_php4.c:314: invalid lvalue in assignment mod_php4.c:315: request for member `in_request' in something not a structure or union mod_php4.c:316: request for member `in_request' in something not a structure or union mod_php4.c: In function `php_apache_sapi_activate': mod_php4.c:326: `server_context' undeclared (first use in this function) mod_php4.c:337: `php_request_shutdown_for_exec' undeclared (first use in this function) mod_php4.c:338: request for member `in_request' in something not a structure or union mod_php4.c:344: `request_info' undeclared (first use in this function) mod_php4.c:344: request for member `headers_only' in something not a structure or union mod_php4.c:345: `SUCCESS' undeclared (first use in this function) mod_php4.c: In function `php_apache_get_stat': mod_php4.c:353: `server_context' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:359: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_getenv': mod_php4.c:361: `server_context' undeclared (first use in this function) mod_php4.c:361: `name' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:367: parse error before "apache_sapi_module" mod_php4.c:368: warning: initialization makes integer from pointer without a cast mod_php4.c:369: warning: excess elements in scalar initializer mod_php4.c:369: warning: (near initialization for `apache_sapi_module') mod_php4.c:371: warning: excess elements in scalar initializer mod_php4.c:371: warning: (near initialization for `apache_sapi_module') mod_php4.c:372: `php_module_shutdown_wrapper' undeclared here (not in a function) mod_php4.c:372: warning: excess elements in scalar initializer mod_php4.c:372: warning: (near initialization for `apache_sapi_module') mod_php4.c:374: warning: excess elements in scalar initializer mod_php4.c:374: warning: (near initialization for `apache_sapi_module') mod_php4.c:375: warning: excess elements in scalar initializer mod_php4.c:375: warning: (near initialization for `apache_sapi_module') mod_php4.c:377: warning: excess elements in scalar initializer mod_php4.c:377: warning: (near initialization for `apache_sapi_module') mod_php4.c:378: warning: excess elements in scalar initializer mod_php4.c:378: warning: (near initialization for `apache_sapi_module') mod_php4.c:379: warning: excess elements in scalar initializer mod_php4.c:379: warning: (near initialization for `apache_sapi_module') mod_php4.c:380: warning: excess elements in scalar initializer mod_php4.c:380: warning: (near initialization for `apache_sapi_module') mod_php4.c:382: `php_error' undeclared here (not in a function) mod_php4.c:382: warning: excess elements in scalar initializer mod_php4.c:382: warning: (near initialization for `apache_sapi_module') mod_php4.c:384: warning: excess elements in scalar initializer mod_php4.c:384: warning: (near initialization for `apache_sapi_module') mod_php4.c:385: warning: excess elements in scalar initializer mod_php4.c:385: warning: (near initialization for `apache_sapi_module') mod_php4.c:386: warning: excess elements in scalar initializer mod_php4.c:386: warning: (near initialization for `apache_sapi_module') mod_php4.c:388: warning: excess elements in scalar initializer mod_php4.c:388: warning: (near initialization for `apache_sapi_module') mod_php4.c:389: warning: excess elements in scalar initializer mod_php4.c:389: warning: (near initialization for `apache_sapi_module') mod_php4.c:391: warning: excess elements in scalar initializer mod_php4.c:391: warning: (near initialization for `apache_sapi_module') mod_php4.c:392: warning: excess elements in scalar initializer mod_php4.c:392: warning: (near initialization for `apache_sapi_module') mod_php4.c:394: warning: excess elements in scalar initializer mod_php4.c:394: warning: (near initialization for `apache_sapi_module') mod_php4.c:400: warning: excess elements in scalar initializer mod_php4.c:400: warning: (near initialization for `apache_sapi_module') mod_php4.c:401: warning: excess elements in scalar initializer mod_php4.c:401: warning: (near initialization for `apache_sapi_module') mod_php4.c:405: `STANDARD_SAPI_MODULE_PROPERTIES' undeclared here (not in a function) mod_php4.c:405: warning: excess elements in scalar initializer mod_php4.c:405: warning: (near initialization for `apache_sapi_module') mod_php4.c:405: warning: data definition has no type or storage class mod_php4.c: In function `init_request_info': mod_php4.c:420: `server_context' undeclared (first use in this function) mod_php4.c:425: `request_info' undeclared (first use in this function) mod_php4.c:425: request for member `query_string' in something not a structure or union mod_php4.c:426: request for member `path_translated' in something not a structure or union mod_php4.c:427: request for member `request_uri' in something not a structure or union mod_php4.c:428: request for member `request_method' in something not a structure or union mod_php4.c:429: request for member `content_type' in something not a structure or union mod_php4.c:430: request for member `content_length' in something not a structure or union mod_php4.c:431: `sapi_headers' undeclared (first use in this function) mod_php4.c:431: request for member `http_response_code' in something not a structure or union mod_php4.c:440: request for member `auth_user' in something not a structure or union mod_php4.c:441: request for member `auth_user' in something not a structure or union mod_php4.c:442: request for member `auth_user' in something not a structure or union mod_php4.c:444: request for member `auth_user' in something not a structure or union mod_php4.c:444: request for member `auth_user' in something not a structure or union mod_php4.c:446: request for member `auth_password' in something not a structure or union mod_php4.c:447: request for member `auth_password' in something not a structure or union mod_php4.c:448: request for member `auth_password' in something not a structure or union mod_php4.c:448: request for member `auth_password' in something not a structure or union mod_php4.c:451: request for member `auth_user' in something not a structure or union mod_php4.c:452: request for member `auth_password' in something not a structure or union mod_php4.c: At top level: mod_php4.c:459: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_alter_ini_entries': mod_php4.c:461: `per_dir_entry' undeclared (first use in this function) mod_php4.c:461: `PHP_INI_STAGE_ACTIVATE' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:468: parse error before "TSRMLS_DC" mod_php4.c: In function `php_apache_get_default_mimetype': mod_php4.c:472: `default_mimetype' undeclared (first use in this function) mod_php4.c:472: `default_charset' undeclared (first use in this function) mod_php4.c:476: `TSRMLS_C' undeclared (first use in this function) mod_php4.c:476: warning: assignment makes pointer from integer without a cast mod_php4.c:477: `r' undeclared (first use in this function) mod_php4.c:480: `SAPI_DEFAULT_MIMETYPE' undeclared (first use in this function) mod_php4.c:480: parse error before string constant mod_php4.c: In function `send_php': mod_php4.c:491: `HashTable' undeclared (first use in this function) mod_php4.c:491: `per_dir_conf' undeclared (first use in this function) mod_php4.c:494: request for member `in_request' in something not a structure or union mod_php4.c:495: `zend_file_handle' undeclared (first use in this function) mod_php4.c:495: parse error before "fh" mod_php4.c:497: `fh' undeclared (first use in this function) mod_php4.c:500: `ZEND_HANDLE_FILENAME' undeclared (first use in this function) mod_php4.c:501: `ZEND_INCLUDE' undeclared (first use in this function) mod_php4.c:501: parse error before "TSRMLS_CC" mod_php4.c:505: `zend_first_try' undeclared (first use in this function) mod_php4.c:505: parse error before '{' token mod_php4.c: At top level: mod_php4.c:513: parse error before "if" mod_php4.c:517: `per_dir_conf' used prior to declaration mod_php4.c:517: `HashTable' undeclared here (not in a function) mod_php4.c:517: parse error before ')' token mod_php4.c:517: `r' undeclared here (not in a function) mod_php4.c:517: warning: data definition has no type or storage class mod_php4.c:518: parse error before "if" mod_php4.c:528: syntax error before '{' token mod_php4.c:530: warning: data definition has no type or storage class mod_php4.c:531: parse error before "return" mod_php4.c:542: warning: data definition has no type or storage class mod_php4.c:543: parse error before "return" mod_php4.c:557: warning: parameter names (without types) in function declaration mod_php4.c:557: conflicting types for `ap_set_last_modified' .../../include/http_protocol.h:121: previous declaration of `ap_set_last_modified' mod_php4.c:557: warning: data definition has no type or storage class mod_php4.c:558: warning: parameter names (without types) in function declaration mod_php4.c:558: conflicting types for `ap_set_etag' .../../include/http_protocol.h:120: previous declaration of `ap_set_etag' mod_php4.c:558: warning: data definition has no type or storage class mod_php4.c:560: parse error before '}' token mod_php4.c:566: parse error before string constant mod_php4.c:566: conflicting types for `ap_hard_timeout' .../../include/http_main.h:118: previous declaration of `ap_hard_timeout' mod_php4.c:566: warning: data definition has no type or storage class mod_php4.c:568: warning: parameter names (without types) in function declaration mod_php4.c:568: function `SG' is initialized like a variable mod_php4.c:568: `r' undeclared here (not in a function) mod_php4.c:568: warning: data definition has no type or storage class mod_php4.c:570: conflicting types for `php_save_umask' mod_php4.c:119: previous declaration of `php_save_umask' mod_php4.c:570: warning: data definition has no type or storage class mod_php4.c:571: warning: parameter names (without types) in function declaration mod_php4.c:571: conflicting types for `ap_add_common_vars' .../../include/util_script.h:77: previous declaration of `ap_add_common_vars' mod_php4.c:571: warning: data definition has no type or storage class mod_php4.c:572: warning: parameter names (without types) in function declaration mod_php4.c:572: conflicting types for `ap_add_cgi_vars' .../../include/util_script.h:76: previous declaration of `ap_add_cgi_vars' mod_php4.c:572: warning: data definition has no type or storage class mod_php4.c:574: warning: parameter names (without types) in function declaration mod_php4.c:574: conflicting types for `init_request_info' mod_php4.c:419: previous declaration of `init_request_info' mod_php4.c:574: warning: data definition has no type or storage class mod_php4.c:575: parse error before "TSRMLS_CC" mod_php4.c:575: warning: data definition has no type or storage class mod_php4.c:578: conflicting types for `php_restore_umask' mod_php4.c:411: previous declaration of `php_restore_umask' mod_php4.c:578: warning: data definition has no type or storage class mod_php4.c:579: warning: parameter names (without types) in function declaration mod_php4.c:579: conflicting types for `ap_kill_timeout' .../../include/http_main.h:121: previous declaration of `ap_kill_timeout' mod_php4.c:579: warning: data definition has no type or storage class mod_php4.c:580: parse error before '}' token mod_php4.c:580: warning: data definition has no type or storage class mod_php4.c:582: parse error before "return" mod_php4.c:642: parse error before "should_overwrite_per_dir_entry" mod_php4.c: In function `should_overwrite_per_dir_entry': mod_php4.c:645: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:655: parse error before '*' token mod_php4.c: In function `php_destroy_per_dir_info': mod_php4.c:657: `per_dir_info' undeclared (first use in this function) mod_php4.c: In function `php_create_dir': mod_php4.c:666: `HashTable' undeclared (first use in this function) mod_php4.c:666: `per_dir_info' undeclared (first use in this function) mod_php4.c:668: parse error before ')' token mod_php4.c:670: `zend_hash_destroy' undeclared (first use in this function) mod_php4.c: In function `php_merge_dir': mod_php4.c:681: `HashTable' undeclared (first use in this function) mod_php4.c:681: parse error before ')' token mod_php4.c: At top level: mod_php4.c:688: parse error before "HashTable" mod_php4.c: In function `php_apache_value_handler_ex': mod_php4.c:700: `mode' undeclared (first use in this function) mod_php4.c:702: `arg2' undeclared (first use in this function) mod_php4.c:706: `arg1' undeclared (first use in this function) mod_php4.c:717: `conf' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:724: parse error before "HashTable" mod_php4.c: In function `php_apache_value_handler': mod_php4.c:726: `cmd' undeclared (first use in this function) mod_php4.c:726: `conf' undeclared (first use in this function) mod_php4.c:726: `arg1' undeclared (first use in this function) mod_php4.c:726: `arg2' undeclared (first use in this function) mod_php4.c:726: `PHP_INI_PERDIR' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:732: parse error before "HashTable" mod_php4.c: In function `php_apache_admin_value_handler': mod_php4.c:734: `cmd' undeclared (first use in this function) mod_php4.c:734: `conf' undeclared (first use in this function) mod_php4.c:734: `arg1' undeclared (first use in this function) mod_php4.c:734: `arg2' undeclared (first use in this function) mod_php4.c:734: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:740: parse error before "HashTable" mod_php4.c: In function `php_apache_flag_handler_ex': mod_php4.c:744: `arg2' undeclared (first use in this function) mod_php4.c:751: `cmd' undeclared (first use in this function) mod_php4.c:751: `conf' undeclared (first use in this function) mod_php4.c:751: `arg1' undeclared (first use in this function) mod_php4.c:751: `mode' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:757: parse error before "HashTable" mod_php4.c: In function `php_apache_flag_handler': mod_php4.c:759: `cmd' undeclared (first use in this function) mod_php4.c:759: `conf' undeclared (first use in this function) mod_php4.c:759: `arg1' undeclared (first use in this function) mod_php4.c:759: `arg2' undeclared (first use in this function) mod_php4.c:759: `PHP_INI_PERDIR' undeclared (first use in this function) mod_php4.c: At top level: mod_php4.c:765: parse error before "HashTable" mod_php4.c: In function `php_apache_admin_flag_handler': mod_php4.c:767: `cmd' undeclared (first use in this function) mod_php4.c:767: `conf' undeclared (first use in this function) mod_php4.c:767: `arg1' undeclared (first use in this function) mod_php4.c:767: `arg2' undeclared (first use in this function) mod_php4.c:767: `PHP_INI_SYSTEM' undeclared (first use in this function) mod_php4.c: In function `php_xbithack_handler': mod_php4.c:775: `conf' undeclared (first use in this function) mod_php4.c:777: parse error before ')' token mod_php4.c: In function `apache_php_module_shutdown_wrapper': mod_php4.c:795: request for member `shutdown' in something not a structure or union mod_php4.c: In function `php_child_exit_handler': mod_php4.c:816: request for member `shutdown' in something not a structure or union mod_php4.c: In function `php_init_handler': mod_php4.c:829: `php_module_shutdown_for_exec' undeclared (first use in this function) mod_php4.c:841: `expose_php' undeclared (first use in this function) mod_php4.c:842: parse error before "PHP_VERSION" make[2]: *** [mod_php4.o] Error 1 make[1]: *** [all] Error 1 make: *** [subdirs] Error 1