1

SCA_SDO 拡張機能をビルドしようとしていますが、makeコマンドを実行すると次のエラーが発生します。

make
/bin/sh /home/Alison/Downloads/SCA_SDO-1.2.4/libtool --mode=compile g++ -I/home/Alison/Downloads/SCA_SDO-1.2.4 -I. -I/home/Alison/Downloads/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/home/Alison/Downloads/SCA_SDO-1.2.4/include -I/home/Alison/Downloads/SCA_SDO-1.2.4/main -I/home/Alison/Downloads/SCA_SDO-1.2.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp -o sdo.lo 
libtool: compile:  g++ -I/home/Alison/Downloads/SCA_SDO-1.2.4 -I. -I/home/Alison/Downloads/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/home/Alison/Downloads/SCA_SDO-1.2.4/include -I/home/Alison/Downloads/SCA_SDO-1.2.4/main -I/home/Alison/Downloads/SCA_SDO-1.2.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp  -fPIC -DPIC -o .libs/sdo.o
In file included from /home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:42:0:
/home/Alison/Downloads/SCA_SDO-1.2.4/php_sdo_int.h:128:20: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:80:8: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:86:8: error: conflicting specifiers in declaration of 'arginfo___get'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:90:8: error: conflicting specifiers in declaration of 'arginfo___set'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:95:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:103:8: error: conflicting specifiers in declaration of 'arginfo_sdo_dataobject_createdataobject'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:107:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:119:8: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_getproperty'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:123:8: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_move'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:128:8: error: conflicting specifiers in declaration of 'arginfo_sdo_sequence_insert'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:134:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:144:8: error: conflicting specifiers in declaration of 'arginfo_sdo_list_insert'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:149:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:158:8: error: conflicting specifiers in declaration of 'arginfo_sdo_datafactory_create'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:163:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:170:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:177:8: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addType'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:183:8: error: conflicting specifiers in declaration of 'arginfo_sdo_das_datafactory_addPropertyToType'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:192:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:201:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:214:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:225:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:234:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:253:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:263:8: error: conflicting specifiers in declaration of 'arginfo_sdo_model_type_identifier'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:267:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:281:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:298:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:310:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:325:8: error: conflicting specifiers in declaration of 'arginfo_sdo_model_reflectiondataobject_export'
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:330:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:352:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:359:1: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:373:13: error: 'function_entry' does not name a type
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp: In function 'int zm_startup_sdo(int, int)':
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:447:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:450:2: error: 'sdo_propertyaccess_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:454:2: error: 'sdo_dataobject_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:460:2: error: 'sdo_sequence_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:465:2: error: 'sdo_list_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:469:2: error: 'sdo_list_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:473:2: error: 'sdo_list_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:477:2: error: 'sdo_datafactory_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:481:2: error: 'sdo_das_dataobject_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:486:2: error: 'sdo_das_datafactory_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:491:2: error: 'sdo_das_changesummary_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:495:2: error: 'sdo_das_setting_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:499:2: error: 'sdo_list_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:503:2: error: 'sdo_model_type_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:507:2: error: 'sdo_model_property_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:511:5: error: 'sdo_das_df_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:515:5: error: 'sdo_dataobjectimpl_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:519:5: error: 'sdo_sequenceimpl_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:523:5: error: 'sdo_model_typeimpl_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:527:5: error: 'sdo_model_propertyimpl_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:531:5: error: 'sdo_model_reflectiondataobject_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:535:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:539:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:544:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:549:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:554:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:559:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:564:5: error: 'sdo_exception_methods' was not declared in this scope
/home/Alison/Downloads/SCA_SDO-1.2.4/sdo.cpp:569:5: error: 'sdo_cppexception_methods' was not declared in this scope
make: *** [sdo.lo] Error 1

私だけではないようです: https://bugs.php.net/bug.php?id=58951

それを修正する方法についてのアイデアはありますか?

4

2 に答える 2

1

私は現在これと同じ問題を抱えており、ビルドファイルをハッキングする以外に修正する方法を見つけることができません.

CentOS 6.3、PHP5.3 を使用しており、UPS Quantum View プロジェクトのテストを行おうとしています。

この問題への言及がいたるところにあるため、この問題は実際には解決されていないように思えます。

私が見つけた唯一の解決策は、拡張機能をまったく使用せず、代わりにより一般的な XML ビルダーを使用することだと思います。

何か役に立つものを見つけたら、ここで更新します。

[編集] OK、私はこれに出くわしました: https://groups.google.com/forum/#!topic/phpsoa/HQVxiBmsFv0

于 2012-08-23T20:49:15.760 に答える
0

私は何か他のものをビルドしようとして同様の問題を抱えていましたが、関連するヘッダー ファイルの 1 つの変更されたバージョンを使用していたことが判明しました。ビルドしているプログラムが必要なヘッダーの特定のバージョンまたはソース (おそらく README) を指定しているかどうかを確認し、指定されたファイルの正確なコピーを取得して、それらがビルド時に使用されたものであることを確認します。 (多くの場合、それらをソース ツリーのルート ディレクトリにコピーするだけで十分です)。

于 2014-05-02T18:18:34.647 に答える