|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesFix (last revision 2018-11-18 01:06 UTC by )Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-11-18 03:03 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2018-11-18 03:03 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 20:00:02 2026 UTC |
Description: ------------ I would like to request fix for this error: phar.obj : error LNK2005: _tsrm_strtok_r already defined in tsrm_strtok_r.obj phar.obj : error LNK2005: _tsrm_strtok_r already defined in tsrm_strtok_r.obj Release_TS\php5ts.dll : fatal error LNK1169: one or more multiply defined symbol s found Test script: --------------- My Compile Command: configure --enable-zlib=shared --enable-fileinfo=shared --enable-intl=shared --enable-mbstring=shared --enable-mbregex=shared --enable-shmop=shared --enable-sockets=shared --enable-exif=shared --enable-pdo=shared --enable-phar-native-ssl=shared --enable-soap=shared --with-analyzer=shared --with-aolserver=shared --with-bz2=shared --with-curl=shared --with-dba=shared --with-enchant=shared --with-gettext=shared --with-gmp=shared --with-mhash=shared --with-imap=shared --with-interbase=shared --with-ldap=shared --with-libmbfl=shared --with-mcrypt=shared --with-mssql=shared --with-dblib=shared --with-odbcver=shared --with-openssl=shared --with-pgsql=shared --with-pspell=shared --with-snmp=shared --with-sqlite3=shared --with-sybase-ct=shared --with-tidy=shared --with-mysql=shared --with-mysqli=shared --with-pdo-dblib=shared --with-pdo-mssql=shared --with-pdo-firebird=shared --with-pdo-mysql=shared --with-pdo-odbc=shared --with-pdo-pgsql=shared --with-pdo-sqlite=shared --with-pdo-sqlite-external=shared --with-xmlrpc=shared --with-xsl=shared Expected result: ---------------- Without error in the compile command and generate correctly the build Actual result: -------------- Error: Microsoft (R) Windows (R) Resource Compiler Version 6.2.9200.16384 Copyright (C) Microsoft Corporation. All rights reserved. 1 file(s) copied. phar.obj : error LNK2005: _tsrm_strtok_r already defined in tsrm_strtok_r.obj libiconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp Generating code Finished generating code phar.obj : error LNK2005: _tsrm_strtok_r already defined in tsrm_strtok_r.obj php_xmlreader.obj : warning LNK4049: locally defined symbol _php_dom_create_obje ct imported php_xmlreader.obj : warning LNK4049: locally defined symbol _dom_node_class_entr y imported Release_TS\php5ts.dll : fatal error LNK1169: one or more multiply defined symbol s found NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\cl.exe"' : return code '0x2' Stop. c:\Coded\PHP-SDK\phpdev\vc11\x64\php-src-php-5.6.38>