php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67280 Memcache not compiling for Windows x64
Submitted: 2014-05-14 16:55 UTC Modified: 2014-07-01 16:39 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jfha73 at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.5.12 OS: Windows x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jfha73 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-05-14 16:55 UTC] jfha73 at gmail dot com
Description:
------------
I'm trying to compile memcache for PHP 5.5 x64 and I'm getting this error:

   Creating library x64\Release_TS\php_memcache.lib and object x64\Release_TS\ph
p_memcache.exp
memcache.obj : error LNK2019: unresolved external symbol __imp_php_session_regis
ter_module referenced in function _zval_copy_ctor
memcache_pool.obj : error LNK2019: unresolved external symbol compress reference
d in function mmc_compress
memcache_pool.obj : error LNK2019: unresolved external symbol uncompress referen
ced in function mmc_unpack_value
memcache_session.obj : error LNK2001: unresolved external symbol php_session_cre
ate_id
x64\Release_TS\php_memcache.dll : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.

Does memcache need something else to compile?

Thanks

Expected result:
----------------
Compile and create DLL file

Actual result:
--------------
error

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-01 16:39 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2014-07-01 16:39 UTC] ab@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

From the error messages you've posted - you have to --enable-session and --enable-zlib.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 06:01:28 2024 UTC