#35486 [NEW]: multiple definition of `all_args_by_ref`
| From: | jasonlamkk at gmail dot com | Date: | Wed, 30 Nov 2005 12:07:36 +0000 |
| Subject: | #35486 [NEW]: multiple definition of `all_args_by_ref` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-89450@lists.php.net to get a copy of this message | ||
From: jasonlamkk at gmail dot com
Operating system: Redhat
PHP version: 5.1.1
PHP Bug Type: Compile Failure
Bug description: multiple definition of
all_args_by_ref
Description:
------------
there are many "multiple definition" of xxxx occur when i compile
php-5.1.1
most of them related to pdo,
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here
i choose -without-pdo-sqlite and -without-pdo-sqlite2
since they cause samiliar errors,
--enable-pdo=shared cause error too
Thanks and Regards
Reproduce code:
---------------
./configure --with-apxs \
--with-curl=/usr/lib/include/curl \
--with-freetype-dir=/usr/local/lib \
--with-gd \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-java=/usr/java \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/lib,shared \
--with-readline=/usr/lib \
--with-pear \
--with-regex=php \
--with-xml \
--without-pdo-sqlite \
--without-pdo-sqlite2 \
--with-zlib \
--with-zip \
--with-openssl \
make
Expected result:
----------------
complete 'make' as normal
Actual result:
--------------
... -o libphp5.la
Zend/.libs/zend_builtin_functions.o(.data+0x0): In function
`zend_startup_builtin_functions':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:152:
multiple definition of `first_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:79:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x40): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:169:
multiple definition of `second_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x40):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:135:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0xa0): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:177:
multiple definition of `third_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0xa0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:150:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x100): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:203:
multiple definition of `fourth_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x100):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:174:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x178): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:232:
multiple definition of `all_args_by_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
--
Edit bug report at http://bugs.php.net/?id=35486&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35486&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35486&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35486&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35486&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35486&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35486&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35486&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35486&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35486&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35486&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35486&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35486&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35486&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35486&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35486&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35486&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35486&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35486&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35486&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35486&r=mysqlcfg