From: [EMAIL PROTECTED] Operating system: Red Hat Linux 7.2 PHP version: 4.2.1 PHP Bug Type: Compile Warning Bug description: When i try to compile with sybase-ct support i several warning regarding size
i configure with the following line: ./configure --with-pgsql=shared --with-ldap=shared --with-xml=shared --enable-force-cgi-redirect --disable-short-tags --enable-url-includes --with-ssl --enable-ftp --enable-trans-sid --enable-track-vars --enable-calendar --with-config-path=/etc --with-apxs=/usr/sbin/apxs -without-mssql -with-sybase=/opt/sybase-11.9.2 --with-sybase-ct=/opt/sybase-11.9.2 I'm using sybase Adaptive Server Enterprise 11.9.2, and is installed in /opt/sybase-11.9.2 when i compite with make it give me this problem home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `_clean_invalid_results': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:100: multiple definition of `sybase_functions' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:145: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_connect': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:716: multiple definition of `zif_sybase_connect' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:581: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_pconnect': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:725: multiple definition of `zif_sybase_pconnect' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:589: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_close': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:735: multiple definition of `zif_sybase_close' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:597: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_close' changed from 187 to 250 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_select_db': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:851: multiple definition of `zif_sybase_select_db' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:632: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_select_db' changed from 286 to 327 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_query': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1060: multiple definition of `zif_sybase_query' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:765: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_query' changed from 1430 to 1030 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_free_result': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1271: multiple definition of `zif_sybase_free_result' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:910: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_free_result' changed from 174 to 163 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_get_last_message': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1295: multiple definition of `zif_sybase_get_last_message' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:939: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_num_rows': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1303: multiple definition of `zif_sybase_num_rows' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:947: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_num_rows' changed from 153 to 121 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_num_fields': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1322: multiple definition of `zif_sybase_num_fields' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:973: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_num_fields' changed from 153 to 121 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_fetch_row': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1341: multiple definition of `zif_sybase_fetch_row' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:999: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_row' changed from 243 to 306 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_fetch_array': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1422: multiple definition of `zif_sybase_fetch_array' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1085: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_fetch_object': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1411: multiple definition of `zif_sybase_fetch_object' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1072: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_object' changed from 68 to 69 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_data_seek': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1430: multiple definition of `zif_sybase_data_seek' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1093: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_data_seek' changed from 204 to 185 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_fetch_field': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1499: multiple definition of `zif_sybase_fetch_field' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1172: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_field' changed from 454 to 430 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_field_seek': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1552: multiple definition of `zif_sybase_field_seek' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1231: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_field_seek' changed from 204 to 185 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_result': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1580: multiple definition of `zif_sybase_result' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1265: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_result' changed from 435 to 395 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zif_sybase_affected_rows': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1633: multiple definition of `zif_sybase_affected_rows' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1325: first defined here /usr/bin/ld: Warning: size of symbol `zif_sybase_affected_rows' changed from 201 to 169 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `_close_sybase_link': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:161: multiple definition of `sybase_module_entry' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:197: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zm_startup_sybase': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:330: multiple definition of `zm_startup_sybase' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:238: first defined here /usr/bin/ld: Warning: size of symbol `zm_startup_sybase' changed from 477 to 145 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zm_shutdown_sybase': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:356: multiple definition of `zm_shutdown_sybase' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:290: first defined here /usr/bin/ld: Warning: size of symbol `zm_shutdown_sybase' changed from 29 to 35 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zm_activate_sybase': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:345: multiple definition of `zm_activate_sybase' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:279: first defined here /usr/bin/ld: Warning: size of symbol `zm_activate_sybase' changed from 87 to 75 in php_sybase_ct.lo /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zm_deactivate_sybase': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:367: multiple definition of `zm_deactivate_sybase' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:296: first defined here /home/jruiz/php-4.2.1/ext/sybase_ct/.libs/libsybase_ct.al(php_sybase_ct.lo): In function `zm_info_sybase': /home/jruiz/php-4.2.1/ext/sybase_ct/php_sybase_ct.c:1662: multiple definition of `zm_info_sybase' /home/jruiz/php-4.2.1/ext/sybase/.libs/libsybase.al(php_sybase_db.lo):/home/jruiz/php-4.2.1/ext/sybase/php_sybase_db.c:1372: first defined here /usr/bin/ld: Warning: size of symbol `zm_info_sybase' changed from 335 to 176 in php_sybase_ct.lo collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/home/jruiz/php-4.2.1' make: *** [all-recursive] Error 1 -- Edit bug report at http://bugs.php.net/?id=17365&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17365&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17365&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17365&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17365&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17365&r=support Expected behavior: http://bugs.php.net/fix.php?id=17365&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17365&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17365&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17365&r=globals