php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58558 Compile error PHP 5.2.8
Submitted: 2009-02-18 12:43 UTC Modified: 2009-02-18 13:12 UTC
From: rogierversluis at xs4all dot nl Assigned:
Status: Not a bug Package: bbcode (PECL)
PHP Version: 5.2.5 OS: CentOS 4
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: rogierversluis at xs4all dot nl
New email:
PHP Version: OS:

 

 [2009-02-18 12:43 UTC] rogierversluis at xs4all dot nl
Description:
------------
Latest version, or CVS cannot be compiled under PHP 5.2.8

make
/bin/sh /root/pecl/bbcode/libtool --mode=compile gcc -I/root/pecl/bbcode/lib -I. -I/root/pecl/bbcode -DPHP_ATOM_INC -I/root/pecl/bbcode/include -I/root/pecl/bbcode/main -I/root/pecl/bbcode -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib  -I/opt/lampp/include/php -DHAVE_CONFIG_H  -g -O2   -c /root/pecl/bbcode/php_bbcode.c -o php_bbcode.lo
mkdir .libs
 gcc -I/root/pecl/bbcode/lib -I. -I/root/pecl/bbcode -DPHP_ATOM_INC -I/root/pecl/bbcode/include -I/root/pecl/bbcode/main -I/root/pecl/bbcode -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -I/opt/lampp/include/php -DHAVE_CONFIG_H -g -O2 -c /root/pecl/bbcode/php_bbcode.c  -fPIC -DPIC -o .libs/php_bbcode.o
/root/pecl/bbcode/php_bbcode.c:25:17: php.h: No such file or directory
/root/pecl/bbcode/php_bbcode.c:26:31: ext/standard/info.h: No such file or directory
In file included from /root/pecl/bbcode/php_bbcode.c:27:
/root/pecl/bbcode/php_bbcode.h:32: error: syntax error before "bbcode_module_entry"
/root/pecl/bbcode/php_bbcode.h:32: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:44: error: syntax error before "zval"
/root/pecl/bbcode/php_bbcode.c: In function `_php_bbcode_callback_handler':
/root/pecl/bbcode/php_bbcode.c:46: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:46: error: (Each undeclared identifier is reported only once
/root/pecl/bbcode/php_bbcode.c:46: error: for each function it appears in.)
/root/pecl/bbcode/php_bbcode.c:46: error: `retval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:47: error: `zargs' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:54: error: `cb_type' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:56: error: `content' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:60: error: `param' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:64: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:65: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:68: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:72: error: `function_table' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:72: error: `func_name' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:72: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:74: error: `SUCCESS' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:76: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:78: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:84: warning: passing arg 2 of `bassignblk' makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:118: error: syntax error before "zval"
/root/pecl/bbcode/php_bbcode.c: In function `_php_bbcode_add_element':
/root/pecl/bbcode/php_bbcode.c:120: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:120: error: `e' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:127: error: `HashTable' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:127: error: `ht' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:135: error: `content_handling' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:136: error: `param_handling' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:138: error: `content' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:138: error: `IS_ARRAY' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:143: error: `SUCCESS' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:144: error: `IS_LONG' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:155: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:161: error: `IS_STRING' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:163: warning: assignment makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:173: warning: assignment makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:183: warning: assignment makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:198: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:219: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:235: warning: assignment makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:243: warning: assignment makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:247: error: `parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:248: error: `tag_name' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:248: error: `tag_name_len' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c: In function `ZEND_RSRC_DTOR_FUNC':
/root/pecl/bbcode/php_bbcode.c:265: error: `rsrc' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c: In function `PHP_MINIT_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:273: error: parameter name omitted
/root/pecl/bbcode/php_bbcode.c:275: error: `php_bbcode_dtor' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:275: error: `module_number' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:278: error: `CONST_CS' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:278: error: `CONST_PERSISTENT' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:317: error: `SUCCESS' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:376: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:376: error: `bbcode_entry' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:379: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:384: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:384: error: initializer element is not constant
/root/pecl/bbcode/php_bbcode.c:384: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:385: error: syntax error before "if"
/root/pecl/bbcode/php_bbcode.c:388: error: syntax error before numeric constant
/root/pecl/bbcode/php_bbcode.c:388: error: conflicting types for 'bbcode_parser_set_flags'
/root/pecl/bbcode/lib/bbcode2.h:303: error: previous declaration of 'bbcode_parser_set_flags' was here
/root/pecl/bbcode/php_bbcode.c:388: error: conflicting types for 'bbcode_parser_set_flags'
/root/pecl/bbcode/lib/bbcode2.h:303: error: previous declaration of 'bbcode_parser_set_flags' was here
/root/pecl/bbcode/php_bbcode.c:388: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:393: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:395: error: syntax error before "if"
/root/pecl/bbcode/php_bbcode.c:399: error: initializer element is not constant
/root/pecl/bbcode/php_bbcode.c:399: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:400: error: syntax error before "if"
/root/pecl/bbcode/php_bbcode.c:402: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:403: error: syntax error before "index"
/root/pecl/bbcode/php_bbcode.c:403: error: 'index' redeclared as different kind of symbol
/root/pecl/bbcode/php_bbcode.c:403: error: 'index' redeclared as different kind of symbol
/root/pecl/bbcode/php_bbcode.c:403: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:404: error: syntax error before "key_len"
/root/pecl/bbcode/php_bbcode.c:404: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:405: error: syntax error before "pos"
/root/pecl/bbcode/php_bbcode.c:405: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:406: error: syntax error before '*' token
/root/pecl/bbcode/php_bbcode.c:406: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:409: error: syntax error before '&' token
/root/pecl/bbcode/php_bbcode.c:409: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:410: error: syntax error before '&' token
/root/pecl/bbcode/php_bbcode.c:434: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:434: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:435: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:441: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:375: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:442: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:442: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:443: error: `bbcode_entry' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:466: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:470: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:470: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:471: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c:471: error: conflicting types for '_php_bbcode_add_element'
/root/pecl/bbcode/php_bbcode.c:119: error: previous definition of '_php_bbcode_add_element' was here
/root/pecl/bbcode/php_bbcode.c:471: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:472: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:473: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:479: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c:479: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:480: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:480: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:482: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:486: error: syntax error before '(' token
/root/pecl/bbcode/php_bbcode.c:493: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:479: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c:493: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:494: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:494: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:501: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:505: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:505: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:508: error: `string' undeclared here (not in a function)
/root/pecl/bbcode/php_bbcode.c:508: error: `str_len' undeclared here (not in a function)
/root/pecl/bbcode/php_bbcode.c:508: error: `ret_size' undeclared here (not in a function)
/root/pecl/bbcode/php_bbcode.c:508: warning: passing arg 1 of `bbcode_parse' makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:508: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:508: error: initializer element is not constant
/root/pecl/bbcode/php_bbcode.c:508: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:510: error: syntax error before numeric constant
/root/pecl/bbcode/php_bbcode.c:510: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:511: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:511: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:512: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:518: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:493: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c:518: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:519: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:519: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:524: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:528: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:528: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:530: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:530: error: conflicting types for 'bbcode_parser_add_smiley'
/root/pecl/bbcode/lib/bbcode2.h:293: error: previous declaration of 'bbcode_parser_add_smiley' was here
/root/pecl/bbcode/php_bbcode.c:530: error: conflicting types for 'bbcode_parser_add_smiley'
/root/pecl/bbcode/lib/bbcode2.h:293: error: previous declaration of 'bbcode_parser_add_smiley' was here
/root/pecl/bbcode/php_bbcode.c:530: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:531: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:531: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:532: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:538: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:518: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c:538: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:539: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:539: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:545: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:549: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:549: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:551: warning: passing arg 1 of `bbcode_parser_get_flags' makes pointer from integer without a cast
/root/pecl/bbcode/php_bbcode.c:551: error: initializer element is not constant
/root/pecl/bbcode/php_bbcode.c:551: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:553: error: syntax error before "switch"
/root/pecl/bbcode/php_bbcode.c:568: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:568: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:569: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:575: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:538: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c:575: error: redefinition of 'PHP_FUNCTION'
/root/pecl/bbcode/php_bbcode.c:441: error: previous definition of 'PHP_FUNCTION' was here
/root/pecl/bbcode/php_bbcode.c: In function `PHP_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:576: error: `zval' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:576: error: `z_bbcode_parser' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:577: error: `z_bbcode_parser_child' undeclared (first use in this function)
/root/pecl/bbcode/php_bbcode.c:581: error: syntax error before "TSRMLS_CC"
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:585: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:585: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:586: error: syntax error before "bbcode_parser_p"
/root/pecl/bbcode/php_bbcode.c:586: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:588: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:588: error: conflicting types for 'bbcode_parser_set_arg_parser'
/root/pecl/bbcode/lib/bbcode2.h:279: error: previous declaration of 'bbcode_parser_set_arg_parser' was here
/root/pecl/bbcode/php_bbcode.c:588: error: conflicting types for 'bbcode_parser_set_arg_parser'
/root/pecl/bbcode/lib/bbcode2.h:279: error: previous declaration of 'bbcode_parser_set_arg_parser' was here
/root/pecl/bbcode/php_bbcode.c:588: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:590: warning: parameter names (without types) in function declaration
/root/pecl/bbcode/php_bbcode.c:590: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:591: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c: In function `PHP_MINFO_FUNCTION':
/root/pecl/bbcode/php_bbcode.c:595: error: parameter name omitted
/root/pecl/bbcode/php_bbcode.c: At top level:
/root/pecl/bbcode/php_bbcode.c:610: error: syntax error before "bbcode_functions"
/root/pecl/bbcode/php_bbcode.c:611: error: `bbcode_create' undeclared here (not in a function)
/root/pecl/bbcode/php_bbcode.c:612: error: initializer element is not constant
/root/pecl/bbcode/php_bbcode.c:612: error: (near initialization for `bbcode_functions[0]')
/root/pecl/bbcode/php_bbcode.c:612: error: syntax error before "PHP_FE"
/root/pecl/bbcode/php_bbcode.c:612: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:612: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:613: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:613: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:614: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:614: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:615: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:615: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:616: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:616: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:617: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:617: error: syntax error before ')' token
/root/pecl/bbcode/php_bbcode.c:618: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:618: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:619: error: syntax error before '}' token
/root/pecl/bbcode/php_bbcode.c:633: error: syntax error before "bbcode_module_entry"
/root/pecl/bbcode/php_bbcode.c:637: warning: initialization makes integer from pointer without a cast
/root/pecl/bbcode/php_bbcode.c:638: warning: excess elements in scalar initializer
/root/pecl/bbcode/php_bbcode.c:638: warning: (near initialization for `bbcode_module_entry')
/root/pecl/bbcode/php_bbcode.c:639: error: syntax error before "bbcode"
/root/pecl/bbcode/php_bbcode.c:640: warning: excess elements in scalar initializer
/root/pecl/bbcode/php_bbcode.c:640: warning: (near initialization for `bbcode_module_entry')
/root/pecl/bbcode/php_bbcode.c:641: warning: excess elements in scalar initializer
/root/pecl/bbcode/php_bbcode.c:641: warning: (near initialization for `bbcode_module_entry')
/root/pecl/bbcode/php_bbcode.c:642: warning: excess elements in scalar initializer
/root/pecl/bbcode/php_bbcode.c:642: warning: (near initialization for `bbcode_module_entry')
/root/pecl/bbcode/php_bbcode.c:643: error: syntax error before "bbcode"
/root/pecl/bbcode/php_bbcode.c:648: error: `STANDARD_MODULE_PROPERTIES' undeclared here (not in a function)
/root/pecl/bbcode/php_bbcode.c:648: warning: excess elements in scalar initializer
/root/pecl/bbcode/php_bbcode.c:648: warning: (near initialization for `bbcode_module_entry')
/root/pecl/bbcode/php_bbcode.c:648: warning: data definition has no type or storage class
/root/pecl/bbcode/php_bbcode.c:651: error: syntax error at end of input
make: *** [php_bbcode.lo] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-18 12:49 UTC] xdecock at gmail dot com
Here comes the first errors:

/root/pecl/bbcode/php_bbcode.c:25:17: php.h: No such file or directory
/root/pecl/bbcode/php_bbcode.c:26:31: ext/standard/info.h: No such file
or directory


You don't have the devellopment headers available in the path

Have you installed php5-dev?
 [2009-02-18 13:12 UTC] rogierversluis at xs4all dot nl
My aplogies, CentOS 4 was only able to install PHP4 devel package, now with PHP5 it compiles fine.

Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC