#30631 [Opn->Csd]: /usr/libexec/elf/ld: Warning: size of symbol `strxmov' changed from 52 to 42

From: Date: Sun, 31 Oct 2004 19:33:54 +0000
Subject: #30631 [Opn->Csd]: /usr/libexec/elf/ld: Warning: size of symbol `strxmov' changed from 52 to 42
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68526@lists.php.net to get a copy of this message
ID: 30631 User updated by: mailbox at 2fresh dot ru Reported By: mailbox at 2fresh dot ru -Status: Open +Status: Closed Bug Type: Compile Warning Operating System: * PHP Version: 5.0.2 Assigned To: georg New Comment: ok! big thnx! Previous Comments: ------------------------------------------------------------------------ [2004-10-31 20:25:19] helly@php.net No you didn't read what i wrote. ext/mysql links to the normal mysqlclient lib. By specifying --with-embedded-mysqli extension mysqli links to mysqld lib. And those two cannot be linked into one target. That means you can have ext/mysql, ext/mysqli, ext/pdo_mysql and ext/pdo_mysqli (once it's ready) as long as you do not use embedded version of mysql. If you do you can still use ext/mysqli and ext/pdo_mysqli (once it's ready). ------------------------------------------------------------------------ [2004-10-31 20:14:20] mailbox at 2fresh dot ru ok. 5.0.2 is not friends with mysql MySQL 4.1.7? ------------------------------------------------------------------------ [2004-10-31 20:07:38] helly@php.net That's because ext/mysql links to a different version of the mysql client. ------------------------------------------------------------------------ [2004-10-31 19:47:20] mailbox at 2fresh dot ru hmm..., without --enable-embedded-mysqli everything is ok. ------------------------------------------------------------------------ [2004-10-31 19:02:54] mailbox at 2fresh dot ru Description: ------------ compile PHP5.0.2 + MySQL 4.1.7-standard -bash-2.05b$ ./configure --prefix=/home/u12613/usr/local/ --with-zlib --with-mysql=/home/u12613/usr/local --with-mysql-sock=/home/u12613/tmp --with-mysqli=/home/u12613/usr/local/bin/mysql_config --enable-embedded-mysqli configure ok make errors: Reproduce code: --------------- ... /home/u12613/usr/local/lib/libmysqlclient.a(strmake.o)(.text+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `strmake' changed from 49 to 48 in /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o) /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o): In function `strnmov': libmystrings_strings-x86.o(.text+0x1a6): multiple definition of `strnmov' /home/u12613/usr/local/lib/libmysqlclient.a(strnmov.o)(.text+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `strnmov' changed from 46 to 32 in /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o) /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o): In function `strmov': libmystrings_strings-x86.o(.text+0x1c6): multiple definition of `strmov' /home/u12613/usr/local/lib/libmysqlclient.a(strmov.o)(.text+0x0): first defined here /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o): In function `strxmov': libmystrings_strings-x86.o(.text+0x1e1): multiple definition of `strxmov' /home/u12613/usr/local/lib/libmysqlclient.a(strxmov.o)(.text+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `strxmov' changed from 52 to 42 in /home/u12613/usr/local/lib/libmysqld.a(libmystrings_strings-x86.o) *** Error code 1 Actual result: -------------- whats problem? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30631&edit=1

« previous php.bugs (#68526) next »