Edit report at https://bugs.php.net/bug.php?id=63964&edit=1

 ID:                 63964
 Comment by:         hufeng1987 at gmail dot com
 Reported by:        hufeng1987 at gmail dot com
 Summary:            PHP 5.4.10 build with clang 3.2 failed
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   CentOS 5.8
 PHP Version:        5.4.10
 Block user comment: N
 Private report:     N

 New Comment:

./configure --enable-inline-optimization  --enable-mbstring --with-mysql --with-
zlib --with-pdo-pgsql --with-bz2 --enable-zip --enable-fpm --with-mcrypt 
--with-gd 
--with-openssl --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pcre-dir --
with-curl --with-pear --with-freetype-dir=/usr/lib --without-pdo-sqlite 
--without-
sqlite3


Previous Comments:
------------------------------------------------------------------------
[2013-01-11 07:38:21] hufeng1987 at gmail dot com

Description:
------------
when i try to build PHP 5.4.10 using clang 3.2 , i got failed in the compile 
progress.

Actual result:
--------------
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x240): multiple 
definition of `strtod'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x0): first 
defined here
sapi/cli/php_cli_server.o: In function `strtof':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x2d0): multiple 
definition of `strtof'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x90): 
first 
defined here
sapi/cli/php_cli_server.o: In function `strtol':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x270): multiple 
definition of `strtol'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x30): 
first 
defined here
sapi/cli/php_cli_server.o: In function `strtold':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x300): multiple 
definition of `strtold'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0xc0): 
first 
defined here
sapi/cli/php_cli_server.o: In function `strtoll':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x390): multiple 
definition of `strtoll'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x150): 
first defined here
sapi/cli/php_cli_server.o: In function `strtoq':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x330): multiple 
definition of `strtoq'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0xf0): 
first 
defined here
sapi/cli/php_cli_server.o: In function `strtoul':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x2a0): multiple 
definition of `strtoul'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x60): 
first 
defined here
sapi/cli/php_cli_server.o: In function `strtoull':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x3c0): multiple 
definition of `strtoull'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x180): 
first defined here
sapi/cli/php_cli_server.o: In function `strtouq':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x360): multiple 
definition of `strtouq'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x120): 
first defined here
sapi/cli/php_cli_server.o: In function `tolower':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x910): multiple 
definition of `tolower'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x810): 
first defined here
sapi/cli/php_cli_server.o: In function `toupper':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x940): multiple 
definition of `toupper'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x840): 
first defined here
sapi/cli/php_cli_server.o: In function `vprintf':
/usr/data/php-5.4.10/sapi/cli/php_cli_server.c:(.text+0x0): multiple definition 
of `vprintf'
ext/date/php_date.o:/usr/data/php-5.4.10/ext/date/php_date.c:(.text+0x620): 
first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/cli/php] Error 1



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63964&edit=1

Reply via email to