rigonijunior / php-snappy Goto Github PK
View Code? Open in Web Editor NEWphp-snappy
License: BSD 3-Clause "New" or "Revised" License
php-snappy
License: BSD 3-Clause "New" or "Revised" License
Description ----------- This extension provide API for communicating with snappy. Resources --------- * [snappy] (http://code.google.com/p/snappy/)
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 [email protected]
on 27 Jul 2013 at 5:49
Function synopsis
snappy_compress — Compress a string
string snappy_compress ( string $data )
snappy_uncompress — Uncompress a compressed string
string snappy_unserialize ( string $data )<==== wrong
this Line is wrong.should be
string snappy_uncompress ( string $data )
Original issue reported on code.google.com by esr2587758
on 5 Sep 2011 at 9:47
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.