php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67086 unresolved external symbol _DBG_INFO
Submitted: 2014-04-16 15:42 UTC Modified: 2014-04-17 12:47 UTC
From: rjs at pdflib dot com Assigned: ab (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.6.0beta1 OS: Windows 7
Private report: No CVE-ID: None
 [2014-04-16 15:42 UTC] rjs at pdflib dot com
Description:
------------
After configuring like this:

cscript /nologo configure.js --without-libxml --disable-ipv6 --without-mysqlnd

nmake warns:

ext\mysqlnd\mysqlnd_net.c(932) : warning C4013: 'DBG_INFO' undefined; assuming e
xtern returning int
            

later on the build fails with:

   Creating library Release\php5.lib and object Release\php5.exp
mysqlnd_net.obj : error LNK2019: unresolved external symbol _DBG_INFO referenced
 in function _mysqlnd_set_sock_no_delay
Release\php5.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\cl.exe"' : return code '0x2'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-17 11:16 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2014-04-17 11:16 UTC] ab@php.net
Could you please check with the current 5.6 tree? I cannot reproduce it there.

Also looks strange as in this case it shouldn't even compile that file, not even talking about link. Could it be that you configured/built with mysqlnd enabled first, and then reconfigured disabling mysqlnd? In that case the old object files might stay not refreshed.

Thanks.
 [2014-04-17 11:17 UTC] ab@php.net
-Assigned To: +Assigned To: ab
 [2014-04-17 12:47 UTC] rjs at pdflib dot com
-Status: Feedback +Status: Closed
 [2014-04-17 12:47 UTC] rjs at pdflib dot com
I tried with a fresh 5.6 tree and it works.


Yes I tried a different configure call before doing the final build using --without-mysqlnd. So you are probably right.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC