/var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:292: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:294: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:303: error: syntax error before "php_stream_filter" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:303: warning: no semicolon at end of struct or union /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:306: error: syntax error before "php_stream_filter_factory" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:307: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:327: error: syntax error before "php_stream" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:340: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:345: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:349: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:352: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:355: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:359: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:363: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:366: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:369: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:372: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:375: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:381: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:384: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:387: error: syntax error before "php_stream_statbuf" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:397: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:425: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:431: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:436: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:440: warning: type defaults to `int' in declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:440: error: storage class specified for parameter `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:440: error: conflicting types for `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:161: error: previous declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:440: error: syntax error before "php_stream_stdio_ops" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:478: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:527: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:528: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:531: error: syntax error before "php_stream_wrapper" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:532: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:535: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:541: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:552: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:558: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:566: warning: type defaults to `int' in declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:566: error: storage class specified for parameter `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:566: error: redeclaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:440: error: `php_stream_ops' previously declared here /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:566: error: syntax error before "php_stream_userspace_ops" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:567: warning: type defaults to `int' in declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:567: error: storage class specified for parameter `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:567: error: redeclaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:566: error: `php_stream_ops' previously declared here /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:567: error: syntax error before "php_stream_userspace_dir_ops" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:571: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:573: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:575: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:579: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:597: error: syntax error before '*' token In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:384, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:42: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:47: warning: type defaults to `int' in declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:47: error: storage class specified for parameter `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:47: error: redeclaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_streams.h:567: error: `php_stream_ops' previously declared here /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:47: error: syntax error before "php_stream_memory_ops" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:48: warning: type defaults to `int' in declaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:48: error: storage class specified for parameter `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:48: error: redeclaration of `php_stream_ops' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:47: error: `php_stream_ops' previously declared here /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_memory_streams.h:48: error: syntax error before "php_stream_temp_ops" In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:24, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:385, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:23:26: zend_globals.h: No such file or directory In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:24, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:385, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:32: error: storage class specified for parameter `core_globals' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:43: warning: empty declaration /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:48: warning: structure defined inside parms /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:48: error: storage class specified for parameter `arg_separators' /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:51: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:51: warning: no semicolon at end of struct or union /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:63: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:76: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:81: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:101: error: syntax error before "arg_separators" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:106: error: syntax error before "HashTable" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:113: error: syntax error before "zend_llist" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:127: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:133: error: syntax error before "zend_bool" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_globals.h:144: error: syntax error before '}' token In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:385, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:26: error: syntax error before '*' token /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:27: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:29: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:30: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:31: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:33: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:35: error: syntax error before "TSRMLS_DC" /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/fopen_wrappers.h:39: error: syntax error before "END_EXTERN_C" In file included from php_mapscript_util.h:61, from php_mapscript_util.c:107: /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:389:30: tsrm_virtual_cwd.h: No such file or directory /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:391:28: zend_constants.h: No such file or directory In file included from /usr/include/dirent.h:62, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_reentrancy.h:27, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:398, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /usr/include/bits/dirent.h:35: error: syntax error before '}' token In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_reentrancy.h:27, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:398, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /usr/include/dirent.h:128: error: storage class specified for parameter `DIR' /usr/include/dirent.h:135: error: storage class specified for parameter `DIR' /usr/include/dirent.h:135: error: conflicting types for `DIR' /usr/include/dirent.h:128: error: previous declaration of `DIR' /usr/include/dirent.h:135: error: syntax error before '*' token /usr/include/dirent.h:142: error: syntax error before '*' token /usr/include/dirent.h:142: error: storage class specified for parameter `closedir' /usr/include/dirent.h:155: error: syntax error before '*' token /usr/include/dirent.h:155: error: storage class specified for parameter `readdir' /usr/include/dirent.h:175: error: syntax error before '*' token /usr/include/dirent.h:177: error: storage class specified for parameter `readdir_r' /usr/include/dirent.h:198: error: syntax error before '*' token /usr/include/dirent.h:198: error: storage class specified for parameter `rewinddir' /usr/include/dirent.h:204: error: syntax error before '*' token /usr/include/dirent.h:204: error: storage class specified for parameter `seekdir' /usr/include/dirent.h:207: error: syntax error before '*' token /usr/include/dirent.h:207: error: storage class specified for parameter `telldir' /usr/include/dirent.h:213: error: syntax error before '*' token /usr/include/dirent.h:213: error: storage class specified for parameter `dirfd' In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_reentrancy.h:27, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:398, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /usr/include/dirent.h:242: error: storage class specified for parameter `scandir' /usr/include/dirent.h:268: error: storage class specified for parameter `alphasort' /usr/include/dirent.h:312: error: storage class specified for parameter `getdirentries' In file included from /usr/include/time.h:42, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_reentrancy.h:29, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:398, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /usr/include/bits/time.h:40: error: storage class specified for parameter `__sysconf' In file included from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php_reentrancy.h:29, from /var/tmp/portage/php-cgi-4.3.8-r1/work/php-4.3.8/main/php.h:398, from php_mapscript_util.h:61, from php_mapscript_util.c:107: /usr/include/time.h:60: error: storage class specified for parameter `clock_t' /usr/include/time.h:181: error: storage class specified for parameter `clock_t' /usr/include/time.h:181: error: conflicting types for `clock_t' /usr/include/time.h:60: error: previous declaration of `clock_t' /usr/include/time.h:181: error: syntax error before "clock" /usr/include/time.h:184: error: storage class specified for parameter `time' /usr/include/time.h:188: error: storage class specified for parameter `difftime' /usr/include/time.h:191: error: storage class specified for parameter `mktime' /usr/include/time.h:199: error: storage class specified for parameter `strftime' /usr/include/time.h:229: error: storage class specified for parameter `gmtime' /usr/include/time.h:233: error: storage class specified for parameter `localtime' /usr/include/time.h:240: error: storage class specified for parameter `gmtime_r' /usr/include/time.h:245: error: storage class specified for parameter `localtime_r' /usr/include/time.h:251: error: storage class specified for parameter `asctime' /usr/include/time.h:254: error: storage class specified for parameter `ctime' /usr/include/time.h:263: error: storage class specified for parameter `asctime_r' /usr/include/time.h:267: error: storage class specified for parameter `ctime_r' /usr/include/time.h:272: error: storage class specified for parameter `__tzname' /usr/include/time.h:273: error: storage class specified for parameter `__daylight' /usr/include/time.h:274: error: storage class specified for parameter `__timezone' /usr/include/time.h:279: error: storage class specified for parameter `tzname' /usr/include/time.h:283: error: storage class specified for parameter `tzset' /usr/include/time.h:287: error: storage class specified for parameter `daylight' /usr/include/time.h:288: error: storage class specified for parameter `timezone' /usr/include/time.h:294: error: storage class specified for parameter `stime' /usr/include/time.h:309: error: storage class specified for parameter `timegm' /usr/include/time.h:312: error: storage class specified for parameter `timelocal' /usr/include/time.h:315: error: storage class specified for parameter `dysize' /usr/include/time.h:325: error: storage class specified for parameter `nanosleep' /usr/include/time.h:329: error: storage class specified for parameter `clock_getres' /usr/include/time.h:332: error: storage class specified for parameter `clock_gettime' /usr/include/time.h:336: error: storage class specified for parameter `clock_settime' /usr/include/time.h:355: error: storage class specified for parameter `timer_create' /usr/include/time.h:358: error: storage class specified for parameter `timer_delete' /usr/include/time.h:363: error: storage class specified for parameter `timer_settime' /usr/include/time.h:367: error: storage class specified for parameter `timer_gettime' /usr/include/time.h:370: error: storage class specified for parameter `timer_getoverrun' In file included from php_mapscript_util.c:107: php_mapscript_util.h:128: error: syntax error before '*' token php_mapscript_util.h:143: error: syntax error before '*' token php_mapscript_util.h:147: error: syntax error before '*' token php_mapscript_util.h:150: error: syntax error before '*' token php_mapscript_util.h:153: error: syntax error before '*' token php_mapscript_util.h:156: error: syntax error before '*' token php_mapscript_util.h:158: error: syntax error before '*' token php_mapscript_util.h:160: error: syntax error before '*' token php_mapscript_util.h:162: error: syntax error before '*' token php_mapscript_util.h:164: error: syntax error before '*' token php_mapscript_util.h:166: error: syntax error before '*' token php_mapscript_util.h:167: error: syntax error before '*' token php_mapscript_util.h:169: error: syntax error before '*' token php_mapscript_util.h:171: error: syntax error before '*' token php_mapscript_util.h:174: error: syntax error before '*' token In file included from php_mapscript_util.c:108: /tmp/mapserver-4.2.3/maperror.h:59: warning: structure defined inside parms /tmp/mapserver-4.2.3/maperror.h:59: error: storage class specified for parameter `errorObj' /tmp/mapserver-4.2.3/maperror.h:69: error: syntax error before "errorObj" /tmp/mapserver-4.2.3/maperror.h:80: warning: empty declaration php_mapscript_util.c:118: error: redeclaration of `_phpms_report_mapserver_error' php_mapscript_util.h:141: error: `_phpms_report_mapserver_error' previously declared here php_mapscript_util.c:118: error: syntax error before '{' token php_mapscript_util.c:144: error: parameter `retVal' is initialized php_mapscript_util.c:146: error: syntax error before "if" php_mapscript_util.c:195: error: parameter `retVal' is initialized php_mapscript_util.c:195: error: redeclaration of `retVal' php_mapscript_util.c:144: error: `retVal' previously declared here php_mapscript_util.c:198: error: syntax error before "if" php_mapscript_util.c:540: error: parameter `string_key' is initialized php_mapscript_util.c:542: error: parameter `i' is initialized php_mapscript_util.c:544: error: syntax error before "for" make[1]: *** [php_mapscript_util.o] Error 1 make[1]: Leaving directory `/tmp/mapserver-4.2.3/mapscript/php3' rubidium mapserver-4.2.3 #