php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22678 Failed to compile
Submitted: 2003-03-13 09:03 UTC Modified: 2003-03-13 11:28 UTC
From: sploscaru at yahoo dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.3.1 OS: RedHat 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sploscaru at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-03-13 09:03 UTC] sploscaru at yahoo dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-13 09:06 UTC] sniper@php.net
Remove this: --enable-versioning 

 [2003-03-13 09:08 UTC] sniper@php.net
And why do you have both --with-sybase and --with-sybase-ct???
Use JUST the --with-sybase-ct.

 [2003-03-13 09:13 UTC] sploscaru at yahoo dot com
OK.
Let me try...
 [2003-03-13 09:24 UTC] sploscaru at yahoo dot com
I'm very very happy!
Works.

Thanks Sniper!
 [2003-03-13 11:28 UTC] sniper@php.net
Good to hear. I added a test in the configure to prevent
this happening from now on.

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 11 08:01:23 2021 UTC