mapserver update
R. Ortner
reinhard.ortner at EDU.FH-KAERNTEN.AC.AT
Thu Dec 20 02:11:53 PST 2007
PHP: Version 5.2.3
here´s the whole output from the make command in mapserver/php3:
> root at umnmapserver:/tmp/Mapserver5/mapserver-5.0.0/mapscript/php3# make
> gcc -fPIC -O2 -fPIC -Wall -DCOMPILE_DL=1 -DPHP4
> -DNEED_NONBLOCKING_STDERR -DUSE_WMS_LYR -DUSE_SOS_SVR -DUSE_WCS_SVR
> -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_POSTGIS -DUSE_GDAL -DUSE_OGR
> -DUSE_GEOS -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_PDF -DUSE_GD_GIF
> -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW
> -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB
> -I/tmp/Mapserver5/mapserver-5.0.0 -I/usr/include/libxml2
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include
> -I/usr/include/php/main/ -I/usr/include/php/main//dl
> -I/usr/include/php/main//main -I/usr/include/php/main//Zend
> -I/usr/include/php/main//include -I/usr/include/php/main//TSRM -c -o
> php_mapscript_util.o php_mapscript_util.c
> In file included from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php.h:34:18: zend.h: No such file or directory
> /usr/include/php/main/php.h:35:24: zend_qsort.h: No such file or directory
> /usr/include/php/main/php.h:38:22: zend_API.h: No such file or directory
> In file included from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php.h:126: warning: return type defaults to `int'
> /usr/include/php/main/php.h: In function `BEGIN_EXTERN_C':
> /usr/include/php/main/php.h:127: error: syntax error before "END_EXTERN_C"
> In file included from /usr/include/php/main/php.h:161,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/ctype.h:82: error: storage class specified for parameter
> `__ctype_b_loc'
> /usr/include/ctype.h:84: error: storage class specified for parameter
> `__ctype_tolower_loc'
> /usr/include/ctype.h:86: error: storage class specified for parameter
> `__ctype_toupper_loc'
> /usr/include/ctype.h:102: error: storage class specified for parameter
> `isalnum'
> /usr/include/ctype.h:103: error: storage class specified for parameter
> `isalpha'
> /usr/include/ctype.h:104: error: storage class specified for parameter
> `iscntrl'
> /usr/include/ctype.h:105: error: storage class specified for parameter
> `isdigit'
> /usr/include/ctype.h:106: error: storage class specified for parameter
> `islower'
> /usr/include/ctype.h:107: error: storage class specified for parameter
> `isgraph'
> /usr/include/ctype.h:108: error: storage class specified for parameter
> `isprint'
> /usr/include/ctype.h:109: error: storage class specified for parameter
> `ispunct'
> /usr/include/ctype.h:110: error: storage class specified for parameter
> `isspace'
> /usr/include/ctype.h:111: error: storage class specified for parameter
> `isupper'
> /usr/include/ctype.h:112: error: storage class specified for parameter
> `isxdigit'
> /usr/include/ctype.h:116: error: storage class specified for parameter
> `tolower'
> /usr/include/ctype.h:119: error: storage class specified for parameter
> `toupper'
> /usr/include/ctype.h:142: error: storage class specified for parameter
> `isascii'
> /usr/include/ctype.h:146: error: storage class specified for parameter
> `toascii'
> /usr/include/ctype.h:150: error: storage class specified for parameter
> `_toupper'
> /usr/include/ctype.h:151: error: storage class specified for parameter
> `_tolower'
> /usr/include/ctype.h:192: error: storage class specified for parameter
> `tolower'
> /usr/include/ctype.h:192: error: redefinition of parameter 'tolower'
> /usr/include/ctype.h:116: error: previous definition of 'tolower' was here
> /usr/include/ctype.h:192: error: syntax error before '{' token
> In file included from /usr/include/php/main/php.h:163,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/unistd.h:243: error: storage class specified for parameter
> `socklen_t'
> /usr/include/unistd.h:256: error: storage class specified for parameter
> `access'
> /usr/include/unistd.h:287: error: storage class specified for parameter
> `lseek'
> /usr/include/unistd.h:305: error: storage class specified for parameter
> `close'
> /usr/include/unistd.h:312: error: storage class specified for parameter
> `read'
> /usr/include/unistd.h:318: error: storage class specified for parameter
> `write'
> /usr/include/unistd.h:369: error: storage class specified for parameter
> `pipe'
> /usr/include/unistd.h:378: error: storage class specified for parameter
> `alarm'
> /usr/include/unistd.h:390: error: storage class specified for parameter
> `sleep'
> /usr/include/unistd.h:398: error: storage class specified for parameter
> `ualarm'
> /usr/include/unistd.h:405: error: storage class specified for parameter
> `usleep'
> /usr/include/unistd.h:414: error: storage class specified for parameter
> `pause'
> /usr/include/unistd.h:419: error: storage class specified for parameter
> `chown'
> /usr/include/unistd.h:423: error: storage class specified for parameter
> `fchown'
> /usr/include/unistd.h:429: error: storage class specified for parameter
> `lchown'
> /usr/include/unistd.h:434: error: storage class specified for parameter
> `chdir'
> /usr/include/unistd.h:438: error: storage class specified for parameter
> `fchdir'
> /usr/include/unistd.h:448: error: storage class specified for parameter
> `getcwd'
> /usr/include/unistd.h:461: error: storage class specified for parameter
> `getwd'
> /usr/include/unistd.h:466: error: storage class specified for parameter
> `dup'
> /usr/include/unistd.h:469: error: storage class specified for parameter
> `dup2'
> /usr/include/unistd.h:472: error: storage class specified for parameter
> `__environ'
> /usr/include/unistd.h:481: error: storage class specified for parameter
> `execve'
> /usr/include/unistd.h:493: error: storage class specified for parameter
> `execv'
> /usr/include/unistd.h:498: error: storage class specified for parameter
> `execle'
> /usr/include/unistd.h:503: error: storage class specified for parameter
> `execl'
> /usr/include/unistd.h:508: error: storage class specified for parameter
> `execvp'
> /usr/include/unistd.h:514: error: storage class specified for parameter
> `execlp'
> /usr/include/unistd.h:519: error: storage class specified for parameter
> `nice'
> /usr/include/unistd.h:524: error: storage class specified for parameter
> `_exit'
> In file included from /usr/include/php/main/php.h:163,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/unistd.h:534: error: storage class specified for parameter
> `pathconf'
> /usr/include/unistd.h:537: error: storage class specified for parameter
> `fpathconf'
> /usr/include/unistd.h:540: error: storage class specified for parameter
> `sysconf'
> /usr/include/unistd.h:544: error: storage class specified for parameter
> `confstr'
> /usr/include/unistd.h:549: error: storage class specified for parameter
> `getpid'
> /usr/include/unistd.h:552: error: storage class specified for parameter
> `getppid'
> /usr/include/unistd.h:557: error: storage class specified for parameter
> `getpgrp'
> /usr/include/unistd.h:567: error: storage class specified for parameter
> `__getpgid'
> /usr/include/unistd.h:576: error: storage class specified for parameter
> `setpgid'
> /usr/include/unistd.h:593: error: storage class specified for parameter
> `setpgrp'
> /usr/include/unistd.h:610: error: storage class specified for parameter
> `setsid'
> /usr/include/unistd.h:618: error: storage class specified for parameter
> `getuid'
> /usr/include/unistd.h:621: error: storage class specified for parameter
> `geteuid'
> /usr/include/unistd.h:624: error: storage class specified for parameter
> `getgid'
> /usr/include/unistd.h:627: error: storage class specified for parameter
> `getegid'
> /usr/include/unistd.h:632: error: storage class specified for parameter
> `getgroups'
> /usr/include/unistd.h:643: error: storage class specified for parameter
> `setuid'
> /usr/include/unistd.h:648: error: storage class specified for parameter
> `setreuid'
> /usr/include/unistd.h:653: error: storage class specified for parameter
> `seteuid'
> /usr/include/unistd.h:660: error: storage class specified for parameter
> `setgid'
> /usr/include/unistd.h:665: error: storage class specified for parameter
> `setregid'
> /usr/include/unistd.h:670: error: storage class specified for parameter
> `setegid'
> /usr/include/unistd.h:695: error: storage class specified for parameter
> `fork'
> /usr/include/unistd.h:702: error: storage class specified for parameter
> `vfork'
> /usr/include/unistd.h:708: error: storage class specified for parameter
> `ttyname'
> /usr/include/unistd.h:713: error: storage class specified for parameter
> `ttyname_r'
> /usr/include/unistd.h:717: error: storage class specified for parameter
> `isatty'
> /usr/include/unistd.h:723: error: storage class specified for parameter
> `ttyslot'
> /usr/include/unistd.h:729: error: storage class specified for parameter
> `link'
> /usr/include/unistd.h:734: error: storage class specified for parameter
> `symlink'
> /usr/include/unistd.h:740: error: storage class specified for parameter
> `readlink'
> /usr/include/unistd.h:744: error: storage class specified for parameter
> `unlink'
> /usr/include/unistd.h:747: error: storage class specified for parameter
> `rmdir'
> /usr/include/unistd.h:751: error: storage class specified for parameter
> `tcgetpgrp'
> /usr/include/unistd.h:754: error: storage class specified for parameter
> `tcsetpgrp'
> /usr/include/unistd.h:761: error: storage class specified for parameter
> `getlogin'
> /usr/include/unistd.h:774: error: storage class specified for parameter
> `setlogin'
> In file included from /usr/include/unistd.h:783,
> from /usr/include/php/main/php.h:163,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/getopt.h:59: error: storage class specified for parameter
> `optarg'
> /usr/include/getopt.h:73: error: storage class specified for parameter
> `optind'
> /usr/include/getopt.h:78: error: storage class specified for parameter
> `opterr'
> /usr/include/getopt.h:82: error: storage class specified for parameter
> `optopt'
> /usr/include/getopt.h:153: error: storage class specified for parameter
> `getopt'
> In file included from /usr/include/php/main/php.h:163,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/unistd.h:791: error: storage class specified for parameter
> `gethostname'
> /usr/include/unistd.h:799: error: storage class specified for parameter
> `sethostname'
> /usr/include/unistd.h:803: error: storage class specified for parameter
> `sethostid'
> /usr/include/unistd.h:810: error: storage class specified for parameter
> `getdomainname'
> /usr/include/unistd.h:812: error: storage class specified for parameter
> `setdomainname'
> /usr/include/unistd.h:818: error: storage class specified for parameter
> `vhangup'
> /usr/include/unistd.h:821: error: storage class specified for parameter
> `revoke'
> /usr/include/unistd.h:831: error: storage class specified for parameter
> `profil'
> /usr/include/unistd.h:837: error: storage class specified for parameter
> `acct'
> /usr/include/unistd.h:841: error: storage class specified for parameter
> `getusershell'
> /usr/include/unistd.h:842: error: storage class specified for parameter
> `endusershell'
> /usr/include/unistd.h:843: error: storage class specified for parameter
> `setusershell'
> /usr/include/unistd.h:849: error: storage class specified for parameter
> `daemon'
> /usr/include/unistd.h:856: error: storage class specified for parameter
> `chroot'
> /usr/include/unistd.h:860: error: storage class specified for parameter
> `getpass'
> /usr/include/unistd.h:869: error: storage class specified for parameter
> `fsync'
> /usr/include/unistd.h:876: error: storage class specified for parameter
> `gethostid'
> /usr/include/unistd.h:879: error: storage class specified for parameter
> `sync'
> /usr/include/unistd.h:884: error: storage class specified for parameter
> `getpagesize'
> /usr/include/unistd.h:889: error: storage class specified for parameter
> `getdtablesize'
> /usr/include/unistd.h:895: error: storage class specified for parameter
> `truncate'
> /usr/include/unistd.h:916: error: storage class specified for parameter
> `ftruncate'
> /usr/include/unistd.h:936: error: storage class specified for parameter
> `brk'
> /usr/include/unistd.h:942: error: syntax error before "__delta"
> /usr/include/unistd.h:942: error: storage class specified for parameter
> `sbrk'
> /usr/include/unistd.h:957: error: storage class specified for parameter
> `syscall'
> /usr/include/unistd.h:980: error: storage class specified for parameter
> `lockf'
> /usr/include/unistd.h:1011: error: storage class specified for parameter
> `fdatasync'
> In file included from /usr/include/php/main/php.h:166,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include/stdarg.h:43: error:
> storage class specified for parameter `__gnuc_va_list'
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include/stdarg.h:105: error:
> storage class specified for parameter `__gnuc_va_list'
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include/stdarg.h:105: error:
> conflicting types for '__gnuc_va_list'
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include/stdarg.h:43: error:
> previous definition of '__gnuc_va_list' was here
> /usr/lib/gcc/i486-slackware-linux/3.4.6/include/stdarg.h:105: error:
> syntax error before "va_list"
> /usr/include/php/main/php.h:174:23: zend_hash.h: No such file or directory
> In file included from /usr/include/php/main/php.h:175,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php3_compat.h:24: warning: type defaults to `int' in
> declaration of `zval'
> /usr/include/php/main/php3_compat.h:24: error: storage class specified for
> parameter `zval'
> /usr/include/php/main/php3_compat.h:24: error: syntax error before "pval"
> /usr/include/php/main/php.h:176:24: zend_alloc.h: No such file or
> directory
> /usr/include/php/main/php.h:177:24: zend_stack.h: No such file or
> directory
> In file included from /usr/include/php/main/php.h:190,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/safe_mode.h:39: error: syntax error before
> "END_EXTERN_C"
> /usr/include/php/main/php.h:197:31: regex/regex_extra.h: No such file or
> directory
> In file included from /usr/include/php/main/php.h:204,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/pwd.h:59: error: syntax error before '}' token
> In file included from /usr/include/pwd.h:64,
> from /usr/include/php/main/php.h:204,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/stdio.h:46: error: storage class specified for parameter
> `FILE'
> In file included from /usr/include/php/main/php.h:204,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/pwd.h:73: error: storage class specified for parameter
> `setpwent'
> /usr/include/pwd.h:79: error: storage class specified for parameter
> `endpwent'
> /usr/include/pwd.h:85: error: storage class specified for parameter
> `getpwent'
> /usr/include/pwd.h:95: error: syntax error before '*' token
> /usr/include/pwd.h:95: error: storage class specified for parameter
> `fgetpwent'
> /usr/include/pwd.h:104: error: syntax error before "FILE"
> /usr/include/pwd.h:104: error: storage class specified for parameter
> `putpwent'
> /usr/include/pwd.h:111: error: storage class specified for parameter
> `getpwuid'
> /usr/include/pwd.h:117: error: storage class specified for parameter
> `getpwnam'
> /usr/include/pwd.h:142: error: storage class specified for parameter
> `getpwent_r'
> /usr/include/pwd.h:148: error: storage class specified for parameter
> `getpwuid_r'
> /usr/include/pwd.h:153: error: storage class specified for parameter
> `getpwnam_r'
> /usr/include/pwd.h:164: error: syntax error before '*' token
> /usr/include/pwd.h:167: error: storage class specified for parameter
> `fgetpwent_r'
> In file included from /usr/include/php/main/php.h:234,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/snprintf.h:77: warning: enum defined inside parms
> /usr/include/php/main/snprintf.h:77: error: storage class specified for
> parameter `boolean_e'
> /usr/include/php/main/snprintf.h:80: error: syntax error before
> "BEGIN_EXTERN_C"
> /usr/include/php/main/snprintf.h:82: error: syntax error before "va_list"
> /usr/include/php/main/snprintf.h:84: error: syntax error before "va_list"
> /usr/include/php/main/snprintf.h:85: error: syntax error before
> "ZEND_ATTRIBUTE_FORMAT"
> /usr/include/php/main/snprintf.h:88: error: syntax error before
> "boolean_e"
> /usr/include/php/main/snprintf.h:142: error: storage class specified for
> parameter `wide_int'
> /usr/include/php/main/snprintf.h:143: error: storage class specified for
> parameter `u_wide_int'
> /usr/include/php/main/snprintf.h:145: warning: type defaults to `int' in
> declaration of `wide_int'
> /usr/include/php/main/snprintf.h:145: error: syntax error before "num"
> /usr/include/php/main/snprintf.h:146: error: storage class specified for
> parameter `ap_php_conv_10'
> /usr/include/php/main/snprintf.h:148: warning: type defaults to `int' in
> declaration of `u_wide_int'
> /usr/include/php/main/snprintf.h:148: error: syntax error before "num"
> /usr/include/php/main/snprintf.h:149: error: storage class specified for
> parameter `ap_php_conv_p2'
> In file included from /usr/include/php/main/php.h:236,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/spprintf.h:42: error: syntax error before "va_list"
> In file included from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php.h:273: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:274: error: syntax error before
> "ZEND_ATTRIBUTE_FORMAT"
> /usr/include/php/main/php.h:276: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:277: error: syntax error before
> "ZEND_ATTRIBUTE_FORMAT"
> /usr/include/php/main/php.h:279: error: syntax error before "END_EXTERN_C"
> /usr/include/php/main/php.h:293: error: syntax error before "va_list"
> /usr/include/php/main/php.h:302: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:304: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:306: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:325: error: syntax error before "TSRMLS_DC"
> /usr/include/php/main/php.h:333: warning: parameter names (without types)
> in function declaration
> /usr/include/php/main/php.h:334: error: syntax error before "END_EXTERN_C"
> /usr/include/php/main/php.h:387:29: main/php_output.h: No such file or
> directory
> In file included from /usr/include/php/main/php_streams.h:25,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/sys/time.h:60: error: syntax error before '}' token
> /usr/include/sys/time.h:62: error: storage class specified for parameter
> `__timezone_ptr_t'
> /usr/include/sys/time.h:73: error: syntax error before "__timezone_ptr_t"
> /usr/include/sys/time.h:73: error: storage class specified for parameter
> `gettimeofday'
> /usr/include/sys/time.h:79: error: storage class specified for parameter
> `settimeofday'
> /usr/include/sys/time.h:86: error: storage class specified for parameter
> `adjtime'
> /usr/include/sys/time.h:120: error: storage class specified for parameter
> `__itimer_which_t'
> /usr/include/sys/time.h:125: error: syntax error before "__which"
> /usr/include/sys/time.h:126: error: storage class specified for parameter
> `getitimer'
> /usr/include/sys/time.h:131: error: syntax error before "__which"
> /usr/include/sys/time.h:133: error: storage class specified for parameter
> `setitimer'
> /usr/include/sys/time.h:139: error: storage class specified for parameter
> `utimes'
> /usr/include/sys/time.h:144: error: storage class specified for parameter
> `lutimes'
> /usr/include/sys/time.h:147: error: storage class specified for parameter
> `futimes'
> In file included from /usr/include/php/main/php_streams.h:28,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/sys/stat.h:208: error: storage class specified for parameter
> `stat'
> /usr/include/sys/stat.h:212: error: storage class specified for parameter
> `fstat'
> /usr/include/sys/stat.h:236: error: storage class specified for parameter
> `lstat'
> /usr/include/sys/stat.h:257: error: storage class specified for parameter
> `chmod'
> /usr/include/sys/stat.h:264: error: storage class specified for parameter
> `lchmod'
> /usr/include/sys/stat.h:269: error: storage class specified for parameter
> `fchmod'
> /usr/include/sys/stat.h:275: error: storage class specified for parameter
> `umask'
> /usr/include/sys/stat.h:285: error: storage class specified for parameter
> `mkdir'
> /usr/include/sys/stat.h:292: error: storage class specified for parameter
> `mknod'
> /usr/include/sys/stat.h:298: error: storage class specified for parameter
> `mkfifo'
> /usr/include/sys/stat.h:325: error: storage class specified for parameter
> `__fxstat'
> /usr/include/sys/stat.h:327: error: storage class specified for parameter
> `__xstat'
> /usr/include/sys/stat.h:329: error: storage class specified for parameter
> `__lxstat'
> /usr/include/sys/stat.h:358: error: storage class specified for parameter
> `__xmknod'
> /usr/include/sys/stat.h:365: error: storage class specified for parameter
> `stat'
> /usr/include/sys/stat.h:365: error: redefinition of parameter 'stat'
> /usr/include/sys/stat.h:208: error: previous definition of 'stat' was here
> /usr/include/sys/stat.h:365: error: syntax error before '{' token
> In file included from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_streams.h:34: error: syntax error before
> "END_EXTERN_C"
> /usr/include/php/main/php_streams.h:99: error: storage class specified for
> parameter `php_stream_wrapper'
> /usr/include/php/main/php_streams.h:100: error: storage class specified
> for parameter `php_stream_context'
> /usr/include/php/main/php_streams.h:101: error: storage class specified
> for parameter `php_stream_filter'
> In file included from /usr/include/php/main/php_streams.h:103,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_context.h:24: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:28: error: storage
> class specified for parameter `php_stream_notification_func'
> /usr/include/php/main/streams/php_stream_context.h:43: error: storage
> class specified for parameter `php_stream_notifier'
> /usr/include/php/main/streams/php_stream_context.h:46: error: syntax error
> before "php_stream_notification_func"
> /usr/include/php/main/streams/php_stream_context.h:46: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_context.h:47: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:51: error: syntax error
> before '}' token
> /usr/include/php/main/streams/php_stream_context.h:54: error: syntax error
> before "php_stream_notifier"
> /usr/include/php/main/streams/php_stream_context.h:54: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_context.h:58: error: syntax error
> before '}' token
> /usr/include/php/main/streams/php_stream_context.h:63: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:65: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:68: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:70: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:72: error: syntax error
> before '*' token
> /usr/include/php/main/streams/php_stream_context.h:76: error: syntax error
> before '*' token
> In file included from /usr/include/php/main/php_streams.h:104,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_filter_api.h:42: error: storage
> class specified for parameter `php_stream_bucket_brigade'
> /usr/include/php/main/streams/php_stream_filter_api.h:45: error: syntax
> error before "php_stream_bucket"
> /usr/include/php/main/streams/php_stream_filter_api.h:45: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_filter_api.h:56: error: syntax
> error before '}' token
> /usr/include/php/main/streams/php_stream_filter_api.h:59: error: syntax
> error before "php_stream_bucket"
> /usr/include/php/main/streams/php_stream_filter_api.h:59: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_filter_api.h:66: warning: enum
> defined inside parms
> /usr/include/php/main/streams/php_stream_filter_api.h:66: error: storage
> class specified for parameter `php_stream_filter_status_t'
> /usr/include/php/main/streams/php_stream_filter_api.h:69: error: syntax
> error before "BEGIN_EXTERN_C"
> /usr/include/php/main/streams/php_stream_filter_api.h:71: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:72: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:74: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:75: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:76: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:95: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:95: error:
> redefinition of parameter 'dtor'
> /usr/include/php/main/streams/php_stream_context.h:47: error: previous
> definition of 'dtor' was here
> /usr/include/php/main/streams/php_stream_filter_api.h:99: error: syntax
> error before '}' token
> /usr/include/php/main/streams/php_stream_filter_api.h:102: error: syntax
> error before "php_stream_filter"
> /usr/include/php/main/streams/php_stream_filter_api.h:102: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_filter_api.h:109: error: syntax
> error before "php_stream_filter_ops"
> /usr/include/php/main/streams/php_stream_filter_api.h:109: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_filter_api.h:111: error: syntax
> error before "php_stream_filter"
> /usr/include/php/main/streams/php_stream_filter_api.h:113: error:
> redefinition of parameter 'is_persistent'
> /usr/include/php/main/streams/php_stream_filter_api.h:52: error: previous
> definition of 'is_persistent' was here
> /usr/include/php/main/streams/php_stream_filter_api.h:116: error: syntax
> error before "php_stream_filter_chain"
> /usr/include/php/main/streams/php_stream_filter_api.h:122: error:
> redefinition of parameter 'rsrc_id'
> /usr/include/php/main/streams/php_stream_context.h:57: error: previous
> definition of 'rsrc_id' was here
> /usr/include/php/main/streams/php_stream_filter_api.h:123: error: syntax
> error before '}' token
> /usr/include/php/main/streams/php_stream_filter_api.h:128: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:129: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:131: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_filter_api.h:148: error: syntax
> error before "TSRMLS_DC"
> /usr/include/php/main/streams/php_stream_filter_api.h:149: error: syntax
> error before "php_stream_filter_factory"
> In file included from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_streams.h:113: warning: structure defined inside
> parms
> /usr/include/php/main/php_streams.h:113: error: storage class specified
> for parameter `php_stream_dirent'
> /usr/include/php/main/php_streams.h:118: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:119: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:120: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:121: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:126: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:127: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:128: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:129: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:130: warning: structure defined inside
> parms
> /usr/include/php/main/php_streams.h:130: error: storage class specified
> for parameter `php_stream_ops'
> /usr/include/php/main/php_streams.h:134: error: syntax error before
> "php_stream"
> /usr/include/php/main/php_streams.h:134: warning: no semicolon at end of
> struct or union
> /usr/include/php/main/php_streams.h:137: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:139: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:141: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:146: error: redefinition of parameter
> 'label'
> /usr/include/php/main/streams/php_stream_filter_api.h:97: error: previous
> definition of 'label' was here
> /usr/include/php/main/php_streams.h:149: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:149: error: redefinition of parameter
> 'unlink'
> /usr/include/unistd.h:744: error: previous definition of 'unlink' was here
> /usr/include/php/main/php_streams.h:152: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:155: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:156: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:160: error: syntax error before
> "php_stream_wrapper_ops"
> /usr/include/php/main/php_streams.h:160: warning: no semicolon at end of
> struct or union
> /usr/include/php/main/php_streams.h:161: error: redefinition of parameter
> 'abstract'
> /usr/include/php/main/streams/php_stream_filter_api.h:110: error: previous
> definition of 'abstract' was here
> /usr/include/php/main/php_streams.h:167: error: syntax error before '}'
> token
> /usr/include/php/main/php_streams.h:185: error: syntax error before
> "php_stream_ops"
> /usr/include/php/main/php_streams.h:185: warning: no semicolon at end of
> struct or union
> /usr/include/php/main/php_streams.h:186: error: redefinition of parameter
> 'abstract'
> /usr/include/php/main/php_streams.h:161: error: previous definition of
> 'abstract' was here
> /usr/include/php/main/php_streams.h:188: error: syntax error before
> "php_stream_filter_chain"
> /usr/include/php/main/php_streams.h:192: error: syntax error before "zval"
> /usr/include/php/main/php_streams.h:195: error: redefinition of parameter
> 'is_persistent'
> /usr/include/php/main/streams/php_stream_filter_api.h:113: error: previous
> definition of 'is_persistent' was here
> /usr/include/php/main/php_streams.h:197: error: redefinition of parameter
> 'rsrc_id'
> /usr/include/php/main/streams/php_stream_filter_api.h:122: error: previous
> definition of 'rsrc_id' was here
> /usr/include/php/main/php_streams.h:202: error: syntax error before "FILE"
> /usr/include/php/main/php_streams.h:208: error: syntax error before
> "php_stream_context"
> /usr/include/php/main/php_streams.h:223: error: syntax error before '}'
> token
> /usr/include/php/main/php_streams.h:268: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:273: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:277: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:280: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:283: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:287: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:291: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:294: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:297: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:300: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:303: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:307: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:310: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:313: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:316: error: syntax error before
> "php_stream_statbuf"
> /usr/include/php/main/php_streams.h:320: error: syntax error before
> "php_stream_context"
> /usr/include/php/main/php_streams.h:323: error: syntax error before
> "php_stream_context"
> /usr/include/php/main/php_streams.h:336: error: syntax error before
> "php_stream_context"
> /usr/include/php/main/php_streams.h:337: error: `_php_stream_scandir'
> declared as function returning a function
> /usr/include/php/main/php_streams.h:337: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/php_streams.h:340: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:422: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:427: error: syntax error before '*'
> token
> In file included from /usr/include/sys/uio.h:29,
> from /usr/include/sys/socket.h:27,
> from
> /usr/include/php/main/streams/php_stream_transport.h:22,
> from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/bits/uio.h:46: error: syntax error before '}' token
> In file included from /usr/include/sys/socket.h:27,
> from
> /usr/include/php/main/streams/php_stream_transport.h:22,
> from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/sys/uio.h:40: error: storage class specified for parameter
> `readv'
> /usr/include/sys/uio.h:50: error: storage class specified for parameter
> `writev'
> In file included from /usr/include/bits/socket.h:142,
> from /usr/include/sys/socket.h:35,
> from
> /usr/include/php/main/streams/php_stream_transport.h:22,
> from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/bits/sockaddr.h:29: error: storage class specified for
> parameter `sa_family_t'
> In file included from /usr/include/sys/socket.h:35,
> from
> /usr/include/php/main/streams/php_stream_transport.h:22,
> from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/bits/socket.h:147: error: syntax error before "sa_family_t"
> /usr/include/bits/socket.h:149: error: syntax error before '}' token
> /usr/include/bits/socket.h:164: error: syntax error before "sa_family_t"
> /usr/include/bits/socket.h:167: error: syntax error before '}' token
> /usr/include/bits/socket.h:218: error: syntax error before "socklen_t"
> /usr/include/bits/socket.h:227: error: syntax error before '}' token
> /usr/include/bits/socket.h:258: error: storage class specified for
> parameter `__cmsg_nxthdr'
> /usr/include/bits/socket.h:265: error: storage class specified for
> parameter `__cmsg_nxthdr'
> /usr/include/bits/socket.h:265: error: redefinition of parameter
> '__cmsg_nxthdr'
> /usr/include/bits/socket.h:258: error: previous definition of
> '__cmsg_nxthdr' was here
> /usr/include/bits/socket.h:265: error: syntax error before '{' token
> In file included from
> /usr/include/php/main/streams/php_stream_transport.h:22,
> from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/sys/socket.h:100: error: storage class specified for
> parameter `socket'
> /usr/include/sys/socket.h:107: error: storage class specified for
> parameter `socketpair'
> /usr/include/sys/socket.h:110: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:111: error: storage class specified for
> parameter `bind'
> /usr/include/sys/socket.h:115: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:115: error: storage class specified for
> parameter `getsockname'
> /usr/include/sys/socket.h:124: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:124: error: storage class specified for
> parameter `connect'
> /usr/include/sys/socket.h:129: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:129: error: storage class specified for
> parameter `getpeername'
> /usr/include/sys/socket.h:136: error: storage class specified for
> parameter `send'
> /usr/include/sys/socket.h:143: error: storage class specified for
> parameter `recv'
> /usr/include/sys/socket.h:152: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:152: error: storage class specified for
> parameter `sendto'
> /usr/include/sys/socket.h:163: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:163: error: storage class specified for
> parameter `recvfrom'
> /usr/include/sys/socket.h:172: error: storage class specified for
> parameter `sendmsg'
> /usr/include/sys/socket.h:179: error: storage class specified for
> parameter `recvmsg'
> /usr/include/sys/socket.h:187: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:187: error: storage class specified for
> parameter `getsockopt'
> /usr/include/sys/socket.h:193: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:193: error: storage class specified for
> parameter `setsockopt'
> /usr/include/sys/socket.h:199: error: storage class specified for
> parameter `listen'
> /usr/include/sys/socket.h:210: error: syntax error before "socklen_t"
> /usr/include/sys/socket.h:210: error: storage class specified for
> parameter `accept'
> /usr/include/sys/socket.h:218: error: storage class specified for
> parameter `shutdown'
> /usr/include/sys/socket.h:231: error: storage class specified for
> parameter `isfdtype'
> In file included from /usr/include/php/main/php_streams.h:431,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_transport.h:25: warning: type
> defaults to `int' in declaration of `php_stream'
> /usr/include/php/main/streams/php_stream_transport.h:25: error: storage
> class specified for parameter `php_stream'
> /usr/include/php/main/streams/php_stream_transport.h:25: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:30: warning: type
> defaults to `int' in declaration of `php_stream_transport_factory_func'
> /usr/include/php/main/streams/php_stream_transport.h:30: error: storage
> class specified for parameter `php_stream_transport_factory_func'
> /usr/include/php/main/streams/php_stream_transport.h:30: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:34: error: syntax
> error before "TSRMLS_DC"
> /usr/include/php/main/streams/php_stream_transport.h:57: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:63: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:72: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:79: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:87: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:95: warning: enum
> defined inside parms
> /usr/include/php/main/streams/php_stream_transport.h:95: warning: empty
> declaration
> /usr/include/php/main/streams/php_stream_transport.h:99: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:105: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:112: warning: enum
> defined inside parms
> /usr/include/php/main/streams/php_stream_transport.h:112: error: storage
> class specified for parameter `stream_shutdown_t'
> /usr/include/php/main/streams/php_stream_transport.h:116: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:133: error: syntax
> error before ':' token
> /usr/include/php/main/streams/php_stream_transport.h:134: error: syntax
> error before ':' token
> /usr/include/php/main/streams/php_stream_transport.h:135: error: syntax
> error before ':' token
> /usr/include/php/main/streams/php_stream_transport.h:136: error: syntax
> error before ':' token
> /usr/include/php/main/streams/php_stream_transport.h:144: error: syntax
> error before "socklen_t"
> /usr/include/php/main/streams/php_stream_transport.h:144: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_transport.h:145: error:
> redefinition of parameter 'buf'
> /usr/include/php/main/streams/php_stream_filter_api.h:48: error: previous
> definition of 'buf' was here
> /usr/include/php/main/streams/php_stream_transport.h:146: error:
> redefinition of parameter 'buflen'
> /usr/include/php/main/streams/php_stream_filter_api.h:49: error: previous
> definition of 'buflen' was here
> /usr/include/php/main/streams/php_stream_transport.h:147: error:
> conflicting types for 'flags'
> /usr/include/php/main/php_streams.h:209: error: previous definition of
> 'flags' was here
> /usr/include/php/main/streams/php_stream_transport.h:148: error: syntax
> error before '}' token
> /usr/include/php/main/streams/php_stream_transport.h:150: error: syntax
> error before "php_stream"
> /usr/include/php/main/streams/php_stream_transport.h:150: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_transport.h:153: error: syntax
> error before "socklen_t"
> /usr/include/php/main/streams/php_stream_transport.h:159: error: syntax
> error before '}' token
> /usr/include/php/main/streams/php_stream_transport.h:173: warning: enum
> defined inside parms
> /usr/include/php/main/streams/php_stream_transport.h:173: error: storage
> class specified for parameter `php_stream_xport_crypt_method_t'
> /usr/include/php/main/streams/php_stream_transport.h:175: error: syntax
> error before "BEGIN_EXTERN_C"
> /usr/include/php/main/streams/php_stream_transport.h:177: error: syntax
> error before '*' token
> /usr/include/php/main/streams/php_stream_transport.h:187: error: syntax
> error before "php_stream_xport_crypt_method_t"
> /usr/include/php/main/streams/php_stream_transport.h:187: warning: no
> semicolon at end of struct or union
> /usr/include/php/main/streams/php_stream_transport.h:192: warning:
> structure defined inside parms
> /usr/include/php/main/streams/php_stream_transport.h:193: error: syntax
> error before '}' token
> In file included from /usr/include/php/main/php_streams.h:432,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_plain_wrapper.h:25: warning: type
> defaults to `int' in declaration of `php_stream_wrapper'
> /usr/include/php/main/streams/php_stream_plain_wrapper.h:25: error:
> storage class specified for parameter `php_stream_wrapper'
> /usr/include/php/main/streams/php_stream_plain_wrapper.h:25: error:
> conflicting types for 'php_stream_wrapper'
> /usr/include/php/main/php_streams.h:99: error: previous definition of
> 'php_stream_wrapper' was here
> /usr/include/php/main/streams/php_stream_plain_wrapper.h:25: error: syntax
> error before "php_plain_files_wrapper"
> In file included from /usr/include/php/main/php_streams.h:433,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_userspace.h:24: warning: type
> defaults to `int' in declaration of `php_stream_ops'
> /usr/include/php/main/streams/php_stream_userspace.h:24: error: storage
> class specified for parameter `php_stream_ops'
> /usr/include/php/main/streams/php_stream_userspace.h:24: error:
> conflicting types for 'php_stream_ops'
> /usr/include/php/main/php_streams.h:130: error: previous definition of
> 'php_stream_ops' was here
> /usr/include/php/main/streams/php_stream_userspace.h:24: error: syntax
> error before "php_stream_userspace_dir_ops"
> In file included from /usr/include/php/main/php_streams.h:434,
> from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/streams/php_stream_mmap.h:39: warning: enum defined
> inside parms
> /usr/include/php/main/streams/php_stream_mmap.h:39: error: storage class
> specified for parameter `php_stream_mmap_operation_t'
> /usr/include/php/main/streams/php_stream_mmap.h:46: warning: enum defined
> inside parms
> /usr/include/php/main/streams/php_stream_mmap.h:46: error: storage class
> specified for parameter `php_stream_mmap_access_t'
> /usr/include/php/main/streams/php_stream_mmap.h:54: error: syntax error
> before "php_stream_mmap_access_t"
> /usr/include/php/main/streams/php_stream_mmap.h:54: warning: no semicolon
> at end of struct or union
> /usr/include/php/main/streams/php_stream_mmap.h:59: error: syntax error
> before '}' token
> /usr/include/php/main/streams/php_stream_mmap.h:72: error: syntax error
> before '*' token
> In file included from /usr/include/php/main/php.h:403,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_streams.h:506: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/php_streams.h:507: warning: parameter names (without
> types) in function declaration
> /usr/include/php/main/php_streams.h:508: error: syntax error before
> "ZEND_MODULE_DEACTIVATE_D"
> /usr/include/php/main/php_streams.h:512: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/php_streams.h:513: error: syntax error before
> "php_stream_wrapper"
> /usr/include/php/main/php_streams.h:514: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/php_streams.h:517: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:529: error: syntax error before '*'
> token
> /usr/include/php/main/php_streams.h:540: error: syntax error before '*'
> token
> In file included from /usr/include/php/main/php.h:404,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_memory_streams.h:45: error: syntax error before
> '*' token
> /usr/include/php/main/php_memory_streams.h:52: warning: type defaults to
> `int' in declaration of `php_stream_ops'
> /usr/include/php/main/php_memory_streams.h:52: error: storage class
> specified for parameter `php_stream_ops'
> /usr/include/php/main/php_memory_streams.h:52: error: redefinition of
> parameter 'php_stream_ops'
> /usr/include/php/main/streams/php_stream_userspace.h:24: error: previous
> definition of 'php_stream_ops' was here
> /usr/include/php/main/php_memory_streams.h:52: error: syntax error before
> "php_stream_temp_ops"
> /usr/include/php/main/php_memory_streams.h:53: warning: type defaults to
> `int' in declaration of `php_stream_ops'
> /usr/include/php/main/php_memory_streams.h:53: error: storage class
> specified for parameter `php_stream_ops'
> /usr/include/php/main/php_memory_streams.h:53: error: redefinition of
> parameter 'php_stream_ops'
> /usr/include/php/main/php_memory_streams.h:52: error: previous definition
> of 'php_stream_ops' was here
> /usr/include/php/main/php_memory_streams.h:53: error: syntax error before
> "php_stream_rfc2397_ops"
> /usr/include/php/main/php_memory_streams.h:54: warning: type defaults to
> `int' in declaration of `php_stream_wrapper'
> /usr/include/php/main/php_memory_streams.h:54: error: storage class
> specified for parameter `php_stream_wrapper'
> /usr/include/php/main/php_memory_streams.h:54: error: redefinition of
> parameter 'php_stream_wrapper'
> /usr/include/php/main/streams/php_stream_plain_wrapper.h:25: error:
> previous definition of 'php_stream_wrapper' was here
> /usr/include/php/main/php_memory_streams.h:54: error: syntax error before
> "php_stream_rfc2397_wrapper"
> In file included from /usr/include/php/main/fopen_wrappers.h:25,
> from /usr/include/php/main/php.h:405,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_globals.h:24:26: zend_globals.h: No such file or
> directory
> In file included from /usr/include/php/main/fopen_wrappers.h:25,
> from /usr/include/php/main/php.h:405,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_globals.h:33: error: storage class specified for
> parameter `core_globals'
> /usr/include/php/main/php_globals.h:45: warning: empty declaration
> /usr/include/php/main/php_globals.h:50: warning: structure defined inside
> parms
> /usr/include/php/main/php_globals.h:50: error: storage class specified for
> parameter `arg_separators'
> /usr/include/php/main/php_globals.h:53: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:53: warning: no semicolon at end of
> struct or union
> /usr/include/php/main/php_globals.h:65: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:79: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:84: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:104: error: syntax error before
> "arg_separators"
> /usr/include/php/main/php_globals.h:108: error: syntax error before
> "HashTable"
> /usr/include/php/main/php_globals.h:115: error: syntax error before
> "zend_llist"
> /usr/include/php/main/php_globals.h:131: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:136: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:149: error: syntax error before
> "error_handling_t"
> /usr/include/php/main/php_globals.h:154: error: syntax error before
> "zend_bool"
> /usr/include/php/main/php_globals.h:159: error: syntax error before '}'
> token
> In file included from /usr/include/php/main/php.h:405,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/fopen_wrappers.h:27: error: syntax error before '*'
> token
> /usr/include/php/main/fopen_wrappers.h:28: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/fopen_wrappers.h:30: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/fopen_wrappers.h:31: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/fopen_wrappers.h:32: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/fopen_wrappers.h:34: error: syntax error before
> "TSRMLS_DC"
> /usr/include/php/main/fopen_wrappers.h:40: error: syntax error before
> "END_EXTERN_C"
> In file included from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php.h:409:30: tsrm_virtual_cwd.h: No such file or
> directory
> /usr/include/php/main/php.h:411:28: zend_constants.h: No such file or
> directory
> In file included from /usr/include/dirent.h:62,
> from /usr/include/php/main/php_reentrancy.h:28,
> from /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/bits/dirent.h:35: error: syntax error before '}' token
> In file included from /usr/include/php/main/php_reentrancy.h:28,
> from /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /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 definition of 'DIR' was here
> /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:176: error: syntax error before '*' token
> /usr/include/dirent.h:179: error: storage class specified for parameter
> `readdir_r'
> /usr/include/dirent.h:201: error: syntax error before '*' token
> /usr/include/dirent.h:201: error: storage class specified for parameter
> `rewinddir'
> /usr/include/dirent.h:207: error: syntax error before '*' token
> /usr/include/dirent.h:207: error: storage class specified for parameter
> `seekdir'
> /usr/include/dirent.h:210: error: syntax error before '*' token
> /usr/include/dirent.h:210: error: storage class specified for parameter
> `telldir'
> /usr/include/dirent.h:216: error: syntax error before '*' token
> /usr/include/dirent.h:216: error: storage class specified for parameter
> `dirfd'
> In file included from /usr/include/php/main/php_reentrancy.h:28,
> from /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/dirent.h:246: error: storage class specified for parameter
> `scandir'
> /usr/include/dirent.h:273: error: storage class specified for parameter
> `alphasort'
> /usr/include/dirent.h:319: error: storage class specified for parameter
> `getdirentries'
> In file included from /usr/include/time.h:42,
> from /usr/include/php/main/php_reentrancy.h:30,
> from /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/bits/time.h:40: error: storage class specified for parameter
> `__sysconf'
> In file included from /usr/include/php/main/php_reentrancy.h:30,
> from /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /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 definition of 'clock_t' was here
> /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 /usr/include/php/main/php.h:418,
> from php_mapscript_util.h:34,
> from php_mapscript_util.c:33:
> /usr/include/php/main/php_reentrancy.h:52: error: syntax error before
> "BEGIN_EXTERN_C"
> In file included from php_mapscript_util.c:33:
> php_mapscript_util.h:117: error: syntax error before '*' token
> php_mapscript_util.h:121: error: syntax error before '*' token
> php_mapscript_util.h:124: error: syntax error before '*' token
> php_mapscript_util.h:127: error: syntax error before '*' token
> php_mapscript_util.h:130: error: syntax error before '*' token
> php_mapscript_util.h:132: error: syntax error before '*' token
> php_mapscript_util.h:134: error: syntax error before '*' token
> php_mapscript_util.h:136: error: syntax error before '*' token
> php_mapscript_util.h:138: error: syntax error before '*' token
> php_mapscript_util.h:140: error: syntax error before '*' token
> php_mapscript_util.h:141: error: syntax error before '*' token
> php_mapscript_util.h:143: error: syntax error before '*' token
> php_mapscript_util.h:145: error: syntax error before '*' token
> php_mapscript_util.h:148: error: syntax error before '*' token
> In file included from php_mapscript_util.c:34:
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:101: warning: structure defined
> inside parms
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:101: error: storage class
> specified for parameter `errorObj'
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:106: error: syntax error before
> "errorObj"
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:114: error: syntax error before
> '*' token
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:115: error: syntax error before
> '*' token
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:117: error: syntax error before
> "errorObj"
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:119: warning: empty declaration
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:134: warning: enum defined
> inside parms
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:134: error: storage class
> specified for parameter `debugLevel'
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:143: warning: enum defined
> inside parms
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:143: error: storage class
> specified for parameter `debugMode'
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:147: error: syntax error before
> "debugLevel"
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:147: warning: no semicolon at
> end of struct or union
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:150: error: syntax error before
> "FILE"
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:154: error: syntax error before
> '}' token
> /tmp/Mapserver5/mapserver-5.0.0/maperror.h:162: error: syntax error before
> "debugLevel"
> php_mapscript_util.c:45: error: redefinition of parameter
> '_phpms_report_mapserver_error'
> php_mapscript_util.h:115: error: previous definition of
> '_phpms_report_mapserver_error' was here
> php_mapscript_util.c:45: error: syntax error before '{' token
> php_mapscript_util.c:71: error: parameter `retVal' is initialized
> php_mapscript_util.c:73: error: syntax error before "if"
> php_mapscript_util.c:122: error: parameter `retVal' is initialized
> php_mapscript_util.c:122: error: redefinition of parameter 'retVal'
> php_mapscript_util.c:71: error: previous definition of 'retVal' was here
> php_mapscript_util.c:125: error: syntax error before "if"
> php_mapscript_util.c:464: error: parameter `string_key' is initialized
> php_mapscript_util.c:466: error: parameter `i' is initialized
> php_mapscript_util.c:468: error: syntax error before "for"
> make: *** [php_mapscript_util.o] Error 1
>
>
--
View this message in context: http://www.nabble.com/mapserver-update-tp14412963p14433736.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list