Giter Site home page Giter Site logo

php-snappy's Introduction

php-snappy's People

Watchers

 avatar

php-snappy's Issues

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

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

The Function synopsis are WRONG!

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.