Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Pierre Joye
I mean to create a config.w32 file, see other extension for some examples. On Sat, Dec 15, 2012 at 1:55 PM, Amir wrote: > I hope you help me to solve this problem. > Exactly I don't underestand what should I do! > > I have config.w32.h in. ..main/ folder. so, what you mean? > > > On Sat, Dec 15,

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Amir
I hope you help me to solve this problem. Exactly I don't underestand what should I do! I have config.w32.h in. ..main/ folder. so, what you mean? On Sat, Dec 15, 2012 at 4:15 PM, Pierre Joye wrote: > Yes,use config.w32 only to avoid wasting time :) > On Dec 15, 2012 1:43 PM, "Amir" wrote: >

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Pierre Joye
Yes,use config.w32 only to avoid wasting time :) On Dec 15, 2012 1:43 PM, "Amir" wrote: > Not sure what you do in your code but this is typically the error > while trying to link/build TS objects while working with a NTS > configuration. > > I just going do build NTS object (zts=0) > anything els

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Amir
Not sure what you do in your code but this is typically the error while trying to link/build TS objects while working with a NTS configuration. I just going do build NTS object (zts=0) anything else i have to do for NST? On Sat, Dec 15, 2012 at 1:33 PM, Pierre Joye wrote: > hi, > > On Sat, Dec

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Amir
Here is my source code: /***worked on php 5.3/ #define PHP_COMPILER_ID "VC9" #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "php_ini.h" ZEND_FUNCTION(my_function); PHP_FUNCTION(ig_reverseString); PHP_FUNCTION(ig_parseString)

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Pierre Joye
hi, On Sat, Dec 15, 2012 at 10:51 AM, Amir wrote: > I did it but have error still > note: I compile none thread safe and got error when using some user function > in my c++ code. Not sure what you do in your code but this is typically the error while trying to link/build TS objects while workin

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Amir
I did it but have error still note: I compile none thread safe and got error when using some user function in my c++ code. On Sat, Dec 15, 2012 at 1:02 PM, Pierre Joye wrote: > hi, > > nmake clean > configure > make > > You are building it again while having configured&built for another m

Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Pierre Joye
hi, nmake clean configure make You are building it again while having configured&built for another mode. On Sat, Dec 15, 2012 at 9:43 AM, Amir wrote: > Hi > > here is my error: > error LNK2001: unresolved external symbol __imp__executor_globals_id > > when I compiling my c++ php extension.

[PHP-DEV] error when compiling php 5.3.x with vc++ 2008

2012-12-15 Thread Amir
Hi here is my error: error LNK2001: unresolved external symbol __imp__executor_globals_id when I compiling my c++ php extension. My setting is: I use php5.lib as additional library my processor: WIN32;NDEBUG;_WINDOWS;_USRDLL;PHP_WIN32;ZEND_WIN32;ZTS=0;ZEND_DEBUG=0 and include directories: C:\p