*make: *** [sdo.lo] Error 1 in compiling S * This is my first time posting in this forum. I am trying to install SCA_SDO-1.2.4 in ubuntu / PHP5 .. just to experiment with PHP web services.
I've been looking for a precompiled extension sdo.so to add to PHP5 extensions but it seems it has to be built. Following instructions here .. http://php.net/manual/en/sdo.installation.php I navigated to SCA_SDO-1.2.24 placed here .. /usr/share/php/SCA_SDO-1.2.4 and I read INSTALL to follow these steps cd /path/to/SCA_SDO-1.2.4 phpize ./configure make make install but I prefixed commands with gksu to have root permissions cd /usr/share/php/SCA_SDO-1.2.4 gksu phpize gksu ./configure gksu make The phize and ./configure steps seemed to progress o.k. with no errors but lots of errors were seen at this "make" step =============================== ubuntu@ubuntu:/usr/share/php/SCA_SDO-1.2.4$ gksu make /bin/bash /usr/share/php/SCA_SDO-1.2.4/libtool --mode=compile g++ -I/usr/share/php/SCA_SDO-1.2.4 -I. -I/usr/share/php/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/usr/share/php/SCA_SDO-1.2.4/include -I/usr/share/php/SCA_SDO-1.2.4/main -I/usr/share/php/SCA_SDO-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /usr/share/php/SCA_SDO-1.2.4/sdo.cpp -o sdo.lo libtool: compile: g++ -I/usr/share/php/SCA_SDO-1.2.4 -I. -I/usr/share/php/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/usr/share/php/SCA_SDO-1.2.4/include -I/usr/share/php/SCA_SDO-1.2.4/main -I/usr/share/php/SCA_SDO-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /usr/share/php/SCA_SDO-1.2.4/sdo.cpp -fPIC -DPIC -o .libs/sdo.o /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:80: error: conflicting specifiers in declaration of ‘arginfo_sdo_dataobject’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:86: error: conflicting specifiers in declaration of ‘arginfo___get’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:90: error: conflicting specifiers in declaration of ‘arginfo___set’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:96: error: ‘arginfo___get’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:96: error: ‘arginfo___get’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:97: error: ‘arginfo___set’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:97: error: ‘arginfo___set’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:99: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:99: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:103: error: conflicting specifiers in declaration of ‘arginfo_sdo_dataobject_createdataobject’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:111: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:111: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:115: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:119: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_getproperty’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:123: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_move’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:128: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_insert’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:135: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:135: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:136: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:136: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:137: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:137: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:144: error: conflicting specifiers in declaration of ‘arginfo_sdo_list_insert’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:151: error: ‘arginfo_sdo_list_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:151: error: ‘arginfo_sdo_list_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:154: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:158: error: conflicting specifiers in declaration of ‘arginfo_sdo_datafactory_create’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:164: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:164: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:166: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:177: error: conflicting specifiers in declaration of ‘arginfo_sdo_das_datafactory_addType’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:183: error: conflicting specifiers in declaration of ‘arginfo_sdo_das_datafactory_addPropertyToType’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:194: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:194: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:195: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:195: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:197: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:197: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:206: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:206: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:207: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:207: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:208: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:208: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:226: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:226: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:227: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:227: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:228: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:228: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:236: error: ‘arginfo___get’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:236: error: ‘arginfo___get’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:237: error: ‘arginfo___set’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:237: error: ‘arginfo___set’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:243: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:243: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:254: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:254: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:255: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:255: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:256: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:256: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:263: error: conflicting specifiers in declaration of ‘arginfo_sdo_model_type_identifier’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:270: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:270: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:272: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:272: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:279: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:279: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:285: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:285: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:287: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:287: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:294: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:294: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:325: error: conflicting specifiers in declaration of ‘arginfo_sdo_model_reflectiondataobject_export’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:331: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:331: error: ‘arginfo_sdo_dataobject’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:340: error: ‘arginfo_sdo_model_reflectiondataobject_export’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:340: error: ‘arginfo_sdo_model_reflectiondataobject_export’ was not declared in this scope /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:348: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:348: error: too many initializers for ‘zend_function_entry’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:411: warning: deprecated conversion from string constant to ‘char*’ /usr/share/php/SCA_SDO-1.2.4/sdo.cpp: In function ‘int zm_startup_sdo(int, int)’: /usr/share/php/SCA_SDO-1.2.4/sdo.cpp:447: warning: deprecated conversion from string constant to ‘char*’ make: *** [sdo.lo] Error 1 =============================== Can someone point me to what is wrong in above "make"? Is there some library dependency I've missed? And is there no precompiled sdo.so available in SCA_SDO-1.2.4 archive? Thanks. -- You received this message because you are subscribed to the Google Groups "phpsoa" group. To view this discussion on the web visit https://groups.google.com/d/msg/phpsoa/-/sRiuOi_k4wwJ. To post to this group, send email to phpsoa@googlegroups.com. To unsubscribe from this group, send email to phpsoa+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.