Re: [INTERNALS-WIN] Getting a linker warning about incompatible libraries.

From: Date: Tue, 18 Jan 2011 10:54:40 +0000
Subject: Re: [INTERNALS-WIN] Getting a linker warning about incompatible libraries.
References: 1 2  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-760@lists.php.net to get a copy of this message
On 18 January 2011 10:32, Pierre Joye <pierre.php@gmail.com> wrote: > hi, > > No, as it is often due to some external libraries and have nothing to > do with PHP itself. > > The question is more with which extensions are you this error? > > On Tue, Jan 18, 2011 at 11:24 AM, Richard Quadling <rquadling@gmail.com> wrote: > >> I wonder if configure should be setting LD_FLAGS in the Makefile to >> /NODEFAULTLIB:LIBCMT for --disable-zts automatically. >> >> It is done for the php5.dll (PHP_LDFLAGS), but not for any of the >> extension dll files. > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | > http://www.libgd.org > Looking at http://rmtools.php.net/snaps/5.3-nts-windows-vc9-x86/logs/r307551/compile.txt and doing a search on "libcmt" shows the following entries ... Creating library D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_gd2.lib and object D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_gd2.exp LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library Creating library D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_gmp.lib and object D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_gmp.exp LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library Creating library D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_ldap.lib and object D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_ldap.exp LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library Creating library D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_tidy.lib and object D:\temp\obj\5.3-nts-windows-vc9-x86\Release_TS\php_tidy.exp LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library So, the same as I'm getting. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.internals.win (#760) next »