rigonijunior / php-snappy

php-snappy
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Trying to compile PHP_Snappy for PHP5.5 using VC11 on windows #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ello,

I am trying to compile PHP_Snappy 0.0.2 based on Snappy 1.1.0 for PHP5.5 using 
VC11 on windows 7. I followed the procedure for compling PHP5.5 on windows as 
follows

1.  buildconf 
2.  configure --with-mp=2 --enable-cli-win32 --disable-all 
--enable-snappy=shared
3.  nmake

I get this message :
   Creating library Release_TS\php_snappy.lib and object Release_TS\php_snappy.exp
snappy.lib(snappy.o) : error LNK2001: unresolved external symbol 
___gxx_personality_v0
snappy.lib(snappy.o) : error LNK2019: unresolved external symbol __Znaj 
referenced in function __ZN6snappy8internal13WorkingMemory12GetHashTableEjPi
snappy.lib(snappy.o) : error LNK2019: unresolved external symbol __Unwind_Resume
 referenced in function __ZN6snappyL18InternalUncompressINS_17SnappyArrayWriterEEEbPNS_6SourceEPT_j.constprop.18
snappy.lib(snappy.o) : error LNK2019: unresolved external symbol __ZdaPv 
referenced in function __ZN6snappy8CompressEPNS_6SourceEPNS_4SinkE
snappy.lib(snappy.o) : error LNK2019: unresolved external symbol _ZNSs6resizeEj
c referenced in function __ZN6snappy10UncompressEPKcjPSs
snappy.lib(snappy.o) : error LNK2019: unresolved external symbol __ZNSs12_M_leak
_hardEv referenced in function __ZN6snappy10UncompressEPKcjPSs
snappy.lib(snappy-sinksource.o) : error LNK2001: unresolved external symbol 
__ZTVN10__cxxabiv117__class_type_infoE
snappy.lib(snappy-sinksource.o) : error LNK2001: unresolved external symbol 
__ZTVN10__cxxabiv120__si_class_type_infoE
snappy.lib(snappy-sinksource.o) : error LNK2019: unresolved external symbol 
__ZdlPv referenced in function __ZN6snappy6SourceD0Ev
snappy.lib(snappy-sinksource.o) : error LNK2001: unresolved external symbol 
___cxa_pure_virtual
Release_TS\php_snappy.dll : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BI
N\cl.exe"' : return code '0x2'

what are the possible solutions for this problem ?

Thank you for your cooperation.

Original issue reported on code.google.com by alhabsh...@gmail.com on 27 Jul 2013 at 5:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This project has https://github.com/kjdev/php-ext-snappy.

Added the source code of Snappy.

I have not tested because there is no VC11 environment.
Please check.

Original comment by avue...@gmail.com on 29 Jul 2013 at 4:26