Re: [PECL-DEV] building php_inclued_dll / unresolved external symbol _executor_globals

[email protected] (Richard Quadling)
Newsgroups php.pecl.dev
Message-ID <[email protected]>
On 11 August 2010 12:55, Neuhauser, Roman (GE Capital, consultant)
<[email protected]> wrote:
> From: Guillaume Rossolini [mailto:[email protected]]
>> On Wed, Aug 11, 2010 at 12:40 PM, <[email protected]> wrote:
>> >     i'm trying to build php_inclued.dll.  i've concocted a config.w32
>> >     file (see below) which allows the extension to build statically,
>> >     but the dll build bombs:
>
>> What OS and compiler settings do you need it for? I managed
>> to compile it for a few versions on Windows but I haven't
>> tried anything yet. I am not ready to disclose the URL
>> publicly (i.e. to an archived mailing list) but I can give it
>> to anyone who asks.
>
> Thanks for the offer, but I'm looking for fishing instructions,
> not fried fish. ;)  Can you share your config.w32 for pecl/inclued?
>
> --
> TIA,
> Roman
>

I've just built win32 x86 nts vc9 build of inclued from
http://svn.php.net/viewvc/pecl/inclued/trunk

I just put the trunk into my K:\php-sdk\php_53dev\vc9\x86\pecl\inclued
directory.

buildconf
Added --enable-inclued=shared to my config.nice.bat
nmake

Done.

Moved the extension to my dev server and added it to my ini file.

php -m shows the module.

php --re inclued

Extension [ <persistent> extension #53 inclued version 0.2.0-dev ] {

  - INI {
    Entry [ inclued.enabled <SYSTEM> ]
      Current = '0'
    }
    Entry [ inclued.dumpdir <SYSTEM> ]
      Current = ''
    }
  }

  - Functions {
    Function [ <internal:inclued> function inclued_get_data ] {
    }
  }
}


But I get no output from even the simplest of tests.



-- 
Richard Quadling.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.