Debugging .. make: *** [sdo.lo] Error 1

389 views
Skip to first unread message

dl

unread,
Jul 30, 2012, 5:39:33 AM7/30/12
to php...@googlegroups.com
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.

dl

unread,
Jul 30, 2012, 8:32:54 AM7/30/12
to php...@googlegroups.com
I've been doing more reading ..

http://www.mail-archive.com/php...@googlegroups.com/msg00813.html

It appears that the SCA_SDO extension does not compile in PHP 5.3.

Is this SCA_SDO project no longer supported?

dl

unread,
Jul 30, 2012, 1:35:31 PM7/30/12
to php...@googlegroups.com


I've now used the SDO fork here for PHP 5.3

https://github.com/CloCkWeRX/sdo

which compiles to completion without errors.

Thanks to CloCkWeRX.

CloCkWeRX

unread,
Jul 30, 2012, 6:10:12 PM7/30/12
to php...@googlegroups.com
fair to say that it is IBM Abandonware.

original authors mia. beware, just because it compiles doesnt mean too much, its likely to have misc segfaults and the like

dl

unread,
Jul 31, 2012, 4:35:49 AM7/31/12
to php...@googlegroups.com
Thanks for the warning CloCkWerk .. just as I was about to start trying it out.

There is another framework I've just found .. WSO2 web services framework

http://wso2.com/products/web-services-framework/php/

Would that be more reliable?


Daniel O'Connor

unread,
Jul 31, 2012, 4:47:22 AM7/31/12
to php...@googlegroups.com

I have had mixed experiences with it. There are occasional segfaults and the company isn't too responsive, even to support enquires and enterprise agreements.

Bit saddening. Would suggest java proxies and restful services on the php side if you need to so this sort if thing

--
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/-/OcyWspC_IwYJ.
To post to this group, send email to php...@googlegroups.com.
To unsubscribe from this group, send email to phpsoa+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

Thiago Dias Fascin

unread,
Jul 31, 2012, 7:03:00 AM7/31/12
to php...@googlegroups.com
If you want to stay with PHP, try to use the Zend Framework Auto Discover.

Daniel O'Connor

unread,
Jul 31, 2012, 8:04:01 AM7/31/12
to php...@googlegroups.com

Does it enable doc literal archives on the php side?
That was my main draw to these two other solutions

Thiago Dias Fascin

unread,
Jul 31, 2012, 8:24:36 AM7/31/12
to php...@googlegroups.com
Yes it does, but does not implement all XSD patterns. But you can develop your own wsdl strategy like: Zend_Soap_Wsdl_Strategy_DefaultComplexType
Reply all
Reply to author
Forward
0 new messages