php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2438 This just isn't working, very unhappy compile.
Submitted: 1999-10-04 15:23 UTC Modified: 1999-10-04 16:37 UTC
From: nathan at thelinuxcommunity dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: Solaris 2.6 (sparc)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nathan at thelinuxcommunity dot org
New email:
PHP Version: OS:

 

 [1999-10-04 15:23 UTC] nathan at thelinuxcommunity dot org
[nathan@phoenix]:/files/php-4.0b2% gcc --version
2.95.1
[nathan@phoenix]:/files/php-4.0b2% flex --version
flex version 2.5.4
[nathan@phoenix]:/files/php-4.0b2% uname -a
SunOS phoenix 5.6 Generic_105181-16 sun4m sparc SUNW,SPARCstation-20
[nathan@phoenix]:/files/php-4.0b2% more myconfig
#!/bin/csh -f 
./configure --with-mysql --with-apache=/files/apache_1.3.9 --enable-track-vars --with-config-file-path=/files/W
WW/conf --enable-thread-safety --with-db2 --without-gd --with-yp
[nathan@phoenix]:/files/php-4.0b2% make
Making all in libzend
make[1]: Entering directory `/files/php-4.0b2/libzend'
gcc -DHAVE_CONFIG_H -I. -I/files/php-4.0b2/./libzend -I.     -g -O2 -g -c zend-scanner.c
make[1]: Leaving directory `/files/php-4.0b2/libzend'
Script started on Mon Oct 04 15:13:48 1999
[nathan@phoenix]:/files/php-4.0b2% make
Making all in libzend
make[1]: Entering directory `/files/php-4.0b2/libzend'
gcc -DHAVE_CONFIG_H -I. -I/files/php-4.0b2/./libzend -I.     -g -O2 -g -c zend-scanner.c
In file included from ../TSRM/TSRM.h:21,
                 from zend_globals.h:35,
                 from zend_compile.h:181,
                 from zend-scanner.l:54:
../TSRM/tsrm_config.h:13: warning: `PACKAGE' redefined
zend_config.h:281: warning: this is the location of the previous definition
../TSRM/tsrm_config.h:16: warning: `VERSION' redefined
zend_config.h:284: warning: this is the location of the previous definition
In file included from zend-scanner.l:55:
zend-scanner.h:25: parse error before `ZendFlexLexer'
zend-scanner.h:31: parse error before `}'
zend-scanner.h:47: parse error before `ZendFlexLexer'
zend-scanner.h:47: warning: no semicolon at end of struct or union
zend-scanner.h:48: warning: data definition has no type or storage class
zend-scanner.h:49: parse error before `}'
zend-scanner.h:49: warning: data definition has no type or storage class
zend-scanner.l:130: parse error before `*'
zend-scanner.l: In function `save_lexical_state':
zend-scanner.l:139: `lex_state' undeclared (first use in this function)
zend-scanner.l:139: (Each undeclared identifier is reported only once
zend-scanner.l:139: for each function it appears in.)
zend-scanner.l:139: `compiler_globals' undeclared (first use in this function)
zend-scanner.l: At top level:
zend-scanner.l:144: parse error before `*'
zend-scanner.l: In function `restore_lexical_state':
zend-scanner.l:161: `ZendFlexLexer' undeclared (first use in this function)
zend-scanner.l:161: parse error before `)'
zend-scanner.l:161: `compiler_globals' undeclared (first use in this function)
zend-scanner.l:162: `lex_state' undeclared (first use in this function)
zend-scanner.l: In function `zend_open_file_dtor':
zend-scanner.l:173: `delete' undeclared (first use in this function)
zend-scanner.l:173: `ifstream' undeclared (first use in this function)
zend-scanner.l:173: parse error before `)'
zend-scanner.l: In function `zend_close_file_handle':
zend-scanner.l:183: union has no member named `is'
zend-scanner.l: In function `open_file_for_scanning':
zend-scanner.l:218: union has no member named `is'
zend-scanner.l:218: `new' undeclared (first use in this function)
zend-scanner.l:218: parse error before `ifstream'
zend-scanner.l:221: union has no member named `is'
zend-scanner.l:221: parse error before `ifstream'
zend-scanner.l:225: union has no member named `is'
zend-scanner.l:225: `ifstream' undeclared (first use in this function)
zend-scanner.l:225: parse error before `)'
zend-scanner.l:225: `cin' undeclared (first use in this function)
zend-scanner.l:228: union has no member named `is'
zend-scanner.l:228: parse error before `ifstream'
zend-scanner.l:232: union has no member named `is'
zend-scanner.l:233: parse error before `file_handle'
zend-scanner.l:236: union has no member named `is'
zend-scanner.l:237: union has no member named `is'
zend-scanner.l:241: parse error before `ZendFlexLexer'
zend-scanner.l:242: warning: dereferencing `void *' pointer
zend-scanner.l:242: request for member `switch_streams' in something not a structure or union
zend-scanner.l:242: union has no member named `is'
zend-scanner.l:242: `cout' undeclared (first use in this function)
zend-scanner.l: In function `v_compile_files':
zend-scanner.l:265: `zend_lex_state' undeclared (first use in this function)
zend-scanner.l:265: parse error before `original_lex_state'
zend-scanner.l:275: `original_lex_state' undeclared (first use in this function)
zend-scanner.l: In function `prepare_string_for_scanning':
zend-scanner.l:349: `istrstream' undeclared (first use in this function)
zend-scanner.l:349: `input_stream' undeclared (first use in this function)
zend-scanner.l:349: `new' undeclared (first use in this function)
zend-scanner.l:349: parse error before `istrstream'
zend-scanner.l:350: parse error before `ZendFlexLexer'
zend-scanner.l:352: warning: dereferencing `void *' pointer
zend-scanner.l:352: request for member `switch_streams' in something not a structure or union
zend-scanner.l:352: `cout' undeclared (first use in this function)
zend-scanner.l: In function `compile_string':
zend-scanner.l:360: `zend_lex_state' undeclared (first use in this function)
zend-scanner.l:360: parse error before `original_lex_state'
zend-scanner.l:378: `original_lex_state' undeclared (first use in this function)
zend-scanner.l:388: warning: dereferencing `void *' pointer
zend-scanner.l:388: request for member `BeginState' in something not a structure or union
zend-scanner.l: In function `require_file':
zend-scanner.l:425: `zend_lex_state' undeclared (first use in this function)
zend-scanner.l:425: parse error before `original_lex_state'
zend-scanner.l:428: `original_lex_state' undeclared (first use in this function)
zend-scanner.l: In function `highlight_file':
zend-scanner.l:445: `zend_lex_state' undeclared (first use in this function)
zend-scanner.l:445: parse error before `original_lex_state'
zend-scanner.l:451: `original_lex_state' undeclared (first use in this function)
zend-scanner.l: In function `highlight_string':
zend-scanner.l:465: `zend_lex_state' undeclared (first use in this function)
zend-scanner.l:465: parse error before `original_lex_state'
zend-scanner.l:471: `original_lex_state' undeclared (first use in this function)
zend-scanner.l: In function `lex_scan':
zend-scanner.l:486: warning: dereferencing `void *' pointer
zend-scanner.l:486: request for member `lex_scan' in something not a structure or union
zend-scanner.l: In function `zend_get_zendtext':
zend-scanner.l:492: warning: dereferencing `void *' pointer
zend-scanner.l:492: request for member `YYText' in something not a structure or union
zend-scanner.l: In function `zend_get_zendleng':
zend-scanner.l:498: warning: dereferencing `void *' pointer
zend-scanner.l:498: request for member `YYLeng' in something not a structure or union
zend-scanner.l: At top level:
zend-scanner.l:503: parse error before `:'
zend-scanner.l:517: parse error before `:'
zend-scanner.c:3395: parse error before `:'
zend-scanner.c:3398: register name not specified for `yy_cp'
zend-scanner.c:3398: register name not specified for `yy_bp'
zend-scanner.c:3399: register name not specified for `yy_act'
zend-scanner.c:3406: parse error before `if'
zend-scanner.c:3427: conflicting types for `zend_load_buffer_state'
zend-scanner.c:249: previous declaration of `zend_load_buffer_state'
zend-scanner.c:3427: warning: data definition has no type or storage class
zend-scanner.c:3428: parse error before `}'
zend-scanner.c:3436: redefinition of `yy_more_flag'
zend-scanner.c:2669: `yy_more_flag' previously defined here
zend-scanner.c:3436: warning: data definition has no type or storage class
zend-scanner.c:3437: parse error before `}'
zend-scanner.c:3438: conflicting types for `yy_cp'
zend-scanner.c:3398: previous declaration of `yy_cp'
zend-scanner.c:3438: warning: initialization makes integer from pointer without a cast
zend-scanner.c:3438: initializer element is not constant
zend-scanner.c:3438: warning: data definition has no type or storage class
zend-scanner.c:3441: conflicting types for `yy_cp'
zend-scanner.c:3438: previous declaration of `yy_cp'
zend-scanner.c:3441: warning: initialization makes pointer from integer without a cast
zend-scanner.c:3441: initializer element is not constant
zend-scanner.c:3441: warning: data definition has no type or storage class
zend-scanner.c:3446: conflicting types for `yy_bp'
zend-scanner.c:3398: previous declaration of `yy_bp'
zend-scanner.c:3446: warning: initialization makes integer from pointer without a cast
zend-scanner.c:3446: initializer element is not constant
zend-scanner.c:3446: warning: data definition has no type or storage class
zend-scanner.c:3448: initializer element is not constant
zend-scanner.c:3448: warning: data definition has no type or storage class
zend-scanner.c:3449: parse error before `+='
zend-scanner.c:3457: conflicting types for `yy_last_accepting_cpos'
zend-scanner.c:2663: previous declaration of `yy_last_accepting_cpos'
zend-scanner.c:3457: warning: initialization makes integer from pointer without a cast
zend-scanner.c:3457: initializer element is not constant
zend-scanner.c:3457: warning: data definition has no type or storage class
zend-scanner.c:3458: parse error before `}'
zend-scanner.c:3465: redefinition of `yy_current_state'
zend-scanner.c:3448: `yy_current_state' previously defined here
zend-scanner.c:3465: `yy_c' undeclared here (not in a function)
zend-scanner.c:3465: warning: data definition has no type or storage class
zend-scanner.c:3466: parse error before `++'
zend-scanner.c:3475: redefinition of `yy_current_state'
zend-scanner.c:3465: `yy_current_state' previously defined here
zend-scanner.c:3475: initializer element is not constant
zend-scanner.c:3475: warning: data definition has no type or storage class
zend-scanner.c:3476: conflicting declarations of `yy_act'
zend-scanner.c:3399: `yy_act' previously declared here
zend-scanner.c:3476: initializer element is not constant
zend-scanner.c:3476: warning: data definition has no type or storage class
zend-scanner.c:3477: parse error before `}'
zend-scanner.c:3479: conflicting types for `zendtext'
zend-scanner.c:2674: previous declaration of `zendtext'
zend-scanner.c:3479: initializer element is not constant
zend-scanner.c:3479: warning: data definition has no type or storage class
zend-scanner.c:3479: parse error before `-='
zend-scanner.c:3479: initializer element is not constant
zend-scanner.c:3479: warning: data definition has no type or storage class
zend-scanner.c:3479: conflicting types for `yy_hold_char'
zend-scanner.c:229: previous declaration of `yy_hold_char'
zend-scanner.c:3479: initializer element is not constant
zend-scanner.c:3479: warning: data definition has no type or storage class
zend-scanner.c:3479: redefinition of `yy_cp'
zend-scanner.c:3441: `yy_cp' previously defined here
zend-scanner.c:3479: warning: data definition has no type or storage class
zend-scanner.c:3479: conflicting types for `yy_c_buf_p'
zend-scanner.c:237: previous declaration of `yy_c_buf_p'
zend-scanner.c:3479: warning: initialization makes integer from pointer without a cast
zend-scanner.c:3479: initializer element is not constant
zend-scanner.c:3479: warning: data definition has no type or storage class
zend-scanner.c:3482: parse error before `:'
zend-scanner.c:3490: conflicting types for `yy_cp'
zend-scanner.c:3479: previous declaration of `yy_cp'
zend-scanner.c:3490: initializer element is not constant
zend-scanner.c:3490: warning: data definition has no type or storage class
zend-scanner.c:3491: redefinition of `yy_current_state'
zend-scanner.c:3475: `yy_current_state' previously defined here
zend-scanner.c:3491: initializer element is not constant
zend-scanner.c:3491: warning: data definition has no type or storage class
zend-scanner.c:3492: parse error before `goto'
zend-scanner.l:710: redefinition of `yy_c_buf_p'
zend-scanner.c:3479: `yy_c_buf_p' previously defined here
zend-scanner.l:710: initializer element is not constant
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: redefinition of `zendtext'
zend-scanner.c:3479: `zendtext' previously defined here
zend-scanner.l:710: initializer element is not constant
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: parse error before `-='
zend-scanner.l:710: redefinition of `zendleng'
zend-scanner.c:3479: `zendleng' previously defined here
zend-scanner.l:710: initializer element is not constant
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: redefinition of `yy_hold_char'
zend-scanner.c:3479: `yy_hold_char' previously defined here
zend-scanner.l:710: invalid type argument of `unary *'
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: conflicting types for `yy_cp'
zend-scanner.c:3490: previous declaration of `yy_cp'
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: redefinition of `yy_c_buf_p'
zend-scanner.l:710: `yy_c_buf_p' previously defined here
zend-scanner.l:710: warning: initialization makes integer from pointer without a cast
zend-scanner.l:710: initializer element is not constant
zend-scanner.l:710: warning: data definition has no type or storage class
zend-scanner.l:710: parse error before `}'
zend-scanner.l:711: conflicting types for `yy_pop_state'
zend-scanner.c:3289: previous declaration of `yy_pop_state'
zend-scanner.l:711: warning: data definition has no type or storage class
zend-scanner.l:712: parse error before `}'
zend-scanner.l:921: warning: data definition has no type or storage class
zend-scanner.l:922: parse error before `1'
zend-scanner.l:922: conflicting types for `yy_push_state'
zend-scanner.c:3286: previous declaration of `yy_push_state'
zend-scanner.l:922: warning: data definition has no type or storage class
zend-scanner.l:929: redefinition of `yy_c_buf_p'
zend-scanner.l:710: `yy_c_buf_p' previously defined here
zend-scanner.l:929: warning: assignment makes pointer from integer without a cast
zend-scanner.l:929: warning: initialization makes integer from pointer without a cast
zend-scanner.l:929: initializer element is not constant
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: redefinition of `zendtext'
zend-scanner.l:710: `zendtext' previously defined here
zend-scanner.l:929: initializer element is not constant
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: parse error before `-='
zend-scanner.l:929: redefinition of `zendleng'
zend-scanner.l:710: `zendleng' previously defined here
zend-scanner.l:929: initializer element is not constant
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: redefinition of `yy_hold_char'
zend-scanner.l:710: `yy_hold_char' previously defined here
zend-scanner.l:929: initializer element is not constant
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: redefinition of `yy_cp'
zend-scanner.l:710: `yy_cp' previously defined here
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: redefinition of `yy_c_buf_p'
zend-scanner.l:929: `yy_c_buf_p' previously defined here
zend-scanner.l:929: warning: initialization makes integer from pointer without a cast
zend-scanner.l:929: initializer element is not constant
zend-scanner.l:929: warning: data definition has no type or storage class
zend-scanner.l:929: parse error before `}'
zend-scanner.l:930: warning: data definition has no type or storage class
zend-scanner.l:931: parse error before `1'
zend-scanner.l:931: warning: data definition has no type or storage class
zend-scanner.l:994: redefinition of `yy_start'
zend-scanner.c:239: `yy_start' previously defined here
zend-scanner.l:994: warning: data definition has no type or storage class
zend-scanner.l:995: parse error before `return'
zend-scanner.l:1011: redefinition of `yy_start'
zend-scanner.l:994: `yy_start' previously defined here
zend-scanner.l:1011: warning: data definition has no type or storage class
zend-scanner.l:1012: parse error before `return'
zend-scanner.l:1027: redefinition of `yy_start'
zend-scanner.l:1011: `yy_start' previously defined here
zend-scanner.l:1027: warning: data definition has no type or storage class
zend-scanner.l:1028: parse error before `}'
zend-scanner.l:1042: redefinition of `yy_start'
zend-scanner.l:1027: `yy_start' previously defined here
zend-scanner.l:1042: warning: data definition has no type or storage class
zend-scanner.l:1043: parse error before `return'
zend-scanner.l:1093: parse error before `='
zend-scanner.l:1103: redefinition of `yy_start'
zend-scanner.l:1042: `yy_start' previously defined here
zend-scanner.l:1103: warning: data definition has no type or storage class
zend-scanner.l:1104: parse error before `return'
zend-scanner.l:1116: redefinition of `yy_start'
zend-scanner.l:1103: `yy_start' previously defined here
zend-scanner.l:1116: warning: data definition has no type or storage class
zend-scanner.l:1117: parse error before `return'
zend-scanner.l:1139: parse error before `->'
zend-scanner.l:1145: `t' undeclared here (not in a function)
zend-scanner.l:1145: `zendlval' undeclared here (not in a function)
zend-scanner.l:1145: warning: data definition has no type or storage class
zend-scanner.l:1146: conflicting types for `end'
zend-scanner.l:1137: previous declaration of `end'
zend-scanner.l:1146: `zendlval' undeclared here (not in a function)
zend-scanner.l:1146: initializer element is not constant
zend-scanner.l:1146: warning: data definition has no type or storage class
zend-scanner.l:1147: parse error before `while'
zend-scanner.l:1177: invalid type argument of `unary *'
zend-scanner.l:1177: warning: data definition has no type or storage class
zend-scanner.l:1178: parse error before `->'
zend-scanner.l:1187: parse error before `++'
zend-scanner.l:1191: parse error before `->'
zend-scanner.l:1193: invalid type argument of `unary *'
zend-scanner.l:1193: warning: data definition has no type or storage class
zend-scanner.l:1194: parse error before `->'
zend-scanner.l:1199: parse error before `++'
zend-scanner.l:1202: parse error before `++'
zend-scanner.l:1211: warning: data definition has no type or storage class
zend-scanner.l:1213: parse error before `return'
zend-scanner.l:1219: conflicting types for `end'
zend-scanner.l:1146: previous declaration of `end'
zend-scanner.l:1221: parse error before `->'
zend-scanner.l:1227: redefinition of `s'
zend-scanner.l:1145: `s' previously defined here
zend-scanner.l:1227: `zendlval' undeclared here (not in a function)
zend-scanner.l:1227: warning: data definition has no type or storage class
zend-scanner.l:1228: conflicting types for `end'
zend-scanner.l:1219: previous declaration of `end'
zend-scanner.l:1228: `zendlval' undeclared here (not in a function)
zend-scanner.l:1228: initializer element is not constant
zend-scanner.l:1228: warning: data definition has no type or storage class
zend-scanner.l:1229: parse error before `while'
zend-scanner.l:1243: parse error before `++'
zend-scanner.l:1251: redefinition of `t'
zend-scanner.l:1211: `t' previously defined here
zend-scanner.l:1251: warning: data definition has no type or storage class
zend-scanner.l:1253: parse error before `return'
zend-scanner.l:1265: parse error before `zend_compiler_globals'
zend-scanner.l:1266: parse error before `zend_compiler_globals'
zend-scanner.l:1267: redefinition of `s'
zend-scanner.l:1227: `s' previously defined here
zend-scanner.l:1267: initializer element is not constant
zend-scanner.l:1267: warning: data definition has no type or storage class
zend-scanner.l:1268: parse error before `while'
zend-scanner.l:1270: parse error before `zend_compiler_globals'
zend-scanner.l:1272: parse error before `zend_compiler_globals'
zend-scanner.l:1273: redefinition of `yy_start'
zend-scanner.l:1116: `yy_start' previously defined here
zend-scanner.l:1273: warning: data definition has no type or storage class
zend-scanner.l:1274: parse error before `return'
zend-scanner.l:1294: parse error before `zend_compiler_globals'
zend-scanner.l:1303: conflicting types for `unput_semicolon'
zend-scanner.l:1292: previous declaration of `unput_semicolon'
zend-scanner.l:1303: warning: data definition has no type or storage class
zend-scanner.l:1304: parse error before `}'
zend-scanner.l:1312: parse error before `('
zend-scanner.l:1313: parse error before `zend_compiler_globals'
zend-scanner.l:1314: parse error before `zend_compiler_globals'
zend-scanner.l:1315: redefinition of `yy_start'
zend-scanner.l:1273: `yy_start' previously defined here
zend-scanner.l:1315: warning: data definition has no type or storage class
zend-scanner.l:1316: parse error before `return'
zend-scanner.l:1362: redefinition of `yy_c_buf_p'
zend-scanner.l:929: `yy_c_buf_p' previously defined here
zend-scanner.l:1362: warning: assignment makes pointer from integer without a cast
zend-scanner.l:1362: warning: initialization makes integer from pointer without a cast
zend-scanner.l:1362: initializer element is not constant
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: redefinition of `zendtext'
zend-scanner.l:929: `zendtext' previously defined here
zend-scanner.l:1362: initializer element is not constant
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: parse error before `-='
zend-scanner.l:1362: redefinition of `zendleng'
zend-scanner.l:929: `zendleng' previously defined here
zend-scanner.l:1362: initializer element is not constant
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: redefinition of `yy_hold_char'
zend-scanner.l:929: `yy_hold_char' previously defined here
zend-scanner.l:1362: initializer element is not constant
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: redefinition of `yy_cp'
zend-scanner.l:929: `yy_cp' previously defined here
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: redefinition of `yy_c_buf_p'
zend-scanner.l:1362: `yy_c_buf_p' previously defined here
zend-scanner.l:1362: warning: initialization makes integer from pointer without a cast
zend-scanner.l:1362: initializer element is not constant
zend-scanner.l:1362: warning: data definition has no type or storage class
zend-scanner.l:1362: parse error before `}'
zend-scanner.l:1378: parse error before `1'
zend-scanner.l:1378: warning: data definition has no type or storage class
zend-scanner.l:1380: redefinition of `yy_c_buf_p'
zend-scanner.l:1362: `yy_c_buf_p' previously defined here
zend-scanner.l:1380: warning: assignment makes pointer from integer without a cast
zend-scanner.l:1380: warning: initialization makes integer from pointer without a cast
zend-scanner.l:1380: initializer element is not constant
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: redefinition of `zendtext'
zend-scanner.l:1362: `zendtext' previously defined here
zend-scanner.l:1380: initializer element is not constant
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: parse error before `-='
zend-scanner.l:1380: redefinition of `zendleng'
zend-scanner.l:1362: `zendleng' previously defined here
zend-scanner.l:1380: initializer element is not constant
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: redefinition of `yy_hold_char'
zend-scanner.l:1362: `yy_hold_char' previously defined here
zend-scanner.l:1380: initializer element is not constant
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: redefinition of `yy_cp'
zend-scanner.l:1362: `yy_cp' previously defined here
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: redefinition of `yy_c_buf_p'
zend-scanner.l:1380: `yy_c_buf_p' previously defined here
zend-scanner.l:1380: warning: initialization makes integer from pointer without a cast
zend-scanner.l:1380: initializer element is not constant
zend-scanner.l:1380: warning: data definition has no type or storage class
zend-scanner.l:1380: parse error before `}'
zend-scanner.c:4774: redefinition of `yy_cp'
zend-scanner.l:1380: `yy_cp' previously defined here
zend-scanner.c:4774: warning: initialization makes pointer from integer without a cast
zend-scanner.c:4774: initializer element is not constant
zend-scanner.c:4774: warning: data definition has no type or storage class
zend-scanner.c:4777: parse error before `if'
zend-scanner.c:4804: redefinition of `yy_c_buf_p'
zend-scanner.l:1380: `yy_c_buf_p' previously defined here
zend-scanner.c:4804: `yy_amount_of_matched_text' undeclared here (not in a function)
zend-scanner.c:4804: initializer element is not constant
zend-scanner.c:4804: warning: data definition has no type or storage class
zend-scanner.c:4806: redefinition of `yy_current_state'
zend-scanner.c:3491: `yy_current_state' previously defined here
zend-scanner.c:4806: initializer element is not constant
zend-scanner.c:4806: warning: data definition has no type or storage class
zend-scanner.c:4817: initializer element is not constant
zend-scanner.c:4817: warning: data definition has no type or storage class
zend-scanner.c:4819: redefinition of `yy_bp'
zend-scanner.c:3446: `yy_bp' previously defined here
zend-scanner.c:4819: initializer element is not constant
zend-scanner.c:4819: warning: data definition has no type or storage class
zend-scanner.c:4821: parse error before `if'
zend-scanner.c:4825: redefinition of `yy_current_state'
zend-scanner.c:4806: `yy_current_state' previously defined here
zend-scanner.c:4825: initializer element is not constant
zend-scanner.c:4825: warning: data definition has no type or storage class
zend-scanner.c:4826: parse error before `goto'
zend-scanner.c:4855: redefinition of `yy_act'
zend-scanner.c:3476: `yy_act' previously defined here
zend-scanner.c:4855: initializer element is not constant
zend-scanner.c:4855: warning: data definition has no type or storage class
zend-scanner.c:4856: parse error before `goto'
zend-scanner.c:4871: redefinition of `yy_current_state'
zend-scanner.c:4825: `yy_current_state' previously defined here
zend-scanner.c:4871: initializer element is not constant
zend-scanner.c:4871: warning: data definition has no type or storage class
zend-scanner.c:4873: conflicting types for `yy_cp'
zend-scanner.c:4774: previous declaration of `yy_cp'
zend-scanner.c:4873: initializer element is not constant
zend-scanner.c:4873: warning: data definition has no type or storage class
zend-scanner.c:4874: redefinition of `yy_bp'
zend-scanner.c:4819: `yy_bp' previously defined here
zend-scanner.c:4874: initializer element is not constant
zend-scanner.c:4874: warning: data definition has no type or storage class
zend-scanner.c:4875: parse error before `goto'
zend-scanner.c:4881: redefinition of `yy_current_state'
zend-scanner.c:4871: `yy_current_state' previously defined here
zend-scanner.c:4881: initializer element is not constant
zend-scanner.c:4881: warning: data definition has no type or storage class
zend-scanner.c:4883: redefinition of `yy_cp'
zend-scanner.c:4873: `yy_cp' previously defined here
zend-scanner.c:4883: initializer element is not constant
zend-scanner.c:4883: warning: data definition has no type or storage class
zend-scanner.c:4884: redefinition of `yy_bp'
zend-scanner.c:4874: `yy_bp' previously defined here
zend-scanner.c:4884: initializer element is not constant
zend-scanner.c:4884: warning: data definition has no type or storage class
zend-scanner.c:4885: parse error before `goto'
zend-scanner.c: In function `yy_get_next_buffer':
zend-scanner.c:4909: warning: initialization makes pointer from integer without a cast
zend-scanner.c:4913: warning: comparison between pointer and integer
zend-scanner.c:4966: invalid operands to binary -
zend-scanner.c:4990: warning: assignment makes integer from pointer without a cast
zend-scanner.c:5030: warning: assignment makes integer from pointer without a cast
zend-scanner.c: In function `yy_get_previous_state':
zend-scanner.c:5046: warning: assignment makes pointer from integer without a cast
zend-scanner.c:5046: warning: comparison between pointer and integer
zend-scanner.c:5052: warning: assignment makes integer from pointer without a cast
zend-scanner.c: In function `yy_try_NUL_trans':
zend-scanner.c:5081: warning: initialization makes pointer from integer without a cast
zend-scanner.c:5087: warning: assignment makes integer from pointer without a cast
zend-scanner.c: In function `yyunput':
zend-scanner.c:5111: warning: initialization makes pointer from integer without a cast
zend-scanner.c:5140: warning: assignment makes integer from pointer without a cast
zend-scanner.c:5142: warning: assignment makes integer from pointer without a cast
zend-scanner.c: In function `input':
zend-scanner.c:5155: invalid type argument of `unary *'
zend-scanner.c:5157: invalid type argument of `unary *'
zend-scanner.c:5163: warning: comparison between pointer and integer
zend-scanner.c:5165: invalid type argument of `unary *'
zend-scanner.c:5212: invalid type argument of `unary *'
zend-scanner.c:5213: invalid type argument of `unary *'
zend-scanner.c: In function `zend_switch_to_buffer':
zend-scanner.c:5249: invalid type argument of `unary *'
zend-scanner.c:5250: warning: assignment makes pointer from integer without a cast
zend-scanner.c: At top level:
zend-scanner.c:5271: conflicting types for `zend_load_buffer_state'
zend-scanner.c:3427: previous declaration of `zend_load_buffer_state'
zend-scanner.c: In function `zend_load_buffer_state':
zend-scanner.c:5273: warning: assignment makes integer from pointer without a cast
zend-scanner.c:5275: invalid type argument of `unary *'
zend-scanner.c: At top level:
zend-scanner.c:5494: conflicting types for `yy_push_state'
zend-scanner.l:1378: previous declaration of `yy_push_state'
zend-scanner.c:5523: conflicting types for `yy_pop_state'
zend-scanner.l:930: previous declaration of `yy_pop_state'
make[1]: *** [zend-scanner.o] Error 1
make[1]: Leaving directory `/files/php-4.0b2/libzend'
Making all in ext
make[1]: Entering directory `/files/php-4.0b2/ext'
Making all in apache
make[2]: Entering directory `/files/php-4.0b2/ext/apache'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/files/apache_1.3.9/src/include -I/files/apache_1.3.9/src/os/unix   -I/usr/local/include -I/usr/local/include/mysql   -I../.. -I../../libzend    -g -O2 -g -O2 -c apache.c
In file included from ../../php.h:71,
                 from apache.c:22:
../../php_config.h:538: warning: `PACKAGE' redefined
../../libzend/../TSRM/tsrm_config.h:13: warning: this is the location of the previous definition
../../php_config.h:541: warning: `VERSION' redefined
../../libzend/../TSRM/tsrm_config.h:16: warning: this is the location of the previous definition
apache.c: In function `php3_getallheaders':
apache.c:334: `core_globals' undeclared (first use in this function)
apache.c:334: (Each undeclared identifier is reported only once
apache.c:334: for each function it appears in.)
make[2]: *** [apache.o] Error 1
make[2]: Leaving directory `/files/php-4.0b2/ext/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/files/php-4.0b2/ext'
Making all in TSRM
make[1]: Entering directory `/files/php-4.0b2/TSRM'
make[1]: Leaving directory `/files/php-4.0b2/TSRM'
make: *** [all-recursive] Error 1
[nathan@phoenix]:/files/php-4.0b2% 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-04 16:31 UTC] sas at cvs dot php dot net
Remove --enable-thread-safety, this doesn't make sense with current Apache.
 [1999-10-04 16:37 UTC] nathan at thelinuxcommunity dot org
Appreciate the quick turnaround... wish you would have mentioned the --with-system-regex at the same time but came across that via the Bugs DB... thanks, folks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 08:00:02 2026 UTC