|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-10-10 16:15 UTC] stylemongo at stylemogo dot de
Description: ------------ i try to do a make of rar-0.2 but i got following errors: /root/rar-0.2/php_rar.h:53: error: redefinition of `int PHP_FUNCTION' /root/rar-0.2/php_rar.h:52: error: `int PHP_FUNCTION' previously defined here /root/rar-0.2/php_rar.h:54: error: `rar_close' was not declared in this scope /root/rar-0.2/php_rar.h:54: error: ISO C++ forbids declaration of `PHP_FUNCTION ' with no type /root/rar-0.2/php_rar.h:54: error: redefinition of `int PHP_FUNCTION' /root/rar-0.2/php_rar.h:53: error: `int PHP_FUNCTION' previously defined here /root/rar-0.2/php_rar.h:56: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:56: error: `extract' was not declared in this scope /root/rar-0.2/php_rar.h:56: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:56: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:57: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:57: error: `getName' was not declared in this scope /root/rar-0.2/php_rar.h:57: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:57: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:56: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:57: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:58: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:58: error: `getUnpackedSize' was not declared in this scope /root/rar-0.2/php_rar.h:58: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:58: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:57: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:58: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:59: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:59: error: `getPackedSize' was not declared in this scope /root/rar-0.2/php_rar.h:59: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:59: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:58: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:59: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:60: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:60: error: `getHostOs' was not declared in this scope /root/rar-0.2/php_rar.h:60: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:60: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:59: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:60: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:61: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:61: error: `getFileTime' was not declared in this scope /root/rar-0.2/php_rar.h:61: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:61: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:60: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:61: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:62: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:62: error: `getCrc' was not declared in this scope /root/rar-0.2/php_rar.h:62: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:62: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:61: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:62: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:63: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:63: error: `getAttr' was not declared in this scope /root/rar-0.2/php_rar.h:63: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:63: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:62: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:63: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:64: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:64: error: `getVersion' was not declared in this scope /root/rar-0.2/php_rar.h:64: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:64: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:63: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:64: error: initializer list being treated as compound expression /root/rar-0.2/php_rar.h:65: error: `rarentry' was not declared in this scope /root/rar-0.2/php_rar.h:65: error: `getMethod' was not declared in this scope /root/rar-0.2/php_rar.h:65: error: ISO C++ forbids declaration of `PHP_METHOD' with no type /root/rar-0.2/php_rar.h:65: error: redefinition of `int PHP_METHOD' /root/rar-0.2/php_rar.h:64: error: `int PHP_METHOD' previously defined here /root/rar-0.2/php_rar.h:65: error: initializer list being treated as compound expression /root/rar-0.2/rar.cpp:46: error: syntax error before `*' token /root/rar-0.2/rar.cpp:51: error: syntax error before `[' token /root/rar-0.2/rar.cpp:59: error: syntax error before `[' token /root/rar-0.2/rar.cpp:76: error: syntax error before `=' token /root/rar-0.2/rar.cpp:95: error: `zend_rsrc_list_entry' was not declared in this scope /root/rar-0.2/rar.cpp:95: error: `TSRMLS_DC' was not declared in this scope /root/rar-0.2/rar.cpp:95: error: variable or field `_rar_file_list_dtor' declared void /root/rar-0.2/rar.cpp:99: error: type specifier omitted for parameter `zval' /root/rar-0.2/rar.cpp:99: error: syntax error before `*' token /root/rar-0.2/rar.cpp:100: error: syntax error before `*' token /root/rar-0.2/rar.cpp:105: error: `zend_rsrc_list_entry' was not declared in this scope /root/rar-0.2/rar.cpp:105: error: `rsrc' was not declared in this scope /root/rar-0.2/rar.cpp:105: error: syntax error before `)' token /root/rar-0.2/rar.cpp: In function `void _rar_file_list_dtor(...)': /root/rar-0.2/rar.cpp:106: error: `void _rar_file_list_dtor(...)' redeclared as different kind of symbol /root/rar-0.2/rar.cpp:95: error: previous declaration of `int _rar_file_list_dtor' /root/rar-0.2/rar.cpp:95: error: previous non-function declaration `int _rar_file_list_dtor' /root/rar-0.2/rar.cpp:106: error: conflicts with function declaration `void _rar_file_list_dtor(...)' /root/rar-0.2/rar.cpp:107: error: `rsrc' undeclared (first use this function) /root/rar-0.2/rar.cpp:107: error: (Each undeclared identifier is reported only once for each function it appears in.) /root/rar-0.2/rar.cpp:113: error: `efree' undeclared (first use this function) /root/rar-0.2/rar.cpp: At global scope: /root/rar-0.2/rar.cpp:130: error: `zval' was not declared in this scope /root/rar-0.2/rar.cpp:130: error: `zval_file' was not declared in this scope /root/rar-0.2/rar.cpp:130: error: syntax error before `*' token /root/rar-0.2/rar.cpp: In function `int _rar_get_file_resource(...)': /root/rar-0.2/rar.cpp:132: error: `rar_file' undeclared (first use this function) /root/rar-0.2/rar.cpp:132: error: `zval_file' undeclared (first use this function) /root/rar-0.2/rar.cpp:132: error: syntax error before `,' token /root/rar-0.2/rar.cpp:137: error: syntax error before `,' token /root/rar-0.2/rar.cpp: At global scope: /root/rar-0.2/rar.cpp:142: error: syntax error before `)' token /root/rar-0.2/rar.cpp: In function `int _rar_list_files(...)': /root/rar-0.2/rar.cpp:147: error: syntax error before `->' token /root/rar-0.2/rar.cpp:148: error: syntax error before `->' token /root/rar-0.2/rar.cpp:150: error: syntax error before `->' token /root/rar-0.2/rar.cpp:151: error: syntax error before `->' token /root/rar-0.2/rar.cpp:154: error: syntax error before `->' token /root/rar-0.2/rar.cpp:155: error: syntax error before `->' token /root/rar-0.2/rar.cpp: At global scope: /root/rar-0.2/rar.cpp:159: error: syntax error before `return' /root/rar-0.2/rar.cpp:163: error: syntax error before `)' token /root/rar-0.2/rar.cpp: In function `int _rar_handle_error(...)': /root/rar-0.2/rar.cpp:165: error: `errcode' undeclared (first use this function) /root/rar-0.2/rar.cpp:168: error: `SUCCESS' undeclared (first use this function) /root/rar-0.2/rar.cpp:175: error: syntax error before `,' token /root/rar-0.2/rar.cpp:178: error: syntax error before `,' token /root/rar-0.2/rar.cpp:181: error: syntax error before `,' token /root/rar-0.2/rar.cpp:184: error: syntax error before `,' token /root/rar-0.2/rar.cpp:187: error: syntax error before `,' token /root/rar-0.2/rar.cpp:190: error: syntax error before `,' token /root/rar-0.2/rar.cpp:193: error: syntax error before `,' token /root/rar-0.2/rar.cpp:196: error: syntax error before `,' token /root/rar-0.2/rar.cpp:199: error: syntax error before `,' token /root/rar-0.2/rar.cpp:202: error: syntax error before `,' token /root/rar-0.2/rar.cpp:205: error: syntax error before `,' token /root/rar-0.2/rar.cpp:208: error: syntax error before `,' token /root/rar-0.2/rar.cpp:211: error: `FAILURE' undeclared (first use this function) /root/rar-0.2/rar.cpp: At global scope: /root/rar-0.2/rar.cpp:229: error: type specifier omitted for parameter `zval' /root/rar-0.2/rar.cpp:229: error: syntax error before `*' token /root/rar-0.2/rar.cpp: In function `void _rar_entry_to_zval(...)': /root/rar-0.2/rar.cpp:231: error: `MAX_LENGTH_OF_LONG' undeclared (first use this function) /root/rar-0.2/rar.cpp:234: error: `object' undeclared (first use this function) /root/rar-0.2/rar.cpp:234: error: `entry' undeclared (first use this function) /root/rar-0.2/rar.cpp:234: error: `add_property_string' undeclared (first use this function) /root/rar-0.2/rar.cpp:235: error: `add_property_long' undeclared (first use this function) /root/rar-0.2/rar.cpp:242: error: `tmp_s' undeclared (first use this function) /root/rar-0.2/rar.cpp: At global scope: /root/rar-0.2/rar.cpp:251: error: syntax error before `*' token /root/rar-0.2/rar.cpp:268: error: ISO C++ forbids declaration of ` ZEND_GET_MODULE' with no type /root/rar-0.2/rar.cpp: In function `int ZEND_GET_MODULE(rar)': /root/rar-0.2/rar.cpp:268: error: syntax error before `}' token /root/rar-0.2/rar.cpp:274: error: ISO C++ forbids declaration of ` PHP_MINIT_FUNCTION' with no type /root/rar-0.2/rar.cpp: In function `int PHP_MINIT_FUNCTION(rar)': /root/rar-0.2/rar.cpp:274: error: `int PHP_MINIT_FUNCTION(rar)' redeclared as different kind of symbol /root/rar-0.2/php_rar.h:45: error: previous declaration of `int PHP_MINIT_FUNCTION' /root/rar-0.2/php_rar.h:45: error: previous non-function declaration `int PHP_MINIT_FUNCTION' /root/rar-0.2/rar.cpp:274: error: conflicts with function declaration `int PHP_MINIT_FUNCTION(rar)' /root/rar-0.2/rar.cpp:275: error: `zend_class_entry' undeclared (first use this function) /root/rar-0.2/rar.cpp:275: error: syntax error before `;' token /root/rar-0.2/rar.cpp:276: error: `rar_class_entry' undeclared (first use this function) /root/rar-0.2/rar.cpp:276: error: `php_rar_class_functions' undeclared (first use this function) /root/rar-0.2/rar.cpp:276: error: `INIT_CLASS_ENTRY' undeclared (first use this function) /root/rar-0.2/rar.cpp:277: error: `rar_class_entry_ptr' undeclared (first use this function) /root/rar-0.2/rar.cpp:277: error: syntax error before `)' token /root/rar-0.2/rar.cpp:279: error: `module_number' undeclared (first use this function) /root/rar-0.2/rar.cpp:279: error: `zend_register_list_destructors_ex' undeclared (first use this function) /root/rar-0.2/rar.cpp:281: error: `CONST_CS' undeclared (first use this function) /root/rar-0.2/rar.cpp:281: error: `CONST_PERSISTENT' undeclared (first use this function) /root/rar-0.2/rar.cpp:281: error: `REGISTER_LONG_CONSTANT' undeclared (first use this function) /root/rar-0.2/rar.cpp:294: error: ISO C++ forbids declaration of ` PHP_MSHUTDOWN_FUNCTION' with no type /root/rar-0.2/rar.cpp: In function `int PHP_MSHUTDOWN_FUNCTION(rar)': /root/rar-0.2/rar.cpp:294: error: `int PHP_MSHUTDOWN_FUNCTION(rar)' redeclared as different kind of symbol /root/rar-0.2/php_rar.h:46: error: previous declaration of `int PHP_MSHUTDOWN_FUNCTION' /root/rar-0.2/php_rar.h:46: error: previous non-function declaration `int PHP_MSHUTDOWN_FUNCTION' /root/rar-0.2/rar.cpp:294: error: conflicts with function declaration `int PHP_MSHUTDOWN_FUNCTION(rar)' /root/rar-0.2/rar.cpp:302: error: ISO C++ forbids declaration of ` PHP_RINIT_FUNCTION' with no type /root/rar-0.2/rar.cpp: In function `int PHP_RINIT_FUNCTION(rar)': /root/rar-0.2/rar.cpp:302: error: `int PHP_RINIT_FUNCTION(rar)' redeclared as different kind of symbol /root/rar-0.2/php_rar.h:47: error: previous declaration of `int PHP_RINIT_FUNCTION' /root/rar-0.2/php_rar.h:47: error: previous non-function declaration `int PHP_RINIT_FUNCTION' /root/rar-0.2/rar.cpp:302: error: conflicts with function declaration `int PHP_RINIT_FUNCTION(rar)' /root/rar-0.2/rar.cpp:310: error: ISO C++ forbids declaration of ` PHP_RSHUTDOWN_FUNCTION' with no type /root/rar-0.2/rar.cpp: In function `int PHP_RSHUTDOWN_FUNCTION(rar)': /root/rar-0.2/rar.cpp:310: error: `int PHP_RSHUTDOWN_FUNCTION(rar)' redeclared as different kind of symbol /root/rar-0.2/php_rar.h:48: error: previous declaration of `int PHP_RSHUTDOWN_FUNCTION' /root/rar-0.2/php_rar.h:48: error: previous non-function declaration `int PHP_RSHUTDOWN_FUNCTION' /root/rar-0.2/rar.cpp:310: error: conflicts with function declaration `int PHP_RSHUTDOWN_FUNCTION(rar)' /root/rar-0.2/rar.cpp:318: error: ISO C++ forbids declaration of ` PHP_MINFO_FUNCTION' with no type /root/rar-0.2/rar.cpp: In function `int PHP_MINFO_FUNCTION(rar)': /root/rar-0.2/rar.cpp:318: error: `int PHP_MINFO_FUNCTION(rar)' redeclared as different kind of symbol /root/rar-0.2/php_rar.h:49: error: previous declaration of `int PHP_MINFO_FUNCTION' /root/rar-0.2/php_rar.h:49: error: previous non-function declaration `int PHP_MINFO_FUNCTION' /root/rar-0.2/rar.cpp:318: error: conflicts with function declaration `int PHP_MINFO_FUNCTION(rar)' /root/rar-0.2/rar.cpp:319: error: `php_info_print_table_start' undeclared (first use this function) /root/rar-0.2/rar.cpp:320: error: `php_info_print_table_header' undeclared (first use this function) /root/rar-0.2/rar.cpp:321: error: `php_info_print_table_row' undeclared (first use this function) /root/rar-0.2/rar.cpp:322: error: `php_info_print_table_end' undeclared (first use this function) /root/rar-0.2/rar.cpp:330: error: `rar_open' undeclared (first use this function) /root/rar-0.2/rar.cpp:331: error: ISO C++ forbids declaration of `PHP_FUNCTION' with no type /root/rar-0.2/rar.cpp:331: error: redefinition of `int PHP_FUNCTION' /root/rar-0.2/php_rar.h:54: error: `int PHP_FUNCTION' previously defined here /root/rar-0.2/rar.cpp:331: confused by earlier errors, bailing out make: *** [rar.lo] Error 1 my php configure line: ../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib' '--includedir=/usr/include' '--with-_lib=lib' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--with-pxs2=/usr/sbin/apxs2' '--disable-all' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Mar 12 15:00:01 2026 UTC |
freebsd 6.0 rar-0.1 or rar-0.2 make install /bin/sh /usr/ports/myserver/rar-0.1/libtool --mode=compile g++ -I/usr/ports/myserver/rar-0.1/unrar -I. -I/usr/ports/myserver/rar-0.1 -DPHP_ATOM_INC -I/usr/ports/myserver/rar-0.1/include -I/usr/ports/myserver/rar-0.1/main -I/usr/ports/myserver/rar-0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -c /usr/ports/myserver/rar-0.1/rar.cpp -o rar.lo g++ -I/usr/ports/myserver/rar-0.1/unrar -I. -I/usr/ports/myserver/rar-0.1 -DPHP_ATOM_INC -I/usr/ports/myserver/rar-0.1/include -I/usr/ports/myserver/rar-0.1/main -I/usr/ports/myserver/rar-0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -c /usr/ports/myserver/rar-0.1/rar.cpp -fPIC -DPIC -o rar.lo In file included from /usr/ports/myserver/rar-0.1/rar.cpp:41: /usr/ports/myserver/rar-0.1/php_rar.h:56: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:56: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:57: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:57: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:58: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:58: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:59: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:59: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:60: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:60: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:61: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:61: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:62: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:62: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:63: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:63: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:64: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:64: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:65: error: expected constructor, destructor, or type conversion before '(' token /usr/ports/myserver/rar-0.1/php_rar.h:65: error: expected `,' or `;' before '(' token /usr/ports/myserver/rar-0.1/rar.cpp:62: error: `rarentry' was not declared in this scope /usr/ports/myserver/rar-0.1/rar.cpp:62: error: `extract' was not declared in this scope /usr/ports/myserver/rar-0.1/rar.cpp:62: error: `PHP_ME' was not declared in this scope /usr/ports/myserver/rar-0.1/rar.cpp:63: error: expected `}' before "PHP_ME" /usr/ports/myserver/rar-0.1/rar.cpp:63: error: expected `,' or `;' before "PHP_ME" /usr/ports/myserver/rar-0.1/rar.cpp:73: error: expected declaration before '}' token /usr/ports/myserver/rar-0.1/rar.cpp:39:1: unterminated #if *** Error code 1 Stop in /usr/ports/myserver/rar-0.1.Again (FreeBSD 4.9, PHP 4.4.2, rar-0.2.0 or 0.3.0) # make /bin/sh /usr/local/src/rar-0.3.0/libtool --mode=compile g++ -DRARDLL -DGUI -DSILENT -I/usr/local/src/rar-0.3.0/unrar -I. -I/usr/local/src/rar-0.3.0 -DPHP_ATOM_INC -I/usr/local/src/rar-0.3.0/include -I/usr/local/src/rar-0.3.0/main -I/usr/local/src/rar-0.3.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -c /usr/local/src/rar-0.3.0/rar.cpp -o rar.lo g++ -DRARDLL -DGUI -DSILENT -I/usr/local/src/rar-0.3.0/unrar -I. -I/usr/local/src/rar-0.3.0 -DPHP_ATOM_INC -I/usr/local/src/rar-0.3.0/include -I/usr/local/src/rar-0.3.0/main -I/usr/local/src/rar-0.3.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -c /usr/local/src/rar-0.3.0/rar.cpp -fPIC -DPIC -o rar.lo /usr/local/src/rar-0.3.0/rar.cpp:390: `rarentry' was not declared in this scope /usr/local/src/rar-0.3.0/rar.cpp:390: `extract' was not declared in this scope /usr/local/src/rar-0.3.0/rar.cpp:391: ANSI C++ forbids declaration `PHP_METHOD' with no type /usr/local/src/rar-0.3.0/rar.cpp:391: initializer list being treated as compound expression /usr/local/src/rar-0.3.0/rar.cpp:391: syntax error before `{' /usr/local/src/rar-0.3.0/rar.cpp:395: `ht' was not declared in this scope /usr/local/src/rar-0.3.0/rar.cpp:396: `this_ptr' was not declared in this scope /usr/local/src/rar-0.3.0/rar.cpp:400: syntax error before `if' *** Error code 1 Stop in /usr/local/src/rar-0.3.0.