PHP compile problem...

From: Date: Thu, 22 Oct 1998 08:17:10 +0000
Subject: PHP compile problem...
Groups: php.dev 
Request: Send a blank email to php-dev+get-1957@lists.php.net to get a copy of this message
I'm trying to compile the develop CVS tree under HPUX 10.20 but below there's the result ....... Can anyone tell me where I'm wrong or what's wrong with it? TIA Andrea PS : Please reply to my address 'cause I've recently unsubscribe from the list =========================================================== gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/include -I/opt/Hughes/include -I/opt/Mysql/include/mysql -I/opt/oracle/app/oracle/product/7.3.2.2/rdbms/demo -I.. -O2 -c ini-parser.c In file included from php.h:98, from ini-parser.y:39: php3_hash.h:54: parse error before `ulong' php3_hash.h:54: warning: no semicolon at end of struct or union php3_hash.h:62: parse error before `}' php3_hash.h:62: warning: data definition has no type or storage class php3_hash.h:68: parse error before `ulong' php3_hash.h:68: warning: no semicolon at end of struct or union php3_hash.h:69: parse error before `*' php3_hash.h:69: `ulong' declared as function returning a function php3_hash.h:69: warning: data definition has no type or storage class php3_hash.h:70: parse error before `*' php3_hash.h:70: warning: data definition has no type or storage class php3_hash.h:71: parse error before `*' php3_hash.h:71: warning: data definition has no type or storage class php3_hash.h:72: parse error before `*' php3_hash.h:72: warning: data definition has no type or storage class php3_hash.h:73: parse error before `*' php3_hash.h:73: warning: data definition has no type or storage class php3_hash.h:76: parse error before `}' php3_hash.h:76: warning: data definition has no type or storage class php3_hash.h:80: parse error before `*' php3_hash.h:80: `_php3_hash_init' declared as function returning a function php3_hash.h:80: parse error before `void' php3_hash.h:81: parse error before `*' php3_hash.h:84: parse error before `*' php3_hash.h:90: parse error before `*' php3_hash.h:96: parse error before `*' php3_hash.h:98: parse error before `*' php3_hash.h:103: parse error before `*' php3_hash.h:103: parse error before `)' php3_hash.h:104: parse error before `*' php3_hash.h:104: `_php3_hash_apply_with_argument' declared as function returning a function php3_hash.h:104: parse error before `void' php3_hash.h:109: parse error before `*' php3_hash.h:116: parse error before `*' php3_hash.h:117: parse error before `*' php3_hash.h:120: parse error before `*' php3_hash.h:121: parse error before `*' php3_hash.h:122: parse error before `*' php3_hash.h:123: parse error before `*' php3_hash.h:124: parse error before `_php3_hash_next_free_element' php3_hash.h:124: parse error before `*' php3_hash.h:124: warning: data definition has no type or storage class php3_hash.h:127: parse error before `*' php3_hash.h:128: parse error before `*' php3_hash.h:129: parse error before `*' php3_hash.h:130: parse error before `*' php3_hash.h:131: parse error before `*' php3_hash.h:132: parse error before `*' php3_hash.h:135: parse error before `*' php3_hash.h:136: parse error before `*' php3_hash.h:139: parse error before `*' php3_hash.h:139: `_php3_hash_copy' declared as function returning a function php3_hash.h:139: parse error before `void' php3_hash.h:140: parse error before `*' php3_hash.h:140: `_php3_hash_merge' declared as function returning a function php3_hash.h:140: parse error before `void' php3_hash.h:141: parse error before `*' php3_hash.h:141: `_php3_hash_sort' declared as function returning a function php3_hash.h:141: parse error before `int' php3_hash.h:142: parse error before `*' php3_hash.h:142: `_php3_hash_minmax' declared as function returning a function php3_hash.h:142: parse error before `int' php3_hash.h:144: parse error before `*' php3_hash.h:149: parse error before `*' php3_hash.h:150: parse error before `*' In file included from ini-parser.y:39: php.h:252: parse error before `HashTable' php.h:252: warning: no semicolon at end of struct or union php.h:255: parse error before `*' php.h:256: warning: no semicolon at end of struct or union php.h:256: warning: no semicolon at end of struct or union php.h:257: warning: data definition has no type or storage class php.h:259: parse error before `}' php.h:259: warning: data definition has no type or storage class php.h:265: parse error before `}' php.h:265: warning: data definition has no type or storage class php.h:276: parse error before `pvalue_value' php.h:276: warning: no semicolon at end of struct or union php.h:281: parse error before `*' php.h:291: parse error before `HashTable' php.h:291: warning: no semicolon at end of struct or union php.h:292: warning: data definition has no type or storage class php.h:293: parse error before `*' php.h:293: warning: data definition has no type or storage class php.h:298: parse error before `*' php.h:300: parse error before `}' php.h:300: warning: data definition has no type or storage class In file included from ../sapi/sapi.h:15, from php.h:303, from ini-parser.y:39: modules.h:61: parse error before `module_registry' modules.h:61: warning: data definition has no type or storage class In file included from ini-parser.y:39: php.h:358: parse error before `symbol_table' php.h:358: warning: data definition has no type or storage class php.h:359: parse error before `include_names' php.h:359: warning: data definition has no type or storage class php.h:360: parse error before `*' php.h:360: warning: data definition has no type or storage class php.h:364: parse error before `function_state' php.h:364: warning: data definition has no type or storage class In file included from php.h:422, from ini-parser.y:39: token_cache.h:39: field `phplval' has incomplete type In file included from php.h:424, from ini-parser.y:39: constants.h:8: field `value' has incomplete type constants.h:35: parse error before `*' constants.h:36: parse error before `*' In file included from ini-parser.y:42: ../ext/standard/file.h:43: parse error before `*' ../ext/standard/file.h:44: parse error before `*' ../ext/standard/file.h:45: parse error before `*' ../ext/standard/file.h:46: parse error before `*' ../ext/standard/file.h:47: parse error before `*' ../ext/standard/file.h:48: parse error before `*' ../ext/standard/file.h:49: parse error before `*' ../ext/standard/file.h:50: parse error before `*' ../ext/standard/file.h:51: parse error before `*' ../ext/standard/file.h:52: parse error before `*' ../ext/standard/file.h:53: parse error before `*' ../ext/standard/file.h:54: parse error before `*' ../ext/standard/file.h:55: parse error before `*' ../ext/standard/file.h:56: parse error before `*' ../ext/standard/file.h:57: parse error before `*' ../ext/standard/file.h:58: parse error before `*' ../ext/standard/file.h:59: parse error before `*' ../ext/standard/file.h:60: parse error before `*' ../ext/standard/file.h:61: parse error before `*' ../ext/standard/file.h:62: parse error before `*' ../ext/standard/file.h:63: parse error before `*' ../ext/standard/file.h:64: parse error before `*' ../ext/standard/file.h:65: parse error before `*' ../ext/standard/file.h:66: parse error before `*' ../ext/standard/file.h:67: parse error before `*' In file included from ini-parser.y:43: ../ext/standard/php3_browscap.h:40: parse error before `*' ini-parser.y:55: parse error before `configuration_hash' ini-parser.y:55: warning: data definition has no type or storage class ini-parser.y:57: parse error before `browser_hash' ini-parser.y:57: warning: data definition has no type or storage class ini-parser.y:60: parse error before `*' ini-parser.y:60: warning: data definition has no type or storage class ini-parser.y: In function `ini_get_long': ini-parser.y:75: storage size of `var' isn't known ini-parser.y:81: dereferencing pointer to incomplete type ini-parser.y: In function `ini_get_double': ini-parser.y:91: storage size of `var' isn't known ini-parser.y:97: dereferencing pointer to incomplete type ini-parser.y: In function `ini_get_string': ini-parser.y:113: dereferencing pointer to incomplete type ini-parser.y: In function `pvalue_config_destructor': ini-parser.y:126: dereferencing pointer to incomplete type ini-parser.y:126: dereferencing pointer to incomplete type ini-parser.y:127: dereferencing pointer to incomplete type ini-parser.y: In function `pvalue_browscap_destructor': ini-parser.y:134: dereferencing pointer to incomplete type ini-parser.y:134: dereferencing pointer to incomplete type ini-parser.y:135: dereferencing pointer to incomplete type ini-parser.y:136: dereferencing pointer to incomplete type ini-parser.y: In function `php3_init_config': ini-parser.y:210: storage size of `tmp' isn't known ini-parser.y:215: sizeof applied to an incomplete type ini-parser.y: In function `convert_browscap_pattern': ini-parser.y:284: dereferencing pointer to incomplete type ini-parser.y:285: dereferencing pointer to incomplete type ini-parser.y:285: dereferencing pointer to incomplete type ini-parser.y:290: dereferencing pointer to incomplete type ini-parser.y:294: dereferencing pointer to incomplete type ini-parser.y:296: dereferencing pointer to incomplete type ini-parser.y:297: dereferencing pointer to incomplete type ini-parser.y:310: dereferencing pointer to incomplete type ini-parser.y:315: dereferencing pointer to incomplete type ini-parser.y:316: dereferencing pointer to incomplete type ini-parser.y:317: dereferencing pointer to incomplete type /opt/share/bison.simple: In function `iniparse': /opt/share/bison.simple:228: storage size of `yyvsa' isn't known /opt/share/bison.simple:247: storage size of `inilval' isn't known /opt/share/bison.simple:254: storage size of `yyval' isn't known /opt/share/bison.simple:335: dereferencing pointer to incomplete type /opt/share/bison.simple:336: dereferencing pointer to incomplete type /opt/share/bison.simple:344: arithmetic on pointer to an incomplete type /opt/share/bison.simple:344: arithmetic on pointer to an incomplete type /opt/share/bison.simple:457: increment of pointer to unknown structure /opt/share/bison.simple:457: arithmetic on pointer to an incomplete type /opt/share/bison.simple:457: dereferencing pointer to incomplete type /opt/share/bison.simple:479: arithmetic on pointer to an incomplete type /opt/share/bison.simple:479: dereferencing pointer to incomplete type ini-parser.y:343: arithmetic on pointer to an incomplete type ini-parser.y:343: dereferencing pointer to incomplete type ini-parser.y:345: arithmetic on pointer to an incomplete type ini-parser.y:345: dereferencing pointer to incomplete type ini-parser.y:345: arithmetic on pointer to an incomplete type ini-parser.y:345: dereferencing pointer to incomplete type ini-parser.y:345: arithmetic on pointer to an incomplete type ini-parser.y:345: dereferencing pointer to incomplete type ini-parser.y:345: sizeof applied to an incomplete type ini-parser.y:347: arithmetic on pointer to an incomplete type ini-parser.y:347: dereferencing pointer to incomplete type ini-parser.y:347: arithmetic on pointer to an incomplete type ini-parser.y:347: dereferencing pointer to incomplete type ini-parser.y:348: dereferencing pointer to incomplete type ini-parser.y:348: arithmetic on pointer to an incomplete type ini-parser.y:348: dereferencing pointer to incomplete type ini-parser.y:348: arithmetic on pointer to an incomplete type ini-parser.y:348: dereferencing pointer to incomplete type ini-parser.y:348: arithmetic on pointer to an incomplete type ini-parser.y:348: dereferencing pointer to incomplete type ini-parser.y:348: sizeof applied to an incomplete type ini-parser.y:350: arithmetic on pointer to an incomplete type ini-parser.y:350: dereferencing pointer to incomplete type ini-parser.y:352: arithmetic on pointer to an incomplete type ini-parser.y:352: dereferencing pointer to incomplete type ini-parser.y:355: storage size of `dummy' isn't known ini-parser.y:357: arithmetic on pointer to an incomplete type ini-parser.y:357: dereferencing pointer to incomplete type ini-parser.y:364: storage size of `tmp' isn't known ini-parser.y:367: parse error before `)' ini-parser.y:370: arithmetic on pointer to an incomplete type ini-parser.y:370: dereferencing pointer to incomplete type ini-parser.y:370: arithmetic on pointer to an incomplete type ini-parser.y:370: dereferencing pointer to incomplete type ini-parser.y:370: sizeof applied to an incomplete type ini-parser.y:371: arithmetic on pointer to an incomplete type ini-parser.y:371: dereferencing pointer to incomplete type ini-parser.y:371: arithmetic on pointer to an incomplete type ini-parser.y:371: dereferencing pointer to incomplete type ini-parser.y:372: arithmetic on pointer to an incomplete type ini-parser.y:372: dereferencing pointer to incomplete type ini-parser.y:375: dereferencing pointer to incomplete type ini-parser.y:375: sizeof applied to an incomplete type ini-parser.y:377: arithmetic on pointer to an incomplete type ini-parser.y:377: dereferencing pointer to incomplete type ini-parser.y:384: arithmetic on pointer to an incomplete type ini-parser.y:384: dereferencing pointer to incomplete type ini-parser.y:385: arithmetic on pointer to an incomplete type ini-parser.y:385: dereferencing pointer to incomplete type ini-parser.y:389: arithmetic on pointer to an incomplete type ini-parser.y:389: dereferencing pointer to incomplete type ini-parser.y:390: arithmetic on pointer to an incomplete type ini-parser.y:390: dereferencing pointer to incomplete type ini-parser.y:391: arithmetic on pointer to an incomplete type ini-parser.y:391: dereferencing pointer to incomplete type /opt/share/bison.simple:499: arithmetic on pointer to an incomplete type /opt/share/bison.simple:516: increment of pointer to unknown structure /opt/share/bison.simple:516: arithmetic on pointer to an incomplete type /opt/share/bison.simple:516: dereferencing pointer to incomplete type /opt/share/bison.simple:639: decrement of pointer to unknown structure /opt/share/bison.simple:639: arithmetic on pointer to an incomplete type /opt/share/bison.simple:685: increment of pointer to unknown structure /opt/share/bison.simple:685: arithmetic on pointer to an incomplete type /opt/share/bison.simple:685: dereferencing pointer to incomplete type ini-parser.y: At top level: ini-parser.y:66: storage size of `inilval' isn't known make[2]: *** [ini-parser.o] Error 1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1957) next »