From:             sploscaru at yahoo dot com
Operating system: RedHat 8.0
PHP version:      4.3.1
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  Failed to compile

Hi!

I'm Sorin and I need your help...

I tryed in RH 72, 73, 80 to recompile php 4.2.0,..., 4.3.0, 4.3.1 in
different combination but doesn't work:

My apache is 2.0.44(./configure --prefix=/usr --enable-layout=RedHat
--enable-so --enable-ssl --enable-deflate --with-mpm=perchild 
--enable-proxy=shared --enable-cgi=shared --enable-mods-shared=all)

Without sybase support work fine... :)
Sorry, i have sybase 11.9.2.

# ./configure --with-apxs2 --with-mysql --with-postgres --enable-bcmath
--with-mhash --with-libmcrypt --enable-versioning --with-sybase
--with-sybase-ct 

My logs are
....a lot of rows....

t -lresolv -lm -ldl -lnsl -lcrypt  -o libphp4.la
ext/sybase_ct/php_sybase_ct.lo: In function `_clean_invalid_results':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:109: multiple definition
of `sybase_functions'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:145:
first defined here
/usr/bin/ld: Warning: size of symbol `sybase_functions' changed from 468
to 564 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_connect':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:762: multiple definition
of `zif_sybase_connect'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:584:
first defined here
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_pconnect':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:771: multiple definition
of `zif_sybase_pconnect'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:592:
first defined here
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_close':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:781: multiple definition
of `zif_sybase_close'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:600:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_close' changed from 222
to 307 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_select_db':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:897: multiple definition
of `zif_sybase_select_db'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:635:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_select_db' changed from
318 to 346 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_query':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1475: multiple definition
of `zif_sybase_query'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:772:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_query' changed from 1357
to 30 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_free_result':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1491: multiple definition
of `zif_sybase_free_result'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:917:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_free_result' changed from
188 to 220 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function
`zif_sybase_get_last_message':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1522: multiple definition
of `zif_sybase_get_last_message'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:946:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_get_last_message' changed
from 72 to 83 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_num_rows':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1530: multiple definition
of `zif_sybase_num_rows'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:954:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_num_rows' changed from
167 to 128 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_num_fields':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1549: multiple definition
of `zif_sybase_num_fields'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:980:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_num_fields' changed from
167 to 128 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_fetch_row':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1568: multiple definition
of `zif_sybase_fetch_row'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1006:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_row' changed from
243 to 328 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_fetch_array':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1703: multiple definition
of `zif_sybase_fetch_array'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1092:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_array' changed from
9 to 30 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_fetch_object':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1660: multiple definition
of `zif_sybase_fetch_object'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1079:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_object' changed
from 79 to 434 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_data_seek':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1719: multiple definition
of `zif_sybase_data_seek'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1100:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_data_seek' changed from
211 to 237 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_fetch_field':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1794: multiple definition
of `zif_sybase_fetch_field'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1179:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_fetch_field' changed from
540 to 492 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_field_seek':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1847: multiple definition
of `zif_sybase_field_seek'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1238:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_field_seek' changed from
211 to 236 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_result':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1880: multiple definition
of `zif_sybase_result'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1272:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_result' changed from 445
to 526 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zif_sybase_affected_rows':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1939: multiple definition
of `zif_sybase_affected_rows'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1332:
first defined here
/usr/bin/ld: Warning: size of symbol `zif_sybase_affected_rows' changed
from 210 to 187 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `_close_sybase_link':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:173: multiple definition
of `sybase_module_entry'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:195:
first defined here
ext/sybase_ct/php_sybase_ct.lo: In function `zm_startup_sybase':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:371: multiple definition
of `zm_startup_sybase'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:238:
first defined here
/usr/bin/ld: Warning: size of symbol `zm_startup_sybase' changed from 534
to 162 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zm_shutdown_sybase':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:397: multiple definition
of `zm_shutdown_sybase'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.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 37 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zm_activate_sybase':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:386: multiple definition
of `zm_activate_sybase'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.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 99 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zm_deactivate_sybase':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:408: multiple definition
of `zm_deactivate_sybase'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:296:
first defined here
/usr/bin/ld: Warning: size of symbol `zm_deactivate_sybase' changed from
75 to 140 in ext/sybase_ct/php_sybase_ct.lo
ext/sybase_ct/php_sybase_ct.lo: In function `zm_info_sybase':
/src/gnu/php-4.3.1/ext/sybase_ct/php_sybase_ct.c:1968: multiple definition
of `zm_info_sybase'
ext/sybase/php_sybase_db.lo:/src/gnu/php-4.3.1/ext/sybase/php_sybase_db.c:1379:
first defined here
/usr/bin/ld: Warning: size of symbol `zm_info_sybase' changed from 353 to
337 in ext/sybase_ct/php_sybase_ct.lo
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

Thanks,

sosso
-- 
Edit bug report at http://bugs.php.net/?id=22678&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22678&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22678&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22678&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22678&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22678&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22678&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22678&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22678&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22678&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22678&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22678&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22678&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22678&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22678&r=gnused

Reply via email to